ixgbe> vlan addition and removal brings the interfaces down and up

Igor Anishchuk igor.anishchuk at gmail.com
Wed Jul 6 15:28:47 UTC 2011


Hi Jack,

many thanks for your work. I'm still interested in hearing back from
you. Is there anything I can do to help?

Also I would not mind losing hardware VLAN assistance should it be the only way.

BTW, what about MAC addresses? Is the card reset when a MAC address changed?

Thanks!

Igor

On Wed, Jun 29, 2011 at 12:18 AM, Vogel, Jack <jack.vogel at intel.com> wrote:
> Hmmm, I'll have to take a look at the code, and if I hadn't done it by now there might be some reason I couldn't, or hell, maybe I just forgot :)  Will let you know.
>
> Jack
>
>
> -----Original Message-----
> From: Andrew Boyer [mailto:aboyer at averesystems.com]
> Sent: Tuesday, June 28, 2011 1:32 PM
> To: Igor Anishchuk; Vogel, Jack
> Cc: freebsd-net at freebsd.org
> Subject: Re: ixgbe> vlan addition and removal brings the interfaces down and up
>
> Hello Igor,
> Sorry for the delay.  I'm a little hesitant to share our ixgbe patch to change this behavior because Jack has checked in changes to igb that make me think that our change is not correct.  Or, at least, that he's probably working on fixing ixgbe the right way.  Jack, are you planning to copy the reorganization of igb_setup_vlan_hw_support() over to ixgbe_setup_vlan_hw_support?
>
> -Andrew
>
> On Jun 28, 2011, at 4:02 PM, Igor Anishchuk wrote:
>
>> Hi Andrew,
>>
>> could you please share the patch as I'm dying with this problem.
>>
>> What makes it worse is that on a busy router the DOWN/UP of the
>> interfaces causes the ixgbe card to lose all network access until the
>> box is rebooted. I can reproduce it easily on a variety of hosts from
>> both HP and Dell. Therefore a patch that would not cause the card to
>> reset would help a lot.
>>
>> -- Igor
>>
>> On Thu, May 19, 2011 at 8:58 PM, Andrew Boyer <aboyer at averesystems.com> wrote:
>>> I have a patch that will fix this.  Please give me a little while to clean it up, and I will send it out on the list.
>>>
>>> -Andrew
>>>
>>> On May 19, 2011, at 2:58 AM, Igor Anishchuk wrote:
>>>
>>>> Hi All,
>>>>
>>>> I've been using Intel E10G42AFDA 10Gbit/s AF DA Dual Port adapters
>>>> with direct attach cables and there is one thing keeps bothering me.
>>>> I've been searching the Internet for any information with no luck. I
>>>> would also assume that the problem is widely known, and I found one
>>>> related PR kern/141285 but that one was closed unsolved.
>>>>
>>>> When a VLAN interface is added or removed to from the ix interfaces
>>>> the parent interface is briefly brought down and up. This event is
>>>> visible for all applications and the switches. With my use case I add
>>>> and remove VLAN interfaces on the fly and the described behavior
>>>> causes undesired effects, especially for BGP daemons that are
>>>> configured to monitor one of permanent VLAN interfaces.
>>>>
>>>> I use FreeBSD 7-STABLE and the behavior is the same with stock
>>>> drivers, with 2.2.3 and with 2.3.8 drivers downloaded from Intel web
>>>> site. I have attempted to disable -vlanhwtag, -vlanhwfilter and
>>>> -vlanhwtso with no effect.
>>>>
>>>> Could someone help me to stop the cards behaving this way? I do not
>>>> mind some performance penalties, nor running in permanent promiscuous
>>>> mode. I just want the card to stay up all the time regardless of the
>>>> vlan interfaces attached to it.
>>>>
>>>> Any help, links, patches are much appreciated.
>>>>
>>>> Regards,
>>>>
>>>> Igor Anishchuk
>>>> _______________________________________________
>>>> freebsd-net at freebsd.org mailing list
>>>> http://lists.freebsd.org/mailman/listinfo/freebsd-net
>>>> To unsubscribe, send any mail to "freebsd-net-unsubscribe at freebsd.org"
>>>
>>> --------------------------------------------------
>>> Andrew Boyer    aboyer at averesystems.com
>>>
>>>
>>>
>>>
>>>
>
> --------------------------------------------------
> Andrew Boyer    aboyer at averesystems.com
>
>
>
>
>


More information about the freebsd-net mailing list