Thread (28 messages) 28 messages, 3 authors, 2022-10-18

Re: [PATCH v7 net-next 4/9] net: switchdev: support offloading of the FDB blackhole flag

From: Ido Schimmel <idosch@nvidia.com>
Date: 2022-10-13 14:21:50
Also in: bridge, linux-arm-kernel, linux-kselftest, linux-mediatek, lkml

On Sun, Oct 09, 2022 at 07:40:47PM +0200, Hans J. Schultz wrote:
Add support for offloading of the FDB blackhole flag.

Signed-off-by: Hans J. Schultz <redacted>
---
 include/net/dsa.h         |  1 +
 include/net/switchdev.h   |  1 +
 net/bridge/br.c           |  3 ++-
 net/bridge/br_fdb.c       | 19 ++++++++++++++++---
 net/bridge/br_private.h   |  3 ++-
 net/bridge/br_switchdev.c |  1 +
 net/dsa/dsa_priv.h        |  4 ++--
 net/dsa/port.c            | 22 ++++++++++++----------
 net/dsa/slave.c           |  6 ++++--
 9 files changed, 41 insertions(+), 19 deletions(-)
Too many changes at once. I suggest to split into:

1. A patch that allows the bridge driver to be notified about blackhole
entries from device drivers and also notifying it to drivers when added
from user space. These changes:

include/net/switchdev.h   |  1 +
net/bridge/br.c           |  3 ++-
net/bridge/br_fdb.c       | 19 ++++++++++++++++---
net/bridge/br_private.h   |  3 ++-
net/bridge/br_switchdev.c |  1 +

2. The DSA changes
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help