diff options
| author | 2023-11-21 13:38:42 +0800 | |
|---|---|---|
| committer | 2023-11-22 10:54:14 +0000 | |
| commit | 750011e239a50873251c16207b0fe78eabf8577e (patch) | |
| tree | 94e16234cef54d99ec1193e91b83deec59fe0977 /net/tipc/socket.c | |
| parent | net: hsr: Add support for MC filtering at the slave device (diff) | |
| download | wireguard-linux-750011e239a50873251c16207b0fe78eabf8577e.tar.xz wireguard-linux-750011e239a50873251c16207b0fe78eabf8577e.zip | |
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/tipc/socket.c')
0 files changed, 0 insertions, 0 deletions
