[dpdk-dev] [PATCH] net/mlx5: fix Rx queue release assertions

Ori Kam orika at mellanox.com
Wed Nov 20 11:53:31 CET 2019



> -----Original Message-----
> From: dev <dev-bounces at dpdk.org> On Behalf Of Matan Azrad
> Sent: Wednesday, November 20, 2019 11:21 AM
> To: dev at dpdk.org
> Cc: Slava Ovsiienko <viacheslavo at mellanox.com>; Ori Kam
> <orika at mellanox.com>
> Subject: [dpdk-dev] [PATCH] net/mlx5: fix Rx queue release assertions
> 
> In debug mode, there is assertion to validate the CQ object before the
> release.
> 
> Wrongly, the assertion is done for any type of RX queue even if it
> doesn't use CQ at all, for example in hairpin Rx queue.
> 
> Ignore CQ assertion when hairpin queue is released.
> 
> Fixes: e79c9be91515 ("net/mlx5: support Rx hairpin queues")
> Cc: orika at mellanox.com
> 
> Signed-off-by: Matan Azrad <matan at mellanox.com>
> ---

Acked-by: Ori Kam <orika at mellanox.com>
Thanks,
Ori


More information about the dev mailing list