diff options
author | Ajit Khaparde <ajit.khaparde@emulex.com> | 2013-09-28 00:17:58 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-09-28 01:11:49 +0400 |
commit | d9d604f865ea82a6d344871c76f4a01cbb0b2b0f (patch) | |
tree | bfe8899008ea921231f02b93e44abcc86a3d56b4 /drivers/net/ethernet/emulex/benet/be.h | |
parent | d44517fde6d0f40c2678ae9540115ec80cc90a46 (diff) | |
download | linux-d9d604f865ea82a6d344871c76f4a01cbb0b2b0f.tar.xz |
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>
Diffstat (limited to 'drivers/net/ethernet/emulex/benet/be.h')
-rw-r--r-- | drivers/net/ethernet/emulex/benet/be.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/emulex/benet/be.h b/drivers/net/ethernet/emulex/benet/be.h index ace5050dba38..95d303d2da94 100644 --- a/drivers/net/ethernet/emulex/benet/be.h +++ b/drivers/net/ethernet/emulex/benet/be.h @@ -333,6 +333,7 @@ enum vf_state { #define BE_FLAGS_LINK_STATUS_INIT 1 #define BE_FLAGS_WORKER_SCHEDULED (1 << 3) +#define BE_FLAGS_VLAN_PROMISC (1 << 4) #define BE_FLAGS_NAPI_ENABLED (1 << 9) #define BE_UC_PMAC_COUNT 30 #define BE_VF_UC_PMAC_COUNT 2 |