]> 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)
commite36d04784ccbf58ce0c1db477c640a42eebd2c8c
treeaa924964ae6ddadbdd2afdcd7cb3ef1eeddd58a3
parent02eaec746f343cf9d62746d48ac5114c945fbce0
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