Re: [PATCH net-next v6 11/16] net: dsa: tag_sja1105: refactor skb->dev assignment to dsa_tag_8021q_find_user()

From: Florian Fainelli
Date: Wed Mar 06 2024 - 18:13:05 EST


On 3/1/24 14:16, Pawel Dembicki wrote:
From: Vladimir Oltean <vladimir.oltean@xxxxxxx>

A new tagging protocol implementation based on tag_8021q is on the
horizon, and it appears that it also has to open-code the complicated
logic of finding a source port based on a VLAN header.

Create a single dsa_tag_8021q_find_user() and make sja1105 call it.

Signed-off-by: Vladimir Oltean <vladimir.oltean@xxxxxxx>
Signed-off-by: Pawel Dembicki <paweldembicki@xxxxxxxxx>

Reviewed-by: Florian Fainelli <florian.fainelli@xxxxxxxxxxxx>
--
Florian