]> git.baikalelectronics.ru Git - kernel.git/commit
be2net: re-enable vlan filtering mode asap
authorKalesh AP <kalesh.purayil@emulex.com>
Mon, 30 Jun 2014 07:31:33 +0000 (13:01 +0530)
committerDavid S. Miller <davem@davemloft.net>
Thu, 3 Jul 2014 01:40:56 +0000 (18:40 -0700)
commitffbfc03273377de237fdb4dc393a403aa56f1562
treeb681e5092ce68fc3c8cb6ea0f5de61fa218fe7f7
parentbe90c78f7d7338de55eb8f1000ff8f5c954ec352
be2net: re-enable vlan filtering mode asap

While adding vlans, when the HW limit of vlan filters is reached, the
driver enables vlan promiscuous mode.
Similarily, while removing vlans, the driver must re-enable HW filtering
as soon as the number of vlan filters is within the HW limit.

Signed-off-by: Kalesh AP <kalesh.purayil@emulex.com>
Signed-off-by: Sathya Perla <sathya.perla@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/emulex/benet/be_main.c