Re: [PATCH net] gve: unlink old napi only if page pool exists

From: Simon Horman
Date: Thu Mar 20 2025 - 13:25:36 EST


On Mon, Mar 17, 2025 at 09:41:41PM +0000, Harshitha Ramamurthy wrote:
> Commit de70981f295e ("gve: unlink old napi when stopping a queue using
> queue API") unlinks the old napi when stopping a queue. But this breaks
> QPL mode of the driver which does not use page pool. Fix this by checking
> that there's a page pool associated with the ring.
>
> Cc: stable@xxxxxxxxxxxxxxx
> Fixes: de70981f295e ("gve: unlink old napi when stopping a queue using queue API")
> Reviewed-by: Joshua Washington <joshwash@xxxxxxxxxx>
> Signed-off-by: Harshitha Ramamurthy <hramamurthy@xxxxxxxxxx>

Reviewed-by: Simon Horman <horms@xxxxxxxxxx>