diff options
author | David S. Miller <davem@davemloft.net> | 2023-10-27 10:51:42 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-10-27 10:51:42 +0100 |
commit | bc4c48e74312d0c96d02f7e7cf75b01f3ba19543 (patch) | |
tree | 869718d1979764bcf5f1db0af7f17711b136c125 /drivers/net/virtio_net.c | |
parent | eff8313be8b0e9e5d9bd03b7bfc3b915339deab0 (diff) | |
parent | 0514dd05939a998abcd2f03f69cc15908072a198 (diff) | |
download | linux-bc4c48e74312d0c96d02f7e7cf75b01f3ba19543.tar.gz linux-bc4c48e74312d0c96d02f7e7cf75b01f3ba19543.tar.bz2 linux-bc4c48e74312d0c96d02f7e7cf75b01f3ba19543.zip |
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 <davem@davemloft.net>
Diffstat (limited to 'drivers/net/virtio_net.c')
0 files changed, 0 insertions, 0 deletions