net/mlx5: handle RSS action in sample
authorJiawei Wang <jiaweiw@nvidia.com>
Thu, 14 Jan 2021 07:24:47 +0000 (09:24 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 19 Jan 2021 12:49:41 +0000 (13:49 +0100)
commitbd49d1d343058a3e2478cc3997fa952b3e4d721f
treee17d179058fe094e6eeb7fc5782e4401342a1fb2
parent6c2a3a90496527affc566bda518b8c33908b00d2
net/mlx5: handle RSS action in sample

PMD validates the rss action in the sample sub-actions list,
then translates into rdma-core action and it will be used for sample
path destination.

If the RSS action is in both sample sub-actions list and original flow,
the rss level and rss type in the sample sub-actions list should be
consistent with the original flow list, since the expanding items
for RSS should be the same for both actions.

Signed-off-by: Jiawei Wang <jiaweiw@nvidia.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com>
doc/guides/nics/mlx5.rst
doc/guides/rel_notes/release_21_02.rst
drivers/net/mlx5/mlx5_flow.c
drivers/net/mlx5/mlx5_flow_dv.c