]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit85147a7ca90a10f6fa33261dffd2756c7eea0a7d
tree49e350c791b82ee8fe88646be59845953e81d3d3
parent8f720a7ef4f10406f8510f5031df2b80330a0ec1
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