diff options
author | Matthew Smith <mgsmith@netgate.com> | 2024-09-25 11:26:58 -0500 |
---|---|---|
committer | Fan Zhang <fanzhang.oss@gmail.com> | 2024-10-22 09:05:09 +0000 |
commit | e7226a21274c48909a76dde69ea00a38f5413438 (patch) | |
tree | 4896bb600e91646354ffcba5b92b617a3b58dfd8 /src/vnet/pg/example.script | |
parent | 2e8a406aaf559817f9799908087e7dd671d17094 (diff) |
dpdk: validate number of tx descriptors
The default number of tx descriptors per queue is 1024. On some device
types, this is larger than the maximum allowed value and
rte_eth_tx_queue_setup() can return an error. Compare the configured
value to the maximum value for each device and set the configured
value to the maximum value if the configured value is larger.
Type: improvement
Signed-off-by: Matthew Smith <mgsmith@netgate.com>
Change-Id: Ie29c5c6d58c76388f65f266032821140b0f879fb
Diffstat (limited to 'src/vnet/pg/example.script')
0 files changed, 0 insertions, 0 deletions