aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/test_autoload.c
diff options
context:
space:
mode:
authorGan, Yi Fang <[email protected]>2023-11-21 13:38:42 +0800
committerDavid S. Miller <[email protected]>2023-11-22 10:54:14 +0000
commit750011e239a50873251c16207b0fe78eabf8577e (patch)
tree94e16234cef54d99ec1193e91b83deec59fe0977 /tools/testing/selftests/bpf/progs/test_autoload.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 <[email protected]> Signed-off-by: Gan, Yi Fang <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions