[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20241111013218.1491641-1-aryan.srivastava@alliedtelesis.co.nz>
Date: Mon, 11 Nov 2024 14:32:15 +1300
From: Aryan Srivastava <aryan.srivastava@...iedtelesis.co.nz>
To: Jiri Pirko <jiri@...nulli.us>,
Andrew Lunn <andrew@...n.ch>
Cc: netdev@...r.kernel.org,
linux-kernel@...r.kernel.org,
Aryan Srivastava <aryan.srivastava@...iedtelesis.co.nz>
Subject: [RFC net-next v0 0/2] Add bridge offloading devlink config
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(-)
--
2.47.0
Powered by blists - more mailing lists