net/mlx5e: Move counter creation call to alloc_flow_attr_counter()
authorRoi Dayan <roid@nvidia.com>
Sun, 10 Oct 2021 12:05:06 +0000 (15:05 +0300)
committerSaeed Mahameed <saeedm@nvidia.com>
Thu, 27 Jan 2022 20:37:31 +0000 (12:37 -0800)
commitdf67ad625b9ef1c7400f3573df8ac36ab9f56260
tree49e350c791b82ee8fe88646be59845953e81d3d3
parentc118ebc98233eb1383f1adfeea4fa8e59f635088
net/mlx5e: Move counter creation call to alloc_flow_attr_counter()

Move shared code to alloc_flow_attr_counter() for reuse by the next patches.

Signed-off-by: Roi Dayan <roid@nvidia.com>
Reviewed-by: Oz Shlomo <ozsh@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c