[PATCH] net/gve: always attempt Rx refill on DQ

Ferruh Yigit ferruh.yigit at amd.com
Fri Oct 4 06:47:44 CEST 2024


On 10/2/2024 12:45 AM, Joshua Washington wrote:
> Before this patch, gve_rx_refill_dqo() is only called if the number of
> packets received in a cycle is non-zero. However, in a
> memory-constrained scenario, this doesn't behave well, as this could be
> a potential source of lockup, if there is no memory and all buffers have
> been received before memory is freed up for the driver to use.
> 
> This patch moves the gve_rx_refill_dqo() call to occur regardless of
> whether packets have been received so that in the case that enough
> memory is freed, the driver can recover.
> 
> Fixes: 45da16b5b181 ("net/gve: support basic Rx data path for DQO")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Joshua Washington <joshwash at google.com>
> Reviewed-by: Praveen Kaligineedi <pkaligineedi at google.com>
> Reviewed-by: Rushil Gupta <rushilg at google.com>
>

Applied to dpdk-next-net/main, thanks.


More information about the dev mailing list