mbox series

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

Message ID 20241111013218.1491641-1-aryan.srivastava@alliedtelesis.co.nz (mailing list archive)
Headers show
Series Add bridge offloading devlink config | expand

Message

Aryan Srivastava Nov. 11, 2024, 1:32 a.m. UTC
Add ability to configure if a DSA port should offload briding 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(-)