Skip to content

Commit

Permalink
xdp: done implementing ndo_xdp_xmit flush flag for all drivers
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jesper Dangaard Brouer authored and Alexei Starovoitov committed Jun 3, 2018
1 parent 5d274cb commit 73de571
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion include/net/xdp.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 73de571

Please sign in to comment.