Thread (30 messages) 30 messages, 2 authors, 2023-10-17

Re: [PATCH net-next 11/13] rtnetlink: Add MDB get support

From: Nikolay Aleksandrov <razor@blackwall.org>
Date: 2023-10-17 09:29:45
Also in: bridge

On 10/16/23 16:12, Ido Schimmel wrote:
Now that both the bridge and VXLAN drivers implement the MDB get net
device operation, expose the functionality to user space by registering
a handler for RTM_GETMDB messages. Derive the net device from the
ifindex specified in the ancillary header and invoke its MDB get NDO.

Note that unlike other get handlers, the allocation of the skb
containing the response is not performed in the common rtnetlink code as
the size is variable and needs to be determined by the respective
driver.

Signed-off-by: Ido Schimmel <idosch@nvidia.com>
---
  net/core/rtnetlink.c | 89 +++++++++++++++++++++++++++++++++++++++++++-
  1 file changed, 88 insertions(+), 1 deletion(-)
Acked-by: Nikolay Aleksandrov <razor@blackwall.org>

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