net/mlx5: fix mark action with drop action
authorNélio Laranjeiro <nelio.laranjeiro@6wind.com>
Tue, 24 Oct 2017 15:18:16 +0000 (17:18 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 26 Oct 2017 00:33:01 +0000 (02:33 +0200)
commitd5b854f2b129e813b9a81f8556da46d0851a87eb
treeab0873dc187273669a7a68cbdff063d393684fb7
parentafca916135570611e60df2e3afba9a162cbc15a0
net/mlx5: fix mark action with drop action

Marking a packet which will not be received by the NIC is useless, even
if this action remains possible, it blocks the creation of the flow
counter which embed a mark action to a drop queue to be created.

Fixes: 31ba9997f11a ("net/mlx5: fully convert a flow to verbs in validate")

Signed-off-by: Nelio Laranjeiro <nelio.laranjeiro@6wind.com>
Acked-by: Yongseok Koh <yskoh@mellanox.com>
drivers/net/mlx5/mlx5_flow.c