Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Jun 2011 14:18:13 -0700
From:      "Vogel, Jack" <jack.vogel@intel.com>
To:        Andrew Boyer <aboyer@averesystems.com>, Igor Anishchuk <igor.anishchuk@gmail.com>
Cc:        "freebsd-net@freebsd.org" <freebsd-net@freebsd.org>
Subject:   RE: ixgbe> vlan addition and removal brings the interfaces down and up
Message-ID:  <1DB50624F8348F48840F2E2CF6040A9D018D603544@orsmsx508.amr.corp.intel.com>
In-Reply-To: <6E5D6CF9-E197-44E8-835A-ABD9F5969DBE@averesystems.com>
References:  <BANLkTinL3pf_irOAc15Ubp%2BGquM5D60d%2Bw@mail.gmail.com> <8F86FFA7-E2D7-40D6-A1B5-DFCFA47EBD75@averesystems.com> <BANLkTimRKLkdqu09efvCczp13Sa43UDFeA@mail.gmail.com> <6E5D6CF9-E197-44E8-835A-ABD9F5969DBE@averesystems.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 :)  Wil=
l let you know.

Jack


-----Original Message-----
From: Andrew Boyer [mailto:aboyer@averesystems.com]=20
Sent: Tuesday, June 28, 2011 1:32 PM
To: Igor Anishchuk; Vogel, Jack
Cc: freebsd-net@freebsd.org
Subject: Re: ixgbe> vlan addition and removal brings the interfaces down an=
d up

Hello Igor,
Sorry for the delay.  I'm a little hesitant to share our ixgbe patch to cha=
nge this behavior because Jack has checked in changes to igb that make me t=
hink that our change is not correct.  Or, at least, that he's probably work=
ing on fixing ixgbe the right way.  Jack, are you planning to copy the reor=
ganization of igb_setup_vlan_hw_support() over to ixgbe_setup_vlan_hw_suppo=
rt?

-Andrew

On Jun 28, 2011, at 4:02 PM, Igor Anishchuk wrote:

> Hi Andrew,
>=20
> could you please share the patch as I'm dying with this problem.
>=20
> 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.
>=20
> -- Igor
>=20
> On Thu, May 19, 2011 at 8:58 PM, Andrew Boyer <aboyer@averesystems.com> w=
rote:
>> I have a patch that will fix this.  Please give me a little while to cle=
an it up, and I will send it out on the list.
>>=20
>> -Andrew
>>=20
>> On May 19, 2011, at 2:58 AM, Igor Anishchuk wrote:
>>=20
>>> Hi All,
>>>=20
>>> 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.
>>>=20
>>> 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.
>>>=20
>>> 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.
>>>=20
>>> 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.
>>>=20
>>> Any help, links, patches are much appreciated.
>>>=20
>>> Regards,
>>>=20
>>> Igor Anishchuk
>>> _______________________________________________
>>> freebsd-net@freebsd.org mailing list
>>> http://lists.freebsd.org/mailman/listinfo/freebsd-net
>>> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"
>>=20
>> --------------------------------------------------
>> Andrew Boyer    aboyer@averesystems.com
>>=20
>>=20
>>=20
>>=20
>>=20

--------------------------------------------------
Andrew Boyer	aboyer@averesystems.com







Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1DB50624F8348F48840F2E2CF6040A9D018D603544>