diff options
author | David S. Miller <davem@davemloft.net> | 2023-12-20 12:27:21 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-12-20 12:27:21 +0100 |
commit | d7a39d399a6dbc52dedde686e5dd40a3ae30f19f (patch) | |
tree | 9d785de8d275bd3146d8698e84401687588e5387 /drivers/net/ethernet/realtek/Makefile | |
parent | octeontx2-af: insert space after include (diff) | |
parent | selftests: vxlan_mdb: Add MDB bulk deletion test (diff) | |
download | linux-d7a39d399a6dbc52dedde686e5dd40a3ae30f19f.tar.xz linux-d7a39d399a6dbc52dedde686e5dd40a3ae30f19f.zip |
Merge branch 'bridge-mdb-bulk-delete'
Ido Schimmel says:
====================
Add MDB bulk deletion support
This patchset adds MDB bulk deletion support, allowing user space to
request the deletion of matching entries instead of dumping the entire
MDB and issuing a separate deletion request for each matching entry.
Support is added in both the bridge and VXLAN drivers in a similar
fashion to the existing FDB bulk deletion support.
The parameters according to which bulk deletion can be performed are
similar to the FDB ones, namely: Destination port, VLAN ID, state (e.g.,
"permanent"), routing protocol, source / destination VNI, destination IP
and UDP port. Flushing based on flags (e.g., "offload", "fast_leave",
"added_by_star_ex", "blocked") is not currently supported, but can be
added in the future, if a use case arises.
Patch #1 adds a new uAPI attribute to allow specifying the state mask
according to which bulk deletion will be performed, if any.
Patch #2 adds a new policy according to which bulk deletion requests
(with 'NLM_F_BULK' flag set) will be parsed.
Patches #3-#4 add a new NDO for MDB bulk deletion and invoke it from the
rtnetlink code when a bulk deletion request is made.
Patches #5-#6 implement the MDB bulk deletion NDO in the bridge and
VXLAN drivers, respectively.
Patch #7 allows user space to issue MDB bulk deletion requests by no
longer rejecting the 'NLM_F_BULK' flag when it is set in 'RTM_DELMDB'
requests.
Patches #8-#9 add selftests for both drivers, for both good and bad
flows.
iproute2 changes can be found here [1].
https://github.com/idosch/iproute2/tree/submit/mdb_flush_v1
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/realtek/Makefile')
0 files changed, 0 insertions, 0 deletions