Re: [PATCH v3 net-next] net: ethernet: mtk_ppe_offload: Allow QinQ
From: Jakub Kicinski
Date: Tue Feb 11 2025 - 19:51:38 EST
On Sun, 9 Feb 2025 12:09:36 +0100 Eric Woudstra wrote:
> This patch adds QinQ support to mtk_flow_offload_replace().
>
> Only PPPoE-in-Q (as before) and Q-in-Q are allowed. A combination
> of PPPoE and Q-in-Q is not allowed.
AFAIU the standard asks for outer tag in Q-in-Q to be ETH_P_8021AD,
but you still check:
> act->vlan.proto != htons(ETH_P_8021Q))
> return -EOPNOTSUPP;
If this is a HW limitation I think you should document that more
clearly in the commit message. If you can fix it, I think you should..
--
pw-bot: cr