diff options
author | 2024-07-13 23:16:12 +0200 | |
---|---|---|
committer | 2024-07-15 06:55:15 -0700 | |
commit | d124cf54df6fafa5ab63d3ee40d64bd54487b5cc (patch) | |
tree | a2c8a9e0e1405345e6f555a02955544fb69aa77c /scripts/generate_rust_analyzer.py | |
parent | net: dsa: tag_sja1105: prefer precise source port info on SJA1110 too (diff) | |
download | linux-rng-d124cf54df6fafa5ab63d3ee40d64bd54487b5cc.tar.xz linux-rng-d124cf54df6fafa5ab63d3ee40d64bd54487b5cc.zip |
net: dsa: tag_sja1105: refactor skb->dev assignment to dsa_tag_8021q_find_user()
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@nxp.com>
Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>
Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com>
Link: https://patch.msgid.link/20240713211620.1125910-7-paweldembicki@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions