OSDN Git Service

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)
commit7300375f181e06ba98183509065c6b71bead442d
treec0e1859715bbd0126ba27cff25656bb51065cf8a
parentbdefffd13bf294a5a0c16255650020bff98954c7
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