[RFC net-next v1 0/2] Add bridge offloading devlink config

From: Aryan Srivastava
Date: Sun Jan 19 2025 - 19:49:47 EST


Add ability to configure if a DSA port should offload bridging to HW.
The following patches add a configurable devlink port attribute, which
in turn configures a DSA port. This setting on the DSA port will then be
used to determine if HW config needs to be done when a port is added to
a bridge group.

Aryan Srivastava (2):
net: devlink: Add port function for bridge offload
net: dsa: add option for bridge port HW offload

include/net/devlink.h | 13 ++++++++++++
include/net/dsa.h | 1 +
include/uapi/linux/devlink.h | 2 ++
net/devlink/port.c | 41 ++++++++++++++++++++++++++++++++++++
net/dsa/devlink.c | 27 +++++++++++++++++++++++-
net/dsa/dsa.c | 1 +
net/dsa/port.c | 3 ++-
7 files changed, 86 insertions(+), 2 deletions(-)

--
2.47.1