be2net: fix to limit max vlans supported in certain skews
authorAjit Khaparde <ajitkhaparde@gmail.com>
Tue, 9 Feb 2010 01:34:57 +0000 (01:34 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 12 Feb 2010 20:27:59 +0000 (12:27 -0800)
In certain skews the ASIC can support only 16 vlans per interface.
Once the limit is crossed, the ASIC is programmed in vlan promiscuous mode.
Switch off the vlan promiscuous mode once the number of vlans
falls back to the max vlans supported.

Signed-off-by: Ajit Khaparde <ajitk@serverengines.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found