Skip to content

Commit 08d24e4

Browse files
rveerama1jukkar
authored andcommitted
net: ethernet: Add VLAN tag stripping capability flag
Some ethenet controllers want to strip the VLAN tag from ethernet Rx frames and feed the packet into proper interface queue based on the tag. Add this flag to get_capabilities() to provide VLAN tag stripping feature to the controller. Signed-off-by: Ravi kumar Veeramally <[email protected]>
1 parent 7fbe087 commit 08d24e4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

include/net/ethernet.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,9 @@ enum ethernet_hw_caps {
120120

121121
/** Link Layer Discovery Protocol supported */
122122
ETHERNET_LLDP = BIT(13),
123+
124+
/** VLAN Tag stripping */
125+
ETHERNET_HW_VLAN_TAG_STRIP = BIT(14),
123126
};
124127

125128
/** @cond INTERNAL_HIDDEN */

0 commit comments

Comments
 (0)