OSDN Git Service

Merge branch 'bpf-af-xdp-unaligned-fixes'
authorDaniel Borkmann <daniel@iogearbox.net>
Mon, 16 Sep 2019 07:35:10 +0000 (09:35 +0200)
committerDaniel Borkmann <daniel@iogearbox.net>
Mon, 16 Sep 2019 07:35:10 +0000 (09:35 +0200)
commita4fa6e169007d85c2d71ee994aad5a85d966a9d0
tree8b79b58d9ea4bcb2cb9b9d56907a3aa2907ecea8
parent4ce150b6a412f14074400eac5fc39d1a71c4ef0a
parent5a712e1363c8ecb4b504a888833ef91416314c36
Merge branch 'bpf-af-xdp-unaligned-fixes'

Ciara Loftus says:

====================
This patch set contains some fixes for AF_XDP zero copy in the i40e and
ixgbe drivers as well as a fix for the 'xdpsock' sample application when
running in unaligned mode.

Patches 1 and 2 fix a regression for the i40e and ixgbe drivers which
caused the umem headroom to be added to the xdp handle twice, resulting in
an incorrect value being received by the user for the case where the umem
headroom is non-zero.

Patch 3 fixes an issue with the xdpsock sample application whereby the
start of the tx packet data (offset) was not being set correctly when the
application was being run in unaligned mode.

This patch set has been applied against commit a2c11b034142 ("kcm: use
BPF_PROG_RUN")
====================

Acked-by: Björn Töpel <bjorn.topel@intel.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>