]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: DR, Enable counter on non-fwd-dest objects
authorErez Shitrit <erezsh@mellanox.com>
Wed, 8 Jan 2020 12:17:32 +0000 (14:17 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Fri, 24 Jan 2020 20:04:25 +0000 (12:04 -0800)
commit8053a97956bf5a355e3f3e55cf4f376506724f38
tree7b7a880ec74fae0363dbb6cfafa2db8ace1889a8
parent10f3ea05980387f3f1038bac48a7fb037ab8cf85
net/mlx5: DR, Enable counter on non-fwd-dest objects

The current code handles only counters that attached to dest, we still
have the cases where we have counter on non-dest, like over drop etc.

Fixes: 38db5c7cc405 ("net/mlx5: Add direct rule fs_cmd implementation")
Signed-off-by: Hamdan Igbaria <hamdani@mellanox.com>
Signed-off-by: Erez Shitrit <erezsh@mellanox.com>
Reviewed-by: Alex Vesker <valex@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/steering/fs_dr.c