Re: [PATCH bpf-next] ixgbe: fix xdp handle calculations

2019-09-05 Thread Daniel Borkmann
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 bre

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

2019-09-05 Thread Björn Töpel
On Thu, 5 Sep 2019 at 11:28, 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 offset

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

2019-09-05 Thread Kevin Laatz
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. Thi