net/mlx5: optimize shared RSS list operation
authorSuanming Mou <suanmingm@nvidia.com>
Wed, 28 Oct 2020 09:33:41 +0000 (17:33 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 3 Nov 2020 22:35:04 +0000 (23:35 +0100)
commit84d33890484c68ddf5edcb6ca0840aae0072f97d
tree989e3ce417e85f1e78b7e2962d0074ecc77f3651
parent1ff37bee32579fddd4c8036c2b01d440db3e3d1b
net/mlx5: optimize shared RSS list operation

When create shared RSS hrxq, the hrxq will be created directly, no hrxq
will be reused.

In this case, add the shared RSS hrxq to the queue list is redundant.
And it also hurts the generic queue lookup.

This commit avoids add the shared RSS hrxq to the queue list.

Signed-off-by: Suanming Mou <suanmingm@nvidia.com>
Acked-by: Matan Azrad <matan@nvidia.com>
drivers/net/mlx5/mlx5.h
drivers/net/mlx5/mlx5_rxq.c
drivers/net/mlx5/mlx5_rxtx.h