]> Gentwo Git Trees - linux/.git/commit
net: dsa: tag_trailer: use the dsa_xmit_port_mask() helper
authorVladimir Oltean <vladimir.oltean@nxp.com>
Thu, 27 Nov 2025 12:09:00 +0000 (14:09 +0200)
committerJakub Kicinski <kuba@kernel.org>
Sat, 29 Nov 2025 04:03:41 +0000 (20:03 -0800)
commit3c1975bbdf92c952c8c17ed67aa652adc6b64962
tree1fc65804e4037ea58023d832f7e96bdd57650529
parentb33aa90e68b42fd2c6125c1173449eb8c1c97d2c
net: dsa: tag_trailer: use the dsa_xmit_port_mask() helper

The "trailer" tagging protocol populates a bit mask for the TX ports, so
we can use dsa_xmit_port_mask() to centralize the decision of how to set
that field.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Link: https://patch.msgid.link/20251127120902.292555-14-vladimir.oltean@nxp.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/dsa/tag_trailer.c