Fix Rx headroom by calling *_rx_offset() after the build_skb Rx ring flag is set.
It was reported by Jesper in [0] that XDP_REDIRECT stopped working after [1] patch in i40e. Thanks and sorry! Maciej [0]: https://lore.kernel.org/netdev/20210301131832.0d765179@carbon/ [1]: https://lore.kernel.org/bpf/20210118151318.12324-10-maciej.fijalkow...@intel.com/ Maciej Fijalkowski (3): i40e: move headroom initialization to i40e_configure_rx_ring ice: move headroom initialization to ice_setup_rx_ctx ixgbe: move headroom initialization to ixgbe_configure_rx_ring drivers/net/ethernet/intel/i40e/i40e_main.c | 13 +++++++++++++ drivers/net/ethernet/intel/i40e/i40e_txrx.c | 12 ------------ drivers/net/ethernet/intel/ice/ice_base.c | 18 ++++++++++++++++++ drivers/net/ethernet/intel/ice/ice_txrx.c | 17 ----------------- drivers/net/ethernet/intel/ixgbe/ixgbe_main.c | 3 ++- 5 files changed, 33 insertions(+), 30 deletions(-) -- 2.20.1