aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix
diff options
context:
space:
mode:
authorEric Woudstra <[email protected]>2025-02-25 20:15:09 +0000
committerPaolo Abeni <[email protected]>2025-02-27 13:31:37 +0000
commit7fe0353606d77a32c4c7f2814833dd1c043ebdd2 (patch)
tree938b8c03d774a6516a14d25e66296553b626ebc4 /net/unix
parentMerge branch 'bpf-cpumap-enable-gro-for-xdp_pass-frames' (diff)
downloadkernel-7fe0353606d77a32c4c7f2814833dd1c043ebdd2.tar.gz
kernel-7fe0353606d77a32c4c7f2814833dd1c043ebdd2.zip
net: ethernet: mtk_ppe_offload: Allow QinQ, double ETH_P_8021Q only
mtk_foe_entry_set_vlan() in mtk_ppe.c already supports double vlan tagging, but mtk_flow_offload_replace() in mtk_ppe_offload.c only allows for 1 vlan tag, optionally in combination with pppoe and dsa tags. However, mtk_foe_entry_set_vlan() only allows for setting the vlan id. The protocol cannot be set, it is always ETH_P_8021Q, for inner and outer tag. This patch adds QinQ support to mtk_flow_offload_replace(), only in the case that both inner and outer tags are ETH_P_8021Q. Only PPPoE-in-Q (as before) and Q-in-Q are allowed. A combination of PPPoE and Q-in-Q is not allowed. Signed-off-by: Eric Woudstra <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'net/unix')
0 files changed, 0 insertions, 0 deletions