On 9/15/21 2:23 PM, Andrew Rybchenko wrote:
> From: Ivan Ilchenko <[email protected]>
>
> 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 Ilchenko <[email protected]>
> Signed-off-by: Andrew Rybchenko <[email protected]>
> ---
> drivers/net/virtio/virtio_ethdev.c | 4 ++++
> 1 file changed, 4 insertions(+)
>
Reviewed-by: Maxime Coquelin <[email protected]>
Thanks,
Maxime