projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
173d3ad
)
net: added netdevice operation for Tx
author
Magnus Karlsson
<magnus.karlsson@intel.com>
Mon, 4 Jun 2018 12:05:56 +0000
(14:05 +0200)
committer
Daniel Borkmann
<daniel@iogearbox.net>
Tue, 5 Jun 2018 13:48:08 +0000
(15:48 +0200)
Added ndo_xsk_async_xmit. This ndo "kicks" the netdev to start to pull
userland AF_XDP Tx frames from a NAPI context.
Signed-off-by: Magnus Karlsson <magnus.karlsson@intel.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
include/linux/netdevice.h
patch
|
blob
|
history
diff --git
a/include/linux/netdevice.h
b/include/linux/netdevice.h
index cc4ea7ab6d243302320ad2032939509ccf74fd9e..03ffeadf8a41632908573109fc67685f5d174606 100644
(file)
--- a/
include/linux/netdevice.h
+++ b/
include/linux/netdevice.h
@@
-1387,6
+1387,8
@@
struct net_device_ops {
int (*ndo_xdp_xmit)(struct net_device *dev, int n,
struct xdp_frame **xdp,
u32 flags);
+ int (*ndo_xsk_async_xmit)(struct net_device *dev,
+ u32 queue_id);
};
/**