aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wwan/iosm/iosm_ipc_debugfs.c
diff options
context:
space:
mode:
authorVladimir Oltean <[email protected]>2021-12-06 16:57:57 +0000
committerJakub Kicinski <[email protected]>2021-12-08 22:31:16 +0000
commitb079922ba2acf072b23d82fa246a0d8de198f0a2 (patch)
tree9b00d8c1bc97dae486281fdc07837f1dcb4c850f /drivers/net/wwan/iosm/iosm_ipc_debugfs.c
parentnet: dsa: keep the bridge_dev and bridge_num as part of the same structure (diff)
downloadkernel-b079922ba2acf072b23d82fa246a0d8de198f0a2.tar.gz
kernel-b079922ba2acf072b23d82fa246a0d8de198f0a2.zip
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 <[email protected]> Reviewed-by: Alvin Šipraga <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/net/wwan/iosm/iosm_ipc_debugfs.c')
0 files changed, 0 insertions, 0 deletions