diff options
author | Ido Schimmel <idosch@nvidia.com> | 2023-12-17 11:32:40 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-12-20 14:27:20 +0300 |
commit | a6acb535afb2a3b688a7858f05b61f0433e480d5 (patch) | |
tree | 76bd8520ff8293062de441446ec42dc7f557a3c8 /net/bridge/br_device.c | |
parent | d8e81f131178dad603c6817421056030ed2f4ac2 (diff) | |
download | linux-a6acb535afb2a3b688a7858f05b61f0433e480d5.tar.xz |
bridge: mdb: Add MDB bulk deletion support
Implement MDB bulk deletion support in the bridge driver, allowing MDB
entries to be deleted in bulk according to provided parameters.
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Reviewed-by: Petr Machata <petrm@nvidia.com>
Acked-by: Nikolay Aleksandrov <razor@blackwall.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/bridge/br_device.c')
-rw-r--r-- | net/bridge/br_device.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/bridge/br_device.c b/net/bridge/br_device.c index 8f40de3af154..65cee0ad3c1b 100644 --- a/net/bridge/br_device.c +++ b/net/bridge/br_device.c @@ -471,6 +471,7 @@ static const struct net_device_ops br_netdev_ops = { .ndo_fdb_get = br_fdb_get, .ndo_mdb_add = br_mdb_add, .ndo_mdb_del = br_mdb_del, + .ndo_mdb_del_bulk = br_mdb_del_bulk, .ndo_mdb_dump = br_mdb_dump, .ndo_mdb_get = br_mdb_get, .ndo_bridge_getlink = br_getlink, |