Skip to content
Permalink
Browse files

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 <ravikumar.veeramally@linux.intel.com>
  • Loading branch information...
rveerama1 authored and jukkar committed Apr 12, 2019
1 parent 7fbe087 commit 08d24e428e997e27204a73bdf2fb6313375677a0
Showing with 3 additions and 0 deletions.
  1. +3 −0 include/net/ethernet.h
@@ -120,6 +120,9 @@ enum ethernet_hw_caps {

/** Link Layer Discovery Protocol supported */
ETHERNET_LLDP = BIT(13),

/** VLAN Tag stripping */
ETHERNET_HW_VLAN_TAG_STRIP = BIT(14),
};

/** @cond INTERNAL_HIDDEN */

0 comments on commit 08d24e4

Please sign in to comment.
You can’t perform that action at this time.