[Intel-wired-lan] [PATCH bpf-next] ixgbe: fix xdp handle calculations

Daniel Borkmann daniel at iogearbox.net
Thu Sep 5 13:13:18 UTC 2019


On 9/5/19 3:12 AM, Kevin Laatz wrote:
> Currently, we don't add headroom to the handle in ixgbe_zca_free,
> ixgbe_alloc_buffer_slow_zc and ixgbe_alloc_buffer_zc. The addition of the
> headroom to the handle was removed in
> commit d8c3061e5edd ("ixgbe: modify driver for handling offsets"), which
> will break things when headroom isvnon-zero. This patch fixes this and uses
> xsk_umem_adjust_offset to add it appropritely based on the mode being run.
> 
> Fixes: d8c3061e5edd ("ixgbe: modify driver for handling offsets")
> Reported-by: Bjorn Topel <bjorn.topel at intel.com>
> Signed-off-by: Kevin Laatz <kevin.laatz at intel.com>

Applied, thanks!


More information about the Intel-wired-lan mailing list