From: David S. Miller Date: Fri, 27 Oct 2023 09:51:42 +0000 (+0100) Subject: Merge branch 'mdb-get' X-Git-Tag: v6.7-rc1~160^2~17 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=bc4c48e74312d0c96d02f7e7cf75b01f3ba19543;p=thirdparty%2Fkernel%2Flinux.git Merge branch 'mdb-get' Ido Schimmel says: ==================== Add MDB get support This patchset adds MDB get support, allowing user space to request a single MDB entry to be retrieved instead of dumping the entire MDB. Support is added in both the bridge and VXLAN drivers. Patches #1-#6 are small preparations in both drivers. Patches #7-#8 add the required uAPI attributes for the new functionality and the MDB get net device operation (NDO), respectively. Patches #9-#10 implement the MDB get NDO in both drivers. Patch #11 registers a handler for RTM_GETMDB messages in rtnetlink core. The handler derives the net device from the ifindex specified in the ancillary header and invokes its MDB get NDO. Patches #12-#13 add selftests by converting tests that use MDB dump with grep to the new MDB get functionality. iproute2 changes can be found here [1]. v2: * Patch #7: Add a comment to describe attributes structure. * Patch #9: Add a comment above spin_lock_bh(). [1] https://github.com/idosch/iproute2/tree/submit/mdb_get_v1 ==================== Signed-off-by: David S. Miller --- bc4c48e74312d0c96d02f7e7cf75b01f3ba19543