HomeFreeBSD

gve: Allocate qpl per ring at ring allocation time

Description

gve: Allocate qpl per ring at ring allocation time

Every tx and rx ring has its own queue-page-list (QPL) that serves as
the bounce buffer. Previously we were allocating QPLs for all queues
before the queues themselves were allocated and later associating a QPL
with a queue. This is avoidable complexity: it is much more natural for
each queue to allocate and free its own QPL.

Signed-off-by: Vee Agarwal <veethebee@google.com>

Reviewed by: markj
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D49426

(cherry picked from commit f8ed8382daf4b9a97056b1dba4fe4e5cb4f7485c)

Details

Provenance
veethebee_google.comAuthored on Apr 4 2025, 10:53 PM
markjCommitted on Apr 18 2025, 1:52 PM
Reviewer
markj
Differential Revision
D49426: gve: Allocate qpl per ring at ring allocation time
Parents
rG2a88aad6286d: witness.4: correct name of the debug.witness.witness_count sysctl
Branches
Unknown
Tags
Unknown