On 2/16/2023 12:29 AM, Mingxia Liu wrote: > Add support for rx_queue_setup ops. > > Signed-off-by: Mingxia Liu <[email protected]>
<...>
> +
> + if (bufq_id == 1) {
> + rxq->bufq1 = bufq;
> + } else if (bufq_id == 2) {
> + rxq->bufq2 = bufq;
For readability better to use enums to diffrentiate queues, instead of
using 1 and 2 as paramter to function.
Also I wonder if queue variable names can be improved too, from 'bufq1'
& 'bufq2' to something more descriptive.

