mirror_ubuntu-kernels/drivers/net/dsa/sja1105
Vladimir Oltean c79e84866d net: dsa: tag_sja1105: convert to tagger-owned data
Currently, struct sja1105_tagger_data is a part of struct
sja1105_private, and is used by the sja1105 driver to populate dp->priv.

With the movement towards tagger-owned storage, the sja1105 driver
should not be the owner of this memory.

This change implements the connection between the sja1105 switch driver
and its tagging protocol, which means that sja1105_tagger_data no longer
stays in dp->priv but in ds->tagger_data, and that the sja1105 driver
now only populates the sja1105_port_deferred_xmit callback pointer.
The kthread worker is now the responsibility of the tagger.

The sja1105 driver also alters the tagger's state some more, especially
with regard to the PTP RX timestamping state. This will be fixed up a
bit in further changes.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2021-12-12 12:51:33 +00:00
..
Kconfig ethernet: fix PTP_1588_CLOCK dependencies 2021-08-13 17:49:05 -07:00
Makefile net: dsa: sja1105: register the MDIO buses for 100base-T1 and 100base-TX 2021-06-08 14:37:16 -07:00
sja1105_clocking.c net: dsa: sja1105: parse {rx, tx}-internal-delay-ps properties for RGMII delays 2021-10-20 11:32:28 +01:00
sja1105_devlink.c net: update NXP copyright text 2021-09-17 13:52:17 +01:00
sja1105_dynamic_config.c net: dsa: sja1105: serialize access to the dynamic config interface 2021-10-25 12:59:41 +01:00
sja1105_dynamic_config.h net: dsa: sja1105: add support for the SJA1110 switch family 2021-06-08 14:37:16 -07:00
sja1105_ethtool.c net: dsa: sja1105: don't use burst SPI reads for port statistics 2021-05-21 14:01:41 -07:00
sja1105_flower.c net: update NXP copyright text 2021-09-17 13:52:17 +01:00
sja1105_main.c net: dsa: tag_sja1105: convert to tagger-owned data 2021-12-12 12:51:33 +00:00
sja1105_mdio.c net: update NXP copyright text 2021-09-17 13:52:17 +01:00
sja1105_ptp.c net: dsa: tag_sja1105: convert to tagger-owned data 2021-12-12 12:51:33 +00:00
sja1105_ptp.h net: dsa: move sja1110_process_meta_tstamp inside the tagging protocol driver 2021-09-23 12:45:07 +01:00
sja1105_spi.c net: update NXP copyright text 2021-09-17 13:52:17 +01:00
sja1105_static_config.c net: update NXP copyright text 2021-09-17 13:52:17 +01:00
sja1105_static_config.h net: update NXP copyright text 2021-09-17 13:52:17 +01:00
sja1105_tas.c net: dsa: sja1105: parameterize the number of ports 2021-05-24 13:59:03 -07:00
sja1105_tas.h net: dsa: sja1105: dimension the data structures for a larger port count 2021-05-24 13:59:03 -07:00
sja1105_vl.c net: dsa: tag_8021q: make dsa_8021q_{rx,tx}_vid take dp as argument 2021-10-21 12:44:07 +01:00
sja1105_vl.h net: update NXP copyright text 2021-09-17 13:52:17 +01:00
sja1105.h net: dsa: tag_sja1105: convert to tagger-owned data 2021-12-12 12:51:33 +00:00