RE: [Intel-wired-lan] [PATCH intel-net 2/3] ice: move headroom initialization to ice_setup_rx_ctx

2021-03-09 Thread Bhandare, KiranX
; Karlsson, > Magnus > Subject: [Intel-wired-lan] [PATCH intel-net 2/3] ice: move headroom > initialization to ice_setup_rx_ctx > > ice_rx_offset(), that is supposed to initialize the Rx buffer headroom, relies > on ICE_RX_FLAGS_RING_BUILD_SKB flag as well as XDP prog presence. &g

[PATCH intel-net 2/3] ice: move headroom initialization to ice_setup_rx_ctx

2021-03-03 Thread Maciej Fijalkowski
ice_rx_offset(), that is supposed to initialize the Rx buffer headroom, relies on ICE_RX_FLAGS_RING_BUILD_SKB flag as well as XDP prog presence. Currently, the callsite of mentioned function is placed incorrectly within ice_setup_rx_ring() where Rx ring's build skb flag is not set yet. This causes