]> www.infradead.org Git - users/jedix/linux-maple.git/commit
net: dsa: tag_sja1105: prefer precise source port info on SJA1110 too
authorVladimir Oltean <vladimir.oltean@nxp.com>
Sat, 13 Jul 2024 21:16:11 +0000 (23:16 +0200)
committerJakub Kicinski <kuba@kernel.org>
Mon, 15 Jul 2024 13:55:15 +0000 (06:55 -0700)
commit823e5cc141c6408b470b8302dd8b5082636fbfaf
tree65353c9a44115a2ce25f49da622dc0d3bdf713ae
parent0064b863abdc7bd5e209cdbce7619464069458fe
net: dsa: tag_sja1105: prefer precise source port info on SJA1110 too

Now that dsa_8021q_rcv() handles better the case where we don't
overwrite the precise source information if it comes from an external
(non-tag_8021q) source, we can now unify the call sequence between
sja1105_rcv() and sja1110_rcv().

This is a preparatory change for creating a higher-level wrapper for the
entire sequence which will live in tag_8021q.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>
Reviewed-by: Vladimir Oltean <olteanv@gmail.com>
Link: https://patch.msgid.link/20240713211620.1125910-6-paweldembicki@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/dsa/tag_sja1105.c