net/mlx5e: Add tc support for FWD rule with counter
authorMark Bloch <markb@mellanox.com>
Tue, 20 Sep 2016 07:58:29 +0000 (07:58 +0000)
committerLeon Romanovsky <leon@kernel.org>
Sun, 30 Oct 2016 13:43:18 +0000 (15:43 +0200)
commite37a79e5d4cac3831fac3d4afbf2461f56b4b7bd
tree1f94254b6a278504096ba9a505c1d0a0cda53759
parentae05831424ed99f1432492d6df7e8bfe139d2449
net/mlx5e: Add tc support for FWD rule with counter

When creating a FWD rule using tc create also a HW counter
for this rule.

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/en_tc.c
drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c