net/mlx5: fix shared RSS action update
authorAndrey Vesnovaty <andreyv@nvidia.com>
Sun, 22 Nov 2020 14:49:51 +0000 (16:49 +0200)
committerRaslan Darawsheh <rasland@nvidia.com>
Sun, 22 Nov 2020 15:40:03 +0000 (16:40 +0100)
commitfa7ad49e96b5dca8fcb774a27d47593b1b6c1bed
tree37042a12383b191027b08bc65b8d3fe8a425a717
parent5ea8356ec86bd9c4d5bd52588522b9911f18836d
net/mlx5: fix shared RSS action update

The shared RSS action update was not operational due to lack
of kernel driver support of TIR object modification.
This commit introduces the workaround to support shared RSS
action modify using an indirect queue table update instead of
touching TIR object directly.
Limitations: the only supported RSS property to update is queues, the
rest of the properties ignored.

Fixes: d2046c09aa64 ("net/mlx5: support shared action for RSS")

Signed-off-by: Andrey Vesnovaty <andreyv@nvidia.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com>
drivers/net/mlx5/mlx5.h
drivers/net/mlx5/mlx5_devx.c
drivers/net/mlx5/mlx5_flow.h
drivers/net/mlx5/mlx5_flow_dv.c
drivers/net/mlx5/mlx5_rxq.c
drivers/net/mlx5/mlx5_rxtx.h