Skip to contentSkip to conversation

ethdev API: rte_eth_dev_adjust_nb_rx_tx_desc

Bug 1026 [email protected] 1 participant 1 message Jun 6, 2022

lore
Share & tools
lore
#0 lore raw

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

            Bug ID: 1026
           Summary: ethdev API: rte_eth_dev_adjust_nb_rx_tx_desc
           Product: DPDK
           Version: 20.11
          Hardware: All
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: ethdev
          Assignee: [email protected]
          Reporter: [email protected]

Target Milestone: ---

We are using the "rte_eth_dev_adjust_nb_rx_tx_desc" API in order to get the descriptors limits of a NIC. Basically, by initializing the desc parameters with an "uint16_t" value it should returns the top limit and it is working fine with some NICs (e.g. Mellanox Cx5).

The problem is that some NIC's (e.g. Intel XXV710) seems to not really support "unsigned" value by returning the lower limit instead. Differently, it works correctly returning the top limit by using 32767 instead of 65535.

Please, could you confirm if this is a know issue ?

Thanks,
Giovanni

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