diff options
author | 2024-09-10 17:14:46 +0000 | |
---|---|---|
committer | 2024-09-11 20:44:31 -0700 | |
commit | 3efd7ab46d0aebc3e567a9846e79a98dbad3291c (patch) | |
tree | f3e70f0be52305422acef6c74c8b2ac9182a72d8 /net/core/netdev-genl.c | |
parent | netdev: add netdev_rx_queue_restart() (diff) | |
download | wireguard-linux-3efd7ab46d0aebc3e567a9846e79a98dbad3291c.tar.xz wireguard-linux-3efd7ab46d0aebc3e567a9846e79a98dbad3291c.zip |
net: netdev netlink api to bind dma-buf to a net device
API takes the dma-buf fd as input, and binds it to the netdevice. The
user can specify the rx queues to bind the dma-buf to.
Suggested-by: Stanislav Fomichev <sdf@fomichev.me>
Signed-off-by: Mina Almasry <almasrymina@google.com>
Reviewed-by: Donald Hunter <donald.hunter@gmail.com>
Reviewed-by: Jakub Kicinski <kuba@kernel.org>
Link: https://patch.msgid.link/20240910171458.219195-3-almasrymina@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/core/netdev-genl.c')
-rw-r--r-- | net/core/netdev-genl.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/net/core/netdev-genl.c b/net/core/netdev-genl.c index a17d7eaeb001..699c34b9b03c 100644 --- a/net/core/netdev-genl.c +++ b/net/core/netdev-genl.c @@ -723,6 +723,12 @@ int netdev_nl_qstats_get_dumpit(struct sk_buff *skb, return err; } +/* Stub */ +int netdev_nl_bind_rx_doit(struct sk_buff *skb, struct genl_info *info) +{ + return 0; +} + static int netdev_genl_netdevice_event(struct notifier_block *nb, unsigned long event, void *ptr) { |