Skip to contentSkip to conversation

net/mlx5: cannot transmit if Tx queue is setup with maximum number of descriptors

Bug 1129 [email protected] 1 participant 1 message Nov 17, 2022

lore
Share & tools
lore
#0 lore raw

https://bugs.dpdk.org/show_bug.cgi?id=1129

Bug ID: 1129
Summary: net/mlx5: cannot transmit if Tx queue is setup with
maximum number of descriptors
Product: DPDK
Version: 22.11
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: ethdev
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---

net/mlx5: cannot transmit if Tx queue is setup with maximum number of descriptors

net/mlx5 does not report Rx/Tx descriptors limits (min/max/align). As the result application sees theoretical maximum UINT16_MAX (65535) which is set as the default by ethdev.

If application tries to use the value to setup Tx queue, setup succeed, but Tx burst always returns 0. I guess the reason is in the following log message:

mlx5_net: port 0 increased number of descriptors in Tx queue 0 to the next power of two (0)

i.e. effective number of descriptors is equal to 0.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.