summaryrefslogtreecommitdiff
path: root/drivers/infiniband/hw/mana/main.c
diff options
context:
space:
mode:
authorEric Woudstra <ericwouds@gmail.com>2025-02-25 21:15:09 +0100
committerPaolo Abeni <pabeni@redhat.com>2025-02-27 14:31:37 +0100
commit7fe0353606d77a32c4c7f2814833dd1c043ebdd2 (patch)
tree938b8c03d774a6516a14d25e66296553b626ebc4 /drivers/infiniband/hw/mana/main.c
parenta0a9d4d2b7f3f5ea84853e658c8c396334654ce7 (diff)
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 <ericwouds@gmail.com> Link: https://patch.msgid.link/20250225201509.20843-1-ericwouds@gmail.com Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'drivers/infiniband/hw/mana/main.c')
0 files changed, 0 insertions, 0 deletions