net/mlx5: Use flow counter pointer as input to the query function
authorOr Gerlitz <ogerlitz@mellanox.com>
Thu, 31 May 2018 13:43:29 +0000 (16:43 +0300)
committerLeon Romanovsky <leonro@mellanox.com>
Sat, 2 Jun 2018 04:33:52 +0000 (07:33 +0300)
commit930821e39d0a5f91ed58fea1692afe04f0fe0e1f
treeaa924964ae6ddadbdd2afdcd7cb3ef1eeddd58a3
parentab741b2eed3e456cebd2240d4c9c6be003d5ae72
net/mlx5: Use flow counter pointer as input to the query function

This allows to un-expose the details of struct mlx5_fc and keep it
internal to the core driver.

Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/eswitch.c
drivers/net/ethernet/mellanox/mlx5/core/fs_core.h
drivers/net/ethernet/mellanox/mlx5/core/fs_counters.c