Bug 1026

Summary: ethdev API: rte_eth_dev_adjust_nb_rx_tx_desc
Product: DPDK Reporter: Giovanni Tosatti (giovanni.tosatti)
Component: ethdevAssignee: dev
Status: UNCONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: 20.11   
Target Milestone: ---   
Hardware: All   
OS: Linux   

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