Re: [Intel-wired-lan] [PATCH iwl-next v6 5/6] igb: Add AF_XDP zero-copy Rx support

2024-08-19 Thread Maciej Fijalkowski
On Fri, Aug 16, 2024 at 11:24:04AM +0200, Kurt Kanzenbach wrote: > From: Sriram Yagnaraman > > Add support for AF_XDP zero-copy receive path. > > When AF_XDP zero-copy is enabled, the rx buffers are allocated from the > xsk buff pool using igb_alloc_rx_buffers_zc(). > > Use xsk_pool_get_rx_fram

[Intel-wired-lan] [PATCH iwl-next v6 5/6] igb: Add AF_XDP zero-copy Rx support

2024-08-16 Thread Kurt Kanzenbach
From: Sriram Yagnaraman Add support for AF_XDP zero-copy receive path. When AF_XDP zero-copy is enabled, the rx buffers are allocated from the xsk buff pool using igb_alloc_rx_buffers_zc(). Use xsk_pool_get_rx_frame_size() to set SRRCTL rx buf size when zero-copy is enabled. Signed-off-by: Sri