Home
last modified time | relevance | path

Searched hist:"6 a43cba3" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/include/net/
H A Ddsa.h6a43cba3 Mon Dec 06 10:57:55 CST 2021 Vladimir Oltean <vladimir.oltean@nxp.com> net: dsa: export bridging offload helpers to drivers

Move the static inline helpers from net/dsa/dsa_priv.h to
include/net/dsa.h, so that drivers can call functions such as
dsa_port_offloads_bridge_dev(), which will be necessary after the
transition to a more complex bridge structure.

More functions than are needed right now are being moved, but this is
done for uniformity.

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>