]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: Move flow counters data structures from flow steering header
authorSaeed Mahameed <saeedm@mellanox.com>
Wed, 5 Dec 2018 02:03:03 +0000 (18:03 -0800)
committerSaeed Mahameed <saeedm@mellanox.com>
Mon, 10 Dec 2018 02:16:16 +0000 (18:16 -0800)
commite160925835930cdc952df014ff895a18bb4d9357
treec0e1859715bbd0126ba27cff25656bb51065cf8a
parentd20d5d9a20105edfc5be7635ed473067e807c549
net/mlx5: Move flow counters data structures from flow steering header

After the following flow counters API refactoring:
("net/mlx5: Use flow counter IDs and not the wrapping cache object")
flow counters private data structures mlx5_fc_cache and mlx5_fc are
redundantly exposed in fs_core.h, they have nothing to do with flow
steering core and they are private to fs_counter.c, this patch moves them
to where they belong and reduces their exposure in the driver.

Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/fs_core.h
drivers/net/ethernet/mellanox/mlx5/core/fs_counters.c