forked from Minki/linux
bacf93b056
DSA has not supported (and probably will not support in the future either) independent tagging protocols per CPU port. Different switch drivers have different requirements, some may need to replicate some settings for each CPU port, some may need to apply some settings on a single CPU port, while some may have to configure some global settings and then some per-CPU-port settings. In any case, the current model where DSA calls ->change_tag_protocol for each CPU port turns out to be impractical for drivers where there are global things to be done. For example, felix calls dsa_tag_8021q_register(), which makes no sense per CPU port, so it suppresses the second call. Let drivers deal with replication towards all CPU ports, and remove the CPU port argument from the function prototype. Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com> Acked-by: Luiz Angelo Daros de Luca <luizluca@gmail.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org> |
||
---|---|---|
.. | ||
chip.c | ||
chip.h | ||
devlink.c | ||
devlink.h | ||
global1_atu.c | ||
global1_vtu.c | ||
global1.c | ||
global1.h | ||
global2_avb.c | ||
global2_scratch.c | ||
global2.c | ||
global2.h | ||
hwtstamp.c | ||
hwtstamp.h | ||
Kconfig | ||
Makefile | ||
phy.c | ||
phy.h | ||
port_hidden.c | ||
port.c | ||
port.h | ||
ptp.c | ||
ptp.h | ||
serdes.c | ||
serdes.h | ||
smi.c | ||
smi.h |