net/mlx5: Enable count action for rules with allow action
authorMichael Guralnik <michaelgur@mellanox.com>
Wed, 15 Jul 2020 04:28:35 +0000 (21:28 -0700)
committerSaeed Mahameed <saeedm@mellanox.com>
Thu, 16 Jul 2020 05:21:29 +0000 (22:21 -0700)
commit4c2573e1f6c79525df9094f6ba085fcc35c18c45
treedc5eca00b142920e271346573ff35b6fa3791ee3
parent8a06a79b0aa811eee6d56b3cfc738c5d08b0dc74
net/mlx5: Enable count action for rules with allow action

Enable the creation of rules with allow and count actions.
This enables using counters on egress flow tables.

Signed-off-by: Michael Guralnik <michaelgur@mellanox.com>
Reviewed-by: Mark Bloch <markb@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c