> -----Original Message-----
> From: Intel-wired-lan <[email protected]> On Behalf Of
> Joshua Hay
> Sent: Friday, July 25, 2025 11:42 AM
> To: [email protected]
> Cc: [email protected]; Hay, Joshua A <[email protected]>;
> Chittim, Madhu <[email protected]>
> Subject: [Intel-wired-lan] [PATCH iwl-net v3 5/6] idpf: stop Tx if there are
> insufficient buffer resources
> 
> The Tx refillq logic will cause packets to be silently dropped if there are 
> not
> enough buffer resources available to send a packet in flow scheduling mode.
> Instead, determine how many buffers are needed along with number of
> descriptors. Make sure there are enough of both resources to send the packet,
> and stop the queue if not.
> 
> Fixes: 7292af042bcf ("idpf: fix a race in txq wakeup")
> Signed-off-by: Joshua Hay <[email protected]>
> Reviewed-by: Madhu Chittim <[email protected]>
> ---
> v2:
> - Init buf_count to 1 and += nr_frags to account for header
> - s/unsigned int/u32 where appropriate
> - replaced BUFS_UNUSED macro with static inline func
> ---
> 2.39.2

Tested-by: Samuel Salin <[email protected]>

Reply via email to