[Intel-wired-lan] [PATCH iwl-net] ice: recycle/free all of the fragments from multi-buffer packet
Piotr Raczynski
piotr.raczynski at intel.com
Fri May 12 15:40:11 UTC 2023
> @@ -1162,6 +1162,9 @@ int ice_clean_rx_irq(struct ice_rx_ring *rx_ring, int budget)
> bool failure;
> u32 first;
>
> + if (ntc != rx_ring->first_desc)
> + cached_ntc = rx_ring->first_desc;
> +
Would it make sense to apply likely/unlikely here since we check it per
packet?
Piotr
> /* Frame size depend on rx_ring setup when PAGE_SIZE=4K */
> #if (PAGE_SIZE < 8192)
>
More information about the Intel-wired-lan
mailing list