Bug 1026 - ethdev API: rte_eth_dev_adjust_nb_rx_tx_desc
Summary: ethdev API: rte_eth_dev_adjust_nb_rx_tx_desc
Status: UNCONFIRMED
Alias: None
Product: DPDK
Classification: Unclassified
Component: ethdev (show other bugs)
Version: 20.11
Hardware: All Linux
: Normal normal
Target Milestone: ---
Assignee: dev
URL:
Depends on:
Blocks:
 
Reported: 2022-06-06 12:09 CEST by Giovanni Tosatti
Modified: 2022-06-06 12:09 CEST (History)
0 users



Attachments

Description Giovanni Tosatti 2022-06-06 12:09:21 CEST
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

Note You need to log in before you can comment on or make changes to this bug.