summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJesper Dangaard Brouer <brouer@redhat.com>2018-05-31 11:00:13 +0200
committerAlexei Starovoitov <ast@kernel.org>2018-06-03 17:11:34 +0200
commit73de5717eb30ceedef6abf9da4bc2194f25d92ca (patch)
treed1c0fd2e5b2256d8530179c75f315b542dddc785 /include
parentvirtio_net: implement flush flag for ndo_xdp_xmit (diff)
downloadlinux-73de5717eb30ceedef6abf9da4bc2194f25d92ca.tar.xz
linux-73de5717eb30ceedef6abf9da4bc2194f25d92ca.zip
xdp: done implementing ndo_xdp_xmit flush flag for all drivers
Removing XDP_XMIT_FLAGS_NONE as all driver now implement a flush operation in their ndo_xdp_xmit call. The compiler will catch if any users of XDP_XMIT_FLAGS_NONE remains. Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com> Acked-by: Song Liu <songliubraving@fb.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'include')
-rw-r--r--include/net/xdp.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/net/xdp.h b/include/net/xdp.h
index 0c45f0f943ed..a3b71a4dd71d 100644
--- a/include/net/xdp.h
+++ b/include/net/xdp.h
@@ -41,7 +41,6 @@ enum xdp_mem_type {
};
/* XDP flags for ndo_xdp_xmit */
-#define XDP_XMIT_FLAGS_NONE 0U
#define XDP_XMIT_FLUSH (1U << 0) /* doorbell signal consumer */
#define XDP_XMIT_FLAGS_MASK XDP_XMIT_FLUSH