Skip to content

Commit 5d5adb9

Browse files
Padmanabh Ratnakardavem330
authored andcommitted
be2net: Fix VLAN promiscous mode for Lancer
To enable VLAN promiscous mode, the HW interface should be created with VLAN promiscous capability in Lancer. Add this capability during creation of the HW interface. Signed-off-by: Padmanabh Ratnakar <padmanabh.ratnakar@emulex.com> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent af5875b commit 5d5adb9

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎drivers/net/ethernet/emulex/benet/be_main.c‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2600,7 +2600,8 @@ static int be_setup(struct be_adapter *adapter)
26002600
en_flags = BE_IF_FLAGS_UNTAGGED | BE_IF_FLAGS_BROADCAST |
26012601
BE_IF_FLAGS_MULTICAST | BE_IF_FLAGS_PASS_L3L4_ERRORS;
26022602
cap_flags = en_flags | BE_IF_FLAGS_MCAST_PROMISCUOUS |
2603-
BE_IF_FLAGS_PROMISCUOUS;
2603+
BE_IF_FLAGS_VLAN_PROMISCUOUS | BE_IF_FLAGS_PROMISCUOUS;
2604+
26042605
if (adapter->function_caps & BE_FUNCTION_CAPS_RSS) {
26052606
cap_flags |= BE_IF_FLAGS_RSS;
26062607
en_flags |= BE_IF_FLAGS_RSS;

0 commit comments

Comments
 (0)