summaryrefslogtreecommitdiff
path: root/include/net/xdp.h
diff options
context:
space:
mode:
authorToshiaki Makita <makita.toshiaki@lab.ntt.co.jp>2018-08-03 16:58:11 +0900
committerDaniel Borkmann <daniel@iogearbox.net>2018-08-10 16:12:20 +0200
commitdc2248220a4aa61560c95aca98d4162095bd7e8a (patch)
tree97e3beb255faf4f6d15ce3dc11acbfc0f0100e56 /include/net/xdp.h
parent948d4f214fde43743c57aae0c708bff44f6345f2 (diff)
veth: Avoid drops by oversized packets when XDP is enabled
Oversized packets including GSO packets can be dropped if XDP is enabled on receiver side, so don't send such packets from peer. Drop TSO and SCTP fragmentation features so that veth devices themselves segment packets with XDP enabled. Also cap MTU accordingly. v4: - Don't auto-adjust MTU but cap max MTU. Signed-off-by: Toshiaki Makita <makita.toshiaki@lab.ntt.co.jp> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'include/net/xdp.h')
0 files changed, 0 insertions, 0 deletions