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)
commit9d4dfe4ae370747bcab66531482013d7ff6857f1
treeb681e5092ce68fc3c8cb6ea0f5de61fa218fe7f7
parentbec84e6b2116b05acf9d1cb3479fc44f0a89236f
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