]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit54090c3d781777140a5765992cdc44faac7c97af
treeaa924964ae6ddadbdd2afdcd7cb3ef1eeddd58a3
parenta7e5862a6fe83ebd5983610884f857453c656596
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