net/mlx5: Add option to add fwd rule with counter
authorMark Bloch <markb@mellanox.com>
Tue, 20 Sep 2016 07:59:05 +0000 (07:59 +0000)
committerLeon Romanovsky <leon@kernel.org>
Sun, 30 Oct 2016 13:43:17 +0000 (15:43 +0200)
commitae05831424ed99f1432492d6df7e8bfe139d2449
treecee14a7be87a69b1fbb810dba3c4aca1ff5c60a6
parent74491de937125d0c98c9b9c9208b4105717a3caa
net/mlx5: Add option to add fwd rule with counter

Currently the code supports only drop rules to possess counters,
add that ability also for fwd rules.

Signed-off-by: Mark Bloch <markb@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c