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

(cherry picked from commit e0464f74d5579e1538ce741b0a15e6604dbc53c4)

Details

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