Message ID | 20190913103948.32053-1-ciara.loftus@intel.com |
---|---|
Headers | show |
Series | AF_XDP fixes for i40e, ixgbe and xdpsock | expand |
On 2019-09-13 12:39, Ciara Loftus wrote: > 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") > > --- > v2: > - Rearranged local variable order in i40e_run_xdp_zc and ixgbe_run_xdp_zc > to comply with coding standards. > Thanks Ciara! Acked-by: Björn Töpel <bjorn.topel@intel.com> > Ciara Loftus (3): > i40e: fix xdp handle calculations > ixgbe: fix xdp handle calculations > samples/bpf: fix xdpsock l2fwd tx for unaligned mode > > drivers/net/ethernet/intel/i40e/i40e_xsk.c | 4 ++-- > drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c | 4 ++-- > samples/bpf/xdpsock_user.c | 2 +- > 3 files changed, 5 insertions(+), 5 deletions(-) >
On 9/13/19 12:39 PM, Ciara Loftus wrote: > 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") > > --- > v2: > - Rearranged local variable order in i40e_run_xdp_zc and ixgbe_run_xdp_zc > to comply with coding standards. > > Ciara Loftus (3): > i40e: fix xdp handle calculations > ixgbe: fix xdp handle calculations > samples/bpf: fix xdpsock l2fwd tx for unaligned mode > > drivers/net/ethernet/intel/i40e/i40e_xsk.c | 4 ++-- > drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c | 4 ++-- > samples/bpf/xdpsock_user.c | 2 +- > 3 files changed, 5 insertions(+), 5 deletions(-) > Applied, thanks!