summaryrefslogtreecommitdiff
path: root/include/linux/mlx5/device.h
diff options
context:
space:
mode:
authorAmir Tzin <amirtz@nvidia.com>2021-07-21 16:14:12 +0300
committerSaeed Mahameed <saeedm@nvidia.com>2021-10-16 03:37:42 +0300
commit4b2c5fa9c9902ce34ecea6711558d9af96351b31 (patch)
tree42508535491042e886325a51ae084786ed27c5d1 /include/linux/mlx5/device.h
parent295711fa8fec42a55623bf6997d05a21d7855132 (diff)
downloadlinux-4b2c5fa9c9902ce34ecea6711558d9af96351b31.tar.xz
net/mlx5: Add layout to support default timeouts register
Add needed structures and defines for DTOR (default timeouts register). This will be used to get timeouts values from FW instead of hard coded values in the driver code thus enabling support for slower devices which need longer timeouts. Signed-off-by: Amir Tzin <amirtz@nvidia.com> Reviewed-by: Moshe Shemesh <moshe@nvidia.com> Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'include/linux/mlx5/device.h')
-rw-r--r--include/linux/mlx5/device.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/mlx5/device.h b/include/linux/mlx5/device.h
index 66eaf0aa7f69..109cc8106d16 100644
--- a/include/linux/mlx5/device.h
+++ b/include/linux/mlx5/device.h
@@ -577,7 +577,9 @@ struct mlx5_init_seg {
__be32 rsvd1[120];
__be32 initializing;
struct health_buffer health;
- __be32 rsvd2[880];
+ __be32 rsvd2[878];
+ __be32 cmd_exec_to;
+ __be32 cmd_q_init_to;
__be32 internal_timer_h;
__be32 internal_timer_l;
__be32 rsvd3[2];