summaryrefslogtreecommitdiff
path: root/net/core/netdev-genl.c
diff options
context:
space:
mode:
authorStanislav Fomichev <sdf@fomichev.me>2025-05-08 00:48:23 +0000
committerPaolo Abeni <pabeni@redhat.com>2025-05-13 11:12:48 +0200
commit8802087d20c0e1c26c4b4fe30e22264bf8285e51 (patch)
treeb4d87eeed941cc9f69c479e582d2747b2c3a3573 /net/core/netdev-genl.c
parente9f3d61db5cb29b3f17f0dc40c3ec2cda2ee93e5 (diff)
net: devmem: TCP tx netlink api
Add bind-tx netlink call to attach dmabuf for TX; queue is not required, only ifindex and dmabuf fd for attachment. Signed-off-by: Stanislav Fomichev <sdf@fomichev.me> Signed-off-by: Mina Almasry <almasrymina@google.com> Link: https://patch.msgid.link/20250508004830.4100853-4-almasrymina@google.com Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'net/core/netdev-genl.c')
-rw-r--r--net/core/netdev-genl.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/net/core/netdev-genl.c b/net/core/netdev-genl.c
index 17aa9e42e8d5..3beef87235d8 100644
--- a/net/core/netdev-genl.c
+++ b/net/core/netdev-genl.c
@@ -968,6 +968,12 @@ err_genlmsg_free:
return err;
}
+/* stub */
+int netdev_nl_bind_tx_doit(struct sk_buff *skb, struct genl_info *info)
+{
+ return 0;
+}
+
void netdev_nl_sock_priv_init(struct netdev_nl_sock *priv)
{
INIT_LIST_HEAD(&priv->bindings);