net/mlx5: Add mlxfw callbacks
authorOr Gerlitz <[email protected]>
Tue, 18 Apr 2017 12:55:33 +0000 (15:55 +0300)
committerSaeed Mahameed <[email protected]>
Thu, 22 Jun 2017 11:30:13 +0000 (14:30 +0300)
commit62bd22cf326dc4ac5be673c11cef4602dc1f5e47
treeef6a8741551256b4a3110a647f06240e4992304f
parentd2ad488b0073bd1a2c3f5d2ea50a7eb632103e5d
net/mlx5: Add mlxfw callbacks

Add mlx5 implementation for the ones defined by the mlxfw
shared module to be used while flashing the device firmware.

The callbacks do their job through the MCQI, MCC and MCDA registers.

Signed-off-by: Or Gerlitz <[email protected]>
Signed-off-by: Yotam Gigi <[email protected]>
Signed-off-by: Saeed Mahameed <[email protected]>
drivers/net/ethernet/mellanox/mlx5/core/fw.c
drivers/net/ethernet/mellanox/mlx5/core/mlx5_core.h