HomeFreeBSD

gve: Add feature to adjust RX/TX queue counts

Description

gve: Add feature to adjust RX/TX queue counts

This change introduces new sysctl handlers that allow the user to change
RX/TX queue counts. As before, the default queue counts will be the max
value the device can support. When chaning queue counts, the interface turns
down momentarily while allocating/freeing resources as necessary.

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

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

Details

Provenance
veethebee_google.comAuthored on Apr 4 2025, 10:53 PM
markjCommitted on Apr 4 2025, 11:24 PM
Reviewer
markj
Differential Revision
D49427: gve: Add feature to adjust RX/TX queue counts
Parents
rGf8ed8382daf4: gve: Allocate qpl per ring at ring allocation time
Branches
Unknown
Tags
Unknown