Files
linux/drivers/net/ethernet/intel/ice
Maciej Fijalkowski 3de38c8717 ice: update xdp_rxq_info::frag_size for ZC enabled Rx queue
Now that ice driver correctly sets up frag_size in xdp_rxq_info, let us
make it work for ZC multi-buffer as well. ice_rx_ring::rx_buf_len for ZC
is being set via xsk_pool_get_rx_frame_size() and this needs to be
propagated up to xdp_rxq_info.

Use a bigger hammer and instead of unregistering only xdp_rxq_info's
memory model, unregister it altogether and register it again and have
xdp_rxq_info with correct frag_size value.

Fixes: 1bbc04de60 ("ice: xsk: add RX multi-buffer support")
Signed-off-by: Maciej Fijalkowski <maciej.fijalkowski@intel.com>
Link: https://lore.kernel.org/r/20240124191602.566724-9-maciej.fijalkowski@intel.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
2024-01-24 16:24:07 -08:00
..
2023-12-14 09:43:04 -08:00
2023-12-18 11:20:26 -08:00
2023-12-18 11:20:43 -08:00
2023-12-18 11:20:43 -08:00
2023-01-19 08:18:03 -08:00
2023-12-18 11:20:26 -08:00
2023-11-13 11:42:15 -08:00
2023-12-18 11:20:43 -08:00
2023-10-26 20:32:38 -07:00
2023-12-18 11:20:26 -08:00
2023-12-18 11:20:26 -08:00
2023-12-13 16:16:40 -08:00
2023-12-18 11:20:43 -08:00
2023-12-05 11:40:12 +01:00
2023-12-05 11:40:12 +01:00
2023-11-13 11:42:14 -08:00
2023-11-13 11:42:14 -08:00
2023-12-18 11:20:43 -08:00
2023-10-20 12:53:05 +01:00
2023-08-17 10:43:06 -07:00
2024-01-02 11:18:32 -08:00
2023-12-18 11:20:43 -08:00
2023-12-18 11:20:43 -08:00
2023-12-14 09:50:48 -08:00