linux/drivers/net/dsa/b53
Vladimir Oltean b079922ba2 net: dsa: add a "tx_fwd_offload" argument to ->port_bridge_join
This is a preparation patch for the removal of the DSA switch methods
->port_bridge_tx_fwd_offload() and ->port_bridge_tx_fwd_unoffload().
The plan is for the switch to report whether it offloads TX forwarding
directly as a response to the ->port_bridge_join() method.

This change deals with the noisy portion of converting all existing
function prototypes to take this new boolean pointer argument.
The bool is placed in the cross-chip notifier structure for bridge join,
and a reference to it is provided to drivers. In the next change, DSA
will then actually look at this value instead of calling
->port_bridge_tx_fwd_offload().

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Alvin Šipraga <alsi@bang-olufsen.dk>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2021-12-08 14:31:16 -08:00
..
b53_common.c net: dsa: add a "tx_fwd_offload" argument to ->port_bridge_join 2021-12-08 14:31:16 -08:00
b53_mdio.c net: dsa: be compatible with masters which unregister on shutdown 2021-09-19 12:08:37 +01:00
b53_mmap.c net: dsa: be compatible with masters which unregister on shutdown 2021-09-19 12:08:37 +01:00
b53_priv.h net: dsa: add a "tx_fwd_offload" argument to ->port_bridge_join 2021-12-08 14:31:16 -08:00
b53_regs.h net: dsa: b53: Support setting learning on port 2021-02-23 12:23:00 -08:00
b53_serdes.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
b53_serdes.h net: dsa: b53: Use the correct style for SPDX License Identifier 2019-09-22 15:24:51 -07:00
b53_spi.c net: dsa: b53: Add SPI ID table 2021-12-02 13:05:17 +00:00
b53_srab.c net: dsa: be compatible with masters which unregister on shutdown 2021-09-19 12:08:37 +01:00
Kconfig net: dsa: b53: support legacy tags 2021-03-17 12:24:36 -07:00
Makefile net: dsa: b53: Add SerDes support 2018-09-06 07:48:34 -07:00