kernel_optimize_test/net/xdp
Björn Töpel c497176cb2 xsk: add Rx receive functions and poll support
Here the actual receive functions of AF_XDP are implemented, that in a
later commit, will be called from the XDP layers.

There's one set of functions for the XDP_DRV side and another for
XDP_SKB (generic).

A new XDP API, xdp_return_buff, is also introduced.

Adding xdp_return_buff, which is analogous to xdp_return_frame, but
acts upon an struct xdp_buff. The API will be used by AF_XDP in future
commits.

Support for the poll syscall is also implemented.

v2: xskq_validate_id did not update cons_tail.
    The entries variable was calculated twice in xskq_nb_avail.
    Squashed xdp_return_buff commit.

Signed-off-by: Björn Töpel <bjorn.topel@intel.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
2018-05-03 15:55:24 -07:00
..
Kconfig
Makefile xsk: add umem fill queue support and mmap 2018-05-03 15:55:23 -07:00
xdp_umem_props.h
xdp_umem.c xsk: add support for bind for Rx 2018-05-03 15:55:23 -07:00
xdp_umem.h xsk: add Rx receive functions and poll support 2018-05-03 15:55:24 -07:00
xsk_queue.c xsk: add support for bind for Rx 2018-05-03 15:55:23 -07:00
xsk_queue.h xsk: add Rx receive functions and poll support 2018-05-03 15:55:24 -07:00
xsk.c xsk: add Rx receive functions and poll support 2018-05-03 15:55:24 -07:00