Re: [dpdk-dev] [PATCH] net/virtio: remove handling of zero desc number on RxQ setup

2021-09-14 Thread Maxime Coquelin
On 8/20/21 2:47 PM, Andrew Rybchenko wrote: > From: Ivan Ilchenko > > Rx queue setup callback allows to use the whole ring when > descriptor number argument equals zero. There's no point to > handle zero in any way since RTE Rx queue setup function > rte_eth_rx_queue_setup() doesn't pass zero

Re: [dpdk-dev] [PATCH] net/virtio: remove handling of zero desc number on RxQ setup

2021-09-14 Thread Andrew Rybchenko
On 9/14/21 10:26 AM, Maxime Coquelin wrote: > > > On 9/14/21 8:40 AM, Andrew Rybchenko wrote: >> On 9/13/21 10:25 PM, Maxime Coquelin wrote: >>> >>> >>> On 8/20/21 2:47 PM, Andrew Rybchenko wrote: From: Ivan Ilchenko Rx queue setup callback allows to use the whole ring when d

Re: [dpdk-dev] [PATCH] net/virtio: remove handling of zero desc number on RxQ setup

2021-09-14 Thread Maxime Coquelin
On 9/14/21 8:40 AM, Andrew Rybchenko wrote: > On 9/13/21 10:25 PM, Maxime Coquelin wrote: >> >> >> On 8/20/21 2:47 PM, Andrew Rybchenko wrote: >>> From: Ivan Ilchenko >>> >>> Rx queue setup callback allows to use the whole ring when >>> descriptor number argument equals zero. There's no point t

Re: [dpdk-dev] [PATCH] net/virtio: remove handling of zero desc number on RxQ setup

2021-09-13 Thread Andrew Rybchenko
On 9/13/21 10:25 PM, Maxime Coquelin wrote: > > > On 8/20/21 2:47 PM, Andrew Rybchenko wrote: >> From: Ivan Ilchenko >> >> Rx queue setup callback allows to use the whole ring when >> descriptor number argument equals zero. There's no point to >> handle zero in any way since RTE Rx queue setup f

Re: [dpdk-dev] [PATCH] net/virtio: remove handling of zero desc number on RxQ setup

2021-09-13 Thread Maxime Coquelin
On 8/20/21 2:47 PM, Andrew Rybchenko wrote: > From: Ivan Ilchenko > > Rx queue setup callback allows to use the whole ring when > descriptor number argument equals zero. There's no point to > handle zero in any way since RTE Rx queue setup function > rte_eth_rx_queue_setup() doesn't pass zero

[dpdk-dev] [PATCH] net/virtio: remove handling of zero desc number on RxQ setup

2021-08-20 Thread Andrew Rybchenko
From: Ivan Ilchenko Rx queue setup callback allows to use the whole ring when descriptor number argument equals zero. There's no point to handle zero in any way since RTE Rx queue setup function rte_eth_rx_queue_setup() doesn't pass zero using fallback values. Fixes: 3be82f5cc5e3 ("ethdev: suppo