be2net: Fix VLAN promiscuous mode programming
authorAjit Khaparde <ajit.khaparde@emulex.com>
Fri, 27 Sep 2013 20:17:58 +0000 (15:17 -0500)
committerDavid S. Miller <davem@davemloft.net>
Fri, 27 Sep 2013 21:11:49 +0000 (17:11 -0400)
commitd9d604f865ea82a6d344871c76f4a01cbb0b2b0f
treebfe8899008ea921231f02b93e44abcc86a3d56b4
parentd44517fde6d0f40c2678ae9540115ec80cc90a46
be2net: Fix VLAN promiscuous mode programming

When the interface runs out of the allocated entries in VLAN table,
we program the interface in VLAN promiscuous mode.
Use OPCODE_COMMON_NTWK_RX_FILTER to set VLAN Promiscuous mode
instead of OPCODE_COMMON_NTWK_VLAN_CONFIG.

Signed-off-by: Ajit Khaparde <ajit.khaparde@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/emulex/benet/be.h
drivers/net/ethernet/emulex/benet/be_cmds.c
drivers/net/ethernet/emulex/benet/be_cmds.h
drivers/net/ethernet/emulex/benet/be_main.c