mirror_ubuntu-kernels/drivers/net/dsa/sja1105
Vladimir Oltean 99b981f431 net: dsa: sja1105: fix port mirroring for P/Q/R/S
The dynamic configuration interface for the General Params and the L2
Lookup Params tables was copy-pasted between E/T devices and P/Q/R/S
devices. Nonetheless, these interfaces are bitwise different.

The driver is using dynamic reconfiguration of the General Parameters
table for the port mirroring feature, which was therefore broken on
P/Q/R/S.

Note that this patch can't be backported easily very far to stable trees
(since it conflicts with some other development done since the
introduction of the driver). So the Fixes: tag is purely informational.

Fixes: 8aa9ebccae ("net: dsa: Introduce driver for NXP SJA1105 5-port L2 switch")
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-05-30 18:00:36 -07:00
..
Kconfig net: dsa: sja1105: support flow-based redirection via virtual links 2020-05-07 17:31:57 -07:00
Makefile net: dsa: sja1105: support flow-based redirection via virtual links 2020-05-07 17:31:57 -07:00
sja1105_clocking.c net: dsa: sja1105: enable internal pull-down for RX_DV/CRS_DV/RX_CTL and RX_ER 2020-04-20 11:00:27 -07:00
sja1105_dynamic_config.c net: dsa: sja1105: fix port mirroring for P/Q/R/S 2020-05-30 18:00:36 -07:00
sja1105_dynamic_config.h net: dsa: sja1105: Use the correct style for SPDX License Identifier 2019-10-15 20:16:26 -07:00
sja1105_ethtool.c dsa: sja1105: fix semicolon.cocci warnings 2020-05-10 11:05:46 -07:00
sja1105_flower.c net: dsa: sja1105: implement tc-gate using time-triggered virtual links 2020-05-07 17:31:57 -07:00
sja1105_main.c net: dsa: sja1105: avoid invalid state in sja1105_vlan_filtering 2020-05-29 16:49:50 -07:00
sja1105_ptp.c net: dsa: sja1105: the PTP_CLK extts input reacts on both edges 2020-05-06 15:03:14 -07:00
sja1105_ptp.h net: dsa: sja1105: implement tc-gate using time-triggered virtual links 2020-05-07 17:31:57 -07:00
sja1105_sgmii.h net: dsa: sja1105: Add support for the SGMII port 2020-03-20 08:55:21 -07:00
sja1105_spi.c net: dsa: sja1105: offload the Credit-Based Shaper qdisc 2020-05-28 11:01:22 -07:00
sja1105_static_config.c net: dsa: sja1105: fix port mirroring for P/Q/R/S 2020-05-30 18:00:36 -07:00
sja1105_static_config.h net: dsa: sja1105: fix port mirroring for P/Q/R/S 2020-05-30 18:00:36 -07:00
sja1105_tas.c net: dsa: sja1105: implement tc-gate using time-triggered virtual links 2020-05-07 17:31:57 -07:00
sja1105_tas.h net: dsa: sja1105: implement tc-gate using time-triggered virtual links 2020-05-07 17:31:57 -07:00
sja1105_vl.c net: dsa: sja1105: implement a common frame memory partitioning function 2020-05-12 13:08:08 -07:00
sja1105_vl.h net: dsa: sja1105: implement tc-gate using time-triggered virtual links 2020-05-07 17:31:57 -07:00
sja1105.h net: dsa: sja1105: suppress -Wmissing-prototypes in sja1105_static_config.c 2020-05-30 18:00:36 -07:00