mirror of
https://github.com/opnsense/src.git
synced 2026-02-13 15:57:05 -05:00
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 (cherry picked from commit 22fe926a62b7bca771d46502dd6a8c202f25b5be) |
||
|---|---|---|
| .. | ||
| gve.h | ||
| gve_adminq.c | ||
| gve_adminq.h | ||
| gve_desc.h | ||
| gve_dqo.h | ||
| gve_main.c | ||
| gve_plat.h | ||
| gve_qpl.c | ||
| gve_register.h | ||
| gve_rx.c | ||
| gve_rx_dqo.c | ||
| gve_sysctl.c | ||
| gve_tx.c | ||
| gve_tx_dqo.c | ||
| gve_utils.c | ||