kernel_optimize_test/net/xdp
Magnus Karlsson 09210c4bcc xsk: do not return EMSGSIZE in copy mode for packets larger than MTU
This patch stops returning EMSGSIZE from sendmsg in copy mode when the
size of the packet is larger than the MTU. Just send it to the device
so that it will drop it as in zero-copy mode. This makes the error
reporting consistent between copy mode and zero-copy mode.

Fixes: 35fcde7f8d ("xsk: support for Tx")
Signed-off-by: Magnus Karlsson <magnus.karlsson@intel.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
2018-07-13 15:34:31 +02:00
..
Kconfig
Makefile xsk: remove newline at end of file 2018-05-18 16:07:02 +02:00
xdp_umem_props.h xsk: new descriptor addressing scheme 2018-06-04 17:21:02 +02:00
xdp_umem.c xsk: silence warning on memory allocation failure 2018-06-11 23:49:07 +02:00
xdp_umem.h xsk: wire upp Tx zero-copy functions 2018-06-05 15:48:34 +02:00
xsk_queue.c xsk: new descriptor addressing scheme 2018-06-04 17:21:02 +02:00
xsk_queue.h xsk: fix potential lost completion message in SKB path 2018-07-02 18:37:11 -07:00
xsk.c xsk: do not return EMSGSIZE in copy mode for packets larger than MTU 2018-07-13 15:34:31 +02:00