net/mlx5: fix E-Switch sample action creation
authorJiawei Wang <jiaweiw@nvidia.com>
Tue, 26 Jan 2021 12:53:32 +0000 (14:53 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 29 Jan 2021 17:16:08 +0000 (18:16 +0100)
commitce0f14c651490fd2a8b2c07a0e4a3a4bc96692e5
tree1938ebd5c595d4889fd7ef88a715ff7884719970
parent1d89c4045390e7c7fba772f035b88a64ba00e7c1
net/mlx5: fix E-Switch sample action creation

This patch fixes the incorrect checking for the return value
of default miss action creation.

Fixes: 14020ad53d4e ("net/mlx5: wrap default miss flow action per OS")
Cc: stable@dpdk.org
Signed-off-by: Jiawei Wang <jiaweiw@nvidia.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com>
drivers/net/mlx5/mlx5_flow_dv.c