Re: [dpdk-dev] [PATCH] net/virtio: report max/min/align Tx desc limits in dev info

2021-09-28 Thread Maxime Coquelin
On 9/15/21 14:23, Andrew Rybchenko wrote: From: Ivan Ilchenko Report max/min/align Tx descriptors limits in device info get callback. Before calling the callback, rte_eth_dev_info_get() provides default values of nb_min as zero and nb_max as UINT16_MAX that are not correct for the driver, so

Re: [dpdk-dev] [PATCH] net/virtio: report max/min/align Tx desc limits in dev info

2021-09-15 Thread Maxime Coquelin
On 9/15/21 2:23 PM, Andrew Rybchenko wrote: > From: Ivan Ilchenko > > Report max/min/align Tx descriptors limits in device info get callback. > Before calling the callback, rte_eth_dev_info_get() provides > default values of nb_min as zero and nb_max as UINT16_MAX that are > not correct for th

[dpdk-dev] [PATCH] net/virtio: report max/min/align Tx desc limits in dev info

2021-09-15 Thread Andrew Rybchenko
From: Ivan Ilchenko Report max/min/align Tx descriptors limits in device info get callback. Before calling the callback, rte_eth_dev_info_get() provides default values of nb_min as zero and nb_max as UINT16_MAX that are not correct for the driver, so one can't rely on them. Signed-off-by: Ivan I