[PATCH v2] net/gve: change QPLs to be queue resources
Ferruh Yigit
ferruh.yigit at amd.com
Fri Jul 5 23:13:01 CEST 2024
On 6/14/2024 12:53 AM, Joshua Washington wrote:
> Prior to this change, queue page lists (QPLs) were kept as device
> resources, being stored in the gve_priv struct. This does not make
> sense because each QPL inherently belongs to a single queue.
>
> This change moves all QPL resources into the queues themselves, and
> couples QPL allocation/registration and de-registration/deallocation
> with the queue creation and destruction processes, respectively. Before
> this change, QPL structs part of gve_priv were allocated as part of
> driver initialization, which similarly does not make sense.
>
> Signed-off-by: Joshua Washington <joshwash at google.com>
> Reviewed-by: Harshitha Ramamurthy <hramamurthy at google.com>
> Reviewed-by: Rushil Gupta <rushilg at google.com>
>
Applied to dpdk-next-net/main, thanks.
(fixed .mailmap while fixing, it should list all emails in the git
history, first one being primary one.)
More information about the dev
mailing list