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

Details

Provenance
veethebee_google.comAuthored on Fri, Apr 4, 10:53 PM
markjCommitted on Fri, Apr 4, 11:24 PM
Reviewer
markj
Differential Revision
D49426: gve: Allocate qpl per ring at ring allocation time
Parents
rG43c1eb894a57: vm_object: Fix handling of wired map entries in vm_object_split()
Branches
Unknown
Tags
Unknown