net/mlx5: fix unnecessary checking for RSS action
authorJiawei Wang <jiaweiw@nvidia.com>
Thu, 14 Jan 2021 07:24:46 +0000 (09:24 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 19 Jan 2021 02:30:32 +0000 (03:30 +0100)
commit6c2a3a90496527affc566bda518b8c33908b00d2
treed94e44acc3480445f565fac0f91ea3fab6c10a05
parent11b1b0eddade2c78471f7cf67430e0727f727d88
net/mlx5: fix unnecessary checking for RSS action

RSS action is valid only in NIC-RX domain, this fix bypass
the function that getting RSS action from the flow action list
under no NIC-RX domain.

Fixes: e745f900072e ("net/mlx5: optimize flow RSS struct")
Cc: stable@dpdk.org
Signed-off-by: Jiawei Wang <jiaweiw@nvidia.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com>
drivers/net/mlx5/mlx5_flow.c