commit | bd5251dbf156b6bc0661a9409d46e47160df61dd | [log] [tgz] |
---|---|---|
author | Amir Vadai <amirva@mellanox.com> | Fri May 13 12:55:40 2016 +0000 |
committer | David S. Miller <davem@davemloft.net> | Mon May 16 13:43:51 2016 -0400 |
tree | 4d2fa3780ab1a0c30c6b1814245e84fe1b69e22c | |
parent | 9dc0b289c4c09bc1a92bdcc055cb37af9b72eb28 [diff] |
net/mlx5_core: Introduce flow steering destination of type counter When adding a flow steering rule with a counter, need to supply a destination of type MLX5_FLOW_DESTINATION_TYPE_COUNTER, with a pointer to a struct mlx5_fc. Also, MLX5_FLOW_CONTEXT_ACTION_COUNT bit should be set in the action. Signed-off-by: Amir Vadai <amirva@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>