[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <EA929A9653AAE14F841771FB1DE5A1365FEA26A969@rrsmsx501.amr.corp.intel.com>
Date: Thu, 6 May 2010 18:06:34 -0600
From: "Tantilov, Emil S" <emil.s.tantilov@...el.com>
To: Ben Greear <greearb@...delatech.com>
CC: Arnd Bergmann <arnd@...db.de>, NetDev <netdev@...r.kernel.org>,
Patrick McHardy <kaber@...sh.net>
Subject: RE: ixgbe and mac-vlans problem
Ben Greear wrote:
> On 05/06/2010 10:51 AM, Tantilov, Emil S wrote:
>
>> Hi Ben,
>>
>> We do have a patch in testing (see attached). It may not apply
>> cleanly as it is on top of some other patches currently in
>> validation. Let me know if it works for you.
>
> It wasn't difficult to backport this patch to 2.6.31.12....
>
> I just tested this on an 85998 NIC and 50 MAC-VLANs worked fine.
>
> The NIC doesn't show as PROMISC in any way I can detect, but I guess
> it must actually be in PROMISC mode:
Yes the interface is in promisc mode. The driver sets the FCTRL.UPE bit
(unicast promisc mode) when the number of allowed rar_entries is exceeded.
>
> [root@...1qc-1 ~]# cat /sys/class/net/eth11/flags
> 0x1003
>
> [root@...1qc-1 ~]# ip link show dev eth11
> 2: eth11: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast
> state UP qlen 1000 link/ether 00:e0:ed:11:25:12 brd
> ff:ff:ff:ff:ff:ff
The IFF_PROMISC flag is not set in this case. That's how the driver knows when the promisc mode is turned by the user.
Thanks,
Emil
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists