diff options
author | Magnus Karlsson <magnus.karlsson@intel.com> | 2020-05-20 21:20:51 +0200 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2020-05-22 02:31:26 +0200 |
commit | a71506a4fda92a39c8ece119876bc7ccde6d3c9d (patch) | |
tree | f250c0691192d4a2157ee7cbf1543cdd302692a3 /net/xdp/xsk.c | |
parent | xsk: Move xskmap.c to net/xdp/ (diff) | |
download | linux-a71506a4fda92a39c8ece119876bc7ccde6d3c9d.tar.xz linux-a71506a4fda92a39c8ece119876bc7ccde6d3c9d.zip |
xsk: Move driver interface to xdp_sock_drv.h
Move the AF_XDP zero-copy driver interface to its own include file
called xdp_sock_drv.h. This, hopefully, will make it more clear for
NIC driver implementors to know what functions to use for zero-copy
support.
v4->v5: Fix -Wmissing-prototypes by include header file. (Jakub)
Signed-off-by: Magnus Karlsson <magnus.karlsson@intel.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20200520192103.355233-4-bjorn.topel@gmail.com
Diffstat (limited to 'net/xdp/xsk.c')
-rw-r--r-- | net/xdp/xsk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/xdp/xsk.c b/net/xdp/xsk.c index 45ffd67b367d..8bda654e82ec 100644 --- a/net/xdp/xsk.c +++ b/net/xdp/xsk.c @@ -22,7 +22,7 @@ #include <linux/net.h> #include <linux/netdevice.h> #include <linux/rculist.h> -#include <net/xdp_sock.h> +#include <net/xdp_sock_drv.h> #include <net/xdp.h> #include "xsk_queue.h" |