net/mlx5: fix Rx queue release of resources
authorDekel Peled <dekelp@mellanox.com>
Wed, 24 Jul 2019 09:05:11 +0000 (12:05 +0300)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 24 Jul 2019 16:05:32 +0000 (18:05 +0200)
commitfa071809c6dfcc446ac992db41f6f9e0a03259bb
tree0a211bca29a186c46e5fca4cfd537a5d5719d9fb
parenta88209b04c774b2c72bfb6f288dff4bc01fc9a8b
net/mlx5: fix Rx queue release of resources

Function rxq_release_rq_resources() releases resources of RQ object
created by DevX API.

This patch updates this function to properly clear the released
resources, to avoid repeated release of the same resource.

Fixes: dc9ceff73c99 ("net/mlx5: create advanced RxQ via DevX")

Signed-off-by: Dekel Peled <dekelp@mellanox.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo@mellanox.com>
drivers/net/mlx5/mlx5_rxq.c