]> git.baikalelectronics.ru Git - kernel.git/commit
be2net: Fix VLAN/multicast packet reception
authorPadmanabh Ratnakar <padmanabh.ratnakar@emulex.com>
Wed, 25 Apr 2012 01:46:06 +0000 (01:46 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 26 Apr 2012 09:03:31 +0000 (05:03 -0400)
commitedc4ff70221981dd5c5608ed25cdb73eb6475078
treedf3e300116074ad8ad7ca89a1a8c1edbeb30e86d
parenta080ccd300254a128d8cebbbf2275dac2857c650
be2net: Fix VLAN/multicast packet reception

VLAN and multicast hardware filters are limited and can get
exhausted in adapters with many PCI functions. If setting
a VLAN or multicast filter fails due to lack of sufficient
hardware resources, these packets get dropped. Fix this by
switching to VLAN or multicast promiscous mode so that these
packets are not dropped.

Signed-off-by: Padmanabh Ratnakar <padmanabh.ratnakar@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/emulex/benet/be_main.c