> > The number of descriptors configured is returned to a user via the > > rxq_info_get > > API. This number is incorrect for MPRQ. > > For SPRQ this number matches the number of mbufs allocated. > > For MPRQ we have fewer external MPRQ buffers that can hold multiple > > packets in strides of this big buffer. Take that into account and return the > > number of MPRQ buffers multiplied by the number of strides in this case. > > > > Fixes: 26f1bae837 ("net/mlx5: add Rx/Tx burst mode info") > > Cc: sta...@dpdk.org > > > > Signed-off-by: Alexander Kozyrev <akozy...@nvidia.com> > Acked-by: Viacheslav Ovsiienko <viachesl...@nvidia.com>
Applied in next-net-mlx, thanks.