]> 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)
commitfe198222d0657d89af7c6a70eb542e159a7d522b
treec0e1859715bbd0126ba27cff25656bb51065cf8a
parent40166e596bacac8cd0aed143c258b3f5a47b1a07
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