summaryrefslogtreecommitdiff
path: root/net/core/dev.c
diff options
context:
space:
mode:
authorGan, Yi Fang <yi.fang.gan@intel.com>2023-11-21 13:38:42 +0800
committerDavid S. Miller <davem@davemloft.net>2023-11-22 10:54:14 +0000
commit750011e239a50873251c16207b0fe78eabf8577e (patch)
tree94e16234cef54d99ec1193e91b83deec59fe0977 /net/core/dev.c
parent36b20fcdd9663ced36d3aef96f0eff8eb79de4b8 (diff)
net: stmmac: Add support for HW-accelerated VLAN stripping
Current implementation supports driver level VLAN tag stripping only. The features is always on if CONFIG_VLAN_8021Q is enabled in kernel config and is not user configurable. This patch add support to MAC level VLAN tag stripping and can be configured through ethtool. If the rx-vlan-offload is off, the VLAN tag will be stripped by driver. If the rx-vlan-offload is on, the VLAN tag will be stripped by MAC. Command: ethtool -K <interface> rx-vlan-offload off | on Signed-off-by: Lai Peter Jun Ann <jun.ann.lai@intel.com> Signed-off-by: Gan, Yi Fang <yi.fang.gan@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/dev.c')
0 files changed, 0 insertions, 0 deletions