> -----Original Message----- > From: Intel-wired-lan [mailto:intel-wired-lan-bounces@xxxxxxxxxx] On > Behalf Of Ciara Loftus > Sent: Wednesday, September 11, 2019 10:25 AM > To: netdev@xxxxxxxxxxxxxxx; ast@xxxxxxxxxx; daniel@xxxxxxxxxxxxx; Topel, > Bjorn <bjorn.topel@xxxxxxxxx>; Karlsson, Magnus > <magnus.karlsson@xxxxxxxxx>; jonathan.lemon@xxxxxxxxx > Cc: Richardson, Bruce <bruce.richardson@xxxxxxxxx>; bpf@xxxxxxxxxxxxxxx; > intel-wired-lan@xxxxxxxxxxxxxxxx; Loftus, Ciara <ciara.loftus@xxxxxxxxx>; > Laatz, Kevin <kevin.laatz@xxxxxxxxx> > Subject: [Intel-wired-lan] [PATCH bpf-next 2/3] ixgbe: fix xdp handle > calculations > > Commit 7cbbf9f1fa23 ("ixgbe: fix xdp handle calculations") reintroduced the > addition of the umem headroom to the xdp handle in the ixgbe_zca_free, > ixgbe_alloc_buffer_slow_zc and ixgbe_alloc_buffer_zc functions. However, > the headroom is already added to the handle in the function > ixgbe_run_xdp_zc. This commit removes the latter addition and fixes the > case where the headroom is non-zero. > > Fixes: 7cbbf9f1fa23 ("ixgbe: fix xdp handle calculations") > Signed-off-by: Ciara Loftus <ciara.loftus@xxxxxxxxx> > --- > drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) Tested-by: Andrew Bowers <andrewx.bowers@xxxxxxxxx>