diff options
author | Eli Cohen | 2015-10-14 16:43:47 +0200 |
---|---|---|
committer | David S. Miller | 2015-10-15 04:14:43 +0200 |
commit | e3297246c2c8cf8548ba722da3e3a8104cdcd035 (patch) | |
tree | 849d14b7ad682ed628dad341fb227eac75529ebd /include/linux/mlx5/device.h | |
parent | net/mlx5_core: Add pci error handlers to mlx5_core driver (diff) | |
download | kernel-qcow2-linux-e3297246c2c8cf8548ba722da3e3a8104cdcd035.tar.gz kernel-qcow2-linux-e3297246c2c8cf8548ba722da3e3a8104cdcd035.tar.xz kernel-qcow2-linux-e3297246c2c8cf8548ba722da3e3a8104cdcd035.zip |
net/mlx5_core: Wait for FW readiness on startup
On device initialization, wait till firmware indicates that that it is done
with initialization before proceeding to initialize the device.
Also update initialization segment layout to match driver/firmware
interface definitions.
Signed-off-by: Eli Cohen <eli@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/mlx5/device.h')
-rw-r--r-- | include/linux/mlx5/device.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/mlx5/device.h b/include/linux/mlx5/device.h index 2a0b95662548..0b473cbfa7ef 100644 --- a/include/linux/mlx5/device.h +++ b/include/linux/mlx5/device.h @@ -439,7 +439,8 @@ struct mlx5_init_seg { __be32 cmdq_addr_h; __be32 cmdq_addr_l_sz; __be32 cmd_dbell; - __be32 rsvd1[121]; + __be32 rsvd1[120]; + __be32 initializing; struct health_buffer health; __be32 rsvd2[884]; __be32 health_counter; |