net/mlx5: fix adding counter when dev not started
authorOri Kam <orika@mellanox.com>
Mon, 30 Oct 2017 07:32:24 +0000 (09:32 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 1 Nov 2017 21:17:06 +0000 (22:17 +0100)
commit8a177918c39b6a7f3a167370786dd4e8808debc8
treec44da3a361449d9d7101aa3091ee4f3ac86ff22f
parent52dbd92de72f1bda593593a4ca8db9abbd1704fd
net/mlx5: fix adding counter when dev not started

When adding count action to a drop flow rule while the device was not
started, the counter was not saved in the flow.

Fixes: 9a761de8ea14 ("net/mlx5: flow counter support")

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