aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/mlx5/driver.h
diff options
context:
space:
mode:
authorMoshe Shemesh <moshe@mellanox.com>2020-04-24 12:45:06 -0700
committerSaeed Mahameed <saeedm@mellanox.com>2020-04-28 12:45:18 -0700
commit06939536263d684073a30543930622eede633af1 (patch)
tree7e6924de72b9dc71d20882d9d2cfd4beec6455cb /include/linux/mlx5/driver.h
parentnet/mlx5: Refactor imm_inval_pkey field in cqe struct (diff)
downloadwireguard-linux-06939536263d684073a30543930622eede633af1.tar.xz
wireguard-linux-06939536263d684073a30543930622eede633af1.zip
net/mlx5: Add structure layout and defines for MFRL register
Add needed structure layouts and defines for MFRL (Management Firmware Reset Level) register. This structure will be used for the firmware upgrade and reset flow in the downstream patches. Signed-off-by: Moshe Shemesh <moshe@mellanox.com> Reviewed-by: Tariq Toukan <tariqt@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'include/linux/mlx5/driver.h')
-rw-r--r--include/linux/mlx5/driver.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mlx5/driver.h b/include/linux/mlx5/driver.h
index b46537a81703..d82dbbab8179 100644
--- a/include/linux/mlx5/driver.h
+++ b/include/linux/mlx5/driver.h
@@ -130,6 +130,7 @@ enum {
MLX5_REG_NODE_DESC = 0x6001,
MLX5_REG_HOST_ENDIANNESS = 0x7004,
MLX5_REG_MCIA = 0x9014,
+ MLX5_REG_MFRL = 0x9028,
MLX5_REG_MLCR = 0x902b,
MLX5_REG_MTRC_CAP = 0x9040,
MLX5_REG_MTRC_CONF = 0x9041,