diff options
author | 2024-07-13 23:16:16 +0200 | |
---|---|---|
committer | 2024-07-15 06:55:16 -0700 | |
commit | 85aabd1fe9d6af4dc5d11a2d8be567ec45d1dc5e (patch) | |
tree | 1c460c26b0c8ecf3decc58a932d6eea08575f4a6 /scripts/generate_rust_analyzer.py | |
parent | net: dsa: Define max num of bridges in tag8021q implementation (diff) | |
download | linux-rng-85aabd1fe9d6af4dc5d11a2d8be567ec45d1dc5e.tar.xz linux-rng-85aabd1fe9d6af4dc5d11a2d8be567ec45d1dc5e.zip |
net: dsa: prepare 'dsa_tag_8021q_bridge_join' for standalone use
The 'dsa_tag_8021q_bridge_join' could be used as a generic implementation
of the 'ds->ops->port_bridge_join()' function. However, it is necessary
to synchronize their arguments.
This patch also moves the 'tx_fwd_offload' flag configuration line into
'dsa_tag_8021q_bridge_join' body. Currently, every (sja1105) driver sets
it, and the future vsc73xx implementation will also need it for
simplification.
Suggested-by: Vladimir Oltean <olteanv@gmail.com>
Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>
Reviewed-by: Vladimir Oltean <olteanv@gmail.com>
Link: https://patch.msgid.link/20240713211620.1125910-11-paweldembicki@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions