diff options
author | 2019-03-20 00:26:26 -0700 | |
---|---|---|
committer | 2019-03-20 11:12:50 -0700 | |
commit | 1a3ca25062cfff6cf6f60dbaa01edb01f9637f08 (patch) | |
tree | 075caa501251a9754f098c1cce93006f50c157d1 /drivers/net/ethernet/qlogic/qed/qed.h | |
parent | qede: Populate mbi version in ethtool driver query data. (diff) | |
download | wireguard-linux-1a3ca25062cfff6cf6f60dbaa01edb01f9637f08.tar.xz wireguard-linux-1a3ca25062cfff6cf6f60dbaa01edb01f9637f08.zip |
qed: Define new MF bit for no_vlan config
The patch introduces a new Multi-Function bit for cases where firmware
shouldn't perform the insertion of vlan-0 tag. The new bit is defined to
abstract the implementation from the actual MF mode.
Signed-off-by: Sudarsana Reddy Kalluru <skalluru@marvell.com>
Signed-off-by: Ariel Elior <aelior@marvell.com>
Signed-off-by: Michal Kalderon <mkalderon@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/qlogic/qed/qed.h')
-rw-r--r-- | drivers/net/ethernet/qlogic/qed/qed.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/ethernet/qlogic/qed/qed.h b/drivers/net/ethernet/qlogic/qed/qed.h index 43a57ec296fd..512186adab00 100644 --- a/drivers/net/ethernet/qlogic/qed/qed.h +++ b/drivers/net/ethernet/qlogic/qed/qed.h @@ -492,6 +492,9 @@ enum qed_mf_mode_bit { /* Allow DSCP to TC mapping */ QED_MF_DSCP_TO_TC_MAP, + + /* Do not insert a vlan tag with id 0 */ + QED_MF_DONT_ADD_VLAN0_TAG, }; enum qed_ufp_mode { |