Re: [PATCH net-next 0/5] Code movement to br_switchdev.c
From: Jiri Pirko <jiri@resnulli.us>
Date: 2021-11-01 15:05:50
Wed, Oct 27, 2021 at 06:21:14PM CEST, vladimir.oltean@nxp.com wrote:
This is one more refactoring patch set for the Linux bridge, where more logic that is specific to switchdev is moved into br_switchdev.c, which is compiled out when CONFIG_NET_SWITCHDEV is disabled.
Looks good. While you are at it, don't you plan to also move switchdev.c into br_switchdev.c and eventually rename to br_offload.c ? Switchdev is about bridge offloading only anyway.
Vladimir Oltean (5): net: bridge: provide shim definition for br_vlan_flags net: bridge: move br_vlan_replay to br_switchdev.c net: bridge: split out the switchdev portion of br_mdb_notify net: bridge: mdb: move all switchdev logic to br_switchdev.c net: bridge: switchdev: consistent function naming net/bridge/br_mdb.c | 238 +----------------------- net/bridge/br_private.h | 28 ++- net/bridge/br_switchdev.c | 371 ++++++++++++++++++++++++++++++++++++-- net/bridge/br_vlan.c | 84 --------- 4 files changed, 372 insertions(+), 349 deletions(-) -- 2.25.1