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
This commit is contained in:

committed by
Alexei Starovoitov

parent
d20a1676df
commit
a71506a4fd
@@ -24,7 +24,7 @@
|
||||
#include <linux/sched/signal.h>
|
||||
#include <linux/net.h>
|
||||
#include <net/devlink.h>
|
||||
#include <net/xdp_sock.h>
|
||||
#include <net/xdp_sock_drv.h>
|
||||
#include <net/flow_offload.h>
|
||||
#include <linux/ethtool_netlink.h>
|
||||
#include <generated/utsrelease.h>
|
||||
|
Reference in New Issue
Block a user