net/mlx5: Access register and MAD IFC commands via mlx5 ifc
authorSaeed Mahameed <saeedm@mellanox.com>
Sat, 16 Jul 2016 21:46:41 +0000 (00:46 +0300)
committerLeon Romanovsky <leon@kernel.org>
Sun, 14 Aug 2016 11:38:57 +0000 (14:38 +0300)
commit20ed51c643b6296789a48adc3bc2cc875a1612cf
tree9a1e17128ea962d44188ccc476884fac25d6ea48
parent04ed5ad5db6880d53dd1bb8c93e82228a462a4dd
net/mlx5: Access register and MAD IFC commands via mlx5 ifc

Remove old representation of manually created ACCESS_REG/MAD_IFC
commands layout and use mlx5_ifc canonical structures and defines.

Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/net/ethernet/mellanox/mlx5/core/mad.c
drivers/net/ethernet/mellanox/mlx5/core/port.c
include/linux/mlx5/device.h