Changeset View
Changeset View
Standalone View
Standalone View
share/man/man4/gve.4
| Show First 20 Lines • Show All 224 Lines • ▼ Show 20 Lines | |||||
| The queue format in use. | The queue format in use. | ||||
| This is read-only. | This is read-only. | ||||
| .It Va hw.gve.disable_hw_lro | .It Va hw.gve.disable_hw_lro | ||||
| Setting this boot-time tunable to 1 disables Large Receive Offload (LRO) in the NIC. | Setting this boot-time tunable to 1 disables Large Receive Offload (LRO) in the NIC. | ||||
| The default value is 0, which means hardware LRO is enabled by default. | The default value is 0, which means hardware LRO is enabled by default. | ||||
| The software LRO stack in the kernel is always used. | The software LRO stack in the kernel is always used. | ||||
| This sysctl variable needs to be set before loading the driver, using | This sysctl variable needs to be set before loading the driver, using | ||||
| .Xr loader.conf 5 . | .Xr loader.conf 5 . | ||||
| .It Va hw.gve.allow_4k_rx_buffers | |||||
| Setting this boot-time tunable to 1 enables support for 4K RX Buffers. | |||||
| The default value is 0, which means 2K RX Buffers will be used. | |||||
| 4K RX Buffers are only supported on DQO_RDA and DQO_QPL queue formats. | |||||
| When enabled, 4K RX Buffers will be used either when HW LRO is enabled | |||||
| or mtu is greated than 2048. | |||||
| This sysctl variable needs to be set before loading the driver, using | |||||
| .Xr loader.conf 5 . | |||||
| .It Va dev.gve.X.num_rx_queues and dev.gve.X.num_tx_queues | .It Va dev.gve.X.num_rx_queues and dev.gve.X.num_tx_queues | ||||
| Run-time tunables that represent the number of currently used RX/TX queues. | Run-time tunables that represent the number of currently used RX/TX queues. | ||||
| The default value is the max number of RX/TX queues the device can support. | The default value is the max number of RX/TX queues the device can support. | ||||
| .Pp | .Pp | ||||
| This call turns down the interface while setting up the new queues, | This call turns down the interface while setting up the new queues, | ||||
| which may potentially cause any new packets to be dropped. | which may potentially cause any new packets to be dropped. | ||||
| This call can fail if the system is not able to provide the driver with enough resources. | This call can fail if the system is not able to provide the driver with enough resources. | ||||
| In that situation, the driver will revert to the previous number of RX/TX queues. | In that situation, the driver will revert to the previous number of RX/TX queues. | ||||
| ▲ Show 20 Lines • Show All 62 Lines • Show Last 20 Lines | |||||