diff options
author | Vee Agarwal <veethebee@google.com> | 2025-04-04 22:53:33 +0000 |
---|---|---|
committer | Mark Johnston <markj@FreeBSD.org> | 2025-04-04 23:24:49 +0000 |
commit | 22fe926a62b7bca771d46502dd6a8c202f25b5be (patch) | |
tree | c15bae38778153f40dd02378f37adb4a956ee349 /sbin/route/(public-mirror) | |
parent | e0464f74d5579e1538ce741b0a15e6604dbc53c4 (diff) |
gve: Add feature to change TX/RX ring size
This change introduces new sysctl handlers that allow the user to change
RX/TX ring sizes. As before, the default ring sizes will come from the
device (usually 1024). We also get the max/min limits from the device.
In the case min values are not provided we have statically defined
constants for the min values. Additionally, if the modify ring option is
not enabled on the device, changing ring sizes via sysctl will not be
possible. When changing ring sizes, 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/D49428
Diffstat (limited to 'sbin/route/(public-mirror)')
0 files changed, 0 insertions, 0 deletions