]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: tag_8021q: make dsa_8021q_{rx,tx}_vid take dp as argument
authorVladimir Oltean <vladimir.oltean@nxp.com>
Wed, 20 Oct 2021 17:49:55 +0000 (20:49 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 21 Oct 2021 11:44:07 +0000 (12:44 +0100)
commit3c6ea6d66edbab6238278be207e4516d60434dc3
tree167f32ab40c2d7e529b6cd075d6fd2105cb9c4a4
parent56bb1b9979fb310ffcbe671b8bcb8d060cb532da
net: dsa: tag_8021q: make dsa_8021q_{rx,tx}_vid take dp as argument

Pass a single argument to dsa_8021q_rx_vid and dsa_8021q_tx_vid that
contains the necessary information from the two arguments that are
currently provided: the switch and the port number.

Also rename those functions so that they have a dsa_port_* prefix, since
they operate on a struct dsa_port *.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/sja1105/sja1105_vl.c
include/linux/dsa/8021q.h
net/dsa/tag_8021q.c
net/dsa/tag_ocelot_8021q.c
net/dsa/tag_sja1105.c