]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: Check device capability for maximum flow counters
authorRaed Salem <raeds@mellanox.com>
Sun, 30 Jul 2017 08:02:51 +0000 (11:02 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Thu, 28 Sep 2017 04:23:09 +0000 (07:23 +0300)
commit5e69784bac05dc972466e76f0911c866834b7c58
treea61474d598ef7cdc97934816a0ad82cd34b10fae
parent6257050d0b4866ebe086d34f6bf29e8b2ccdd690
net/mlx5: Check device capability for maximum flow counters

Added check for the maximal number of flow counters attached
to rule (FTE).

Fixes: 3e40216989d8f ('net/mlx5_core: Introduce flow steering destination of type counter')
Signed-off-by: Raed Salem <raeds@mellanox.com>
Reviewed-by: Maor Gottlieb <maorg@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c
drivers/net/ethernet/mellanox/mlx5/core/fs_core.h
include/linux/mlx5/mlx5_ifc.h