aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/mlx5/device.h
diff options
context:
space:
mode:
authorHans Petter Selasky <hselasky@FreeBSD.org>2018-03-23 18:24:09 +0000
committerHans Petter Selasky <hselasky@FreeBSD.org>2018-03-23 18:24:09 +0000
commitfe242ba7c1fe35a8e6b994d293ba5bbc587eeb1c (patch)
treee86e8b88edd1e2704e38cfcca600d8f4bcad9d24 /sys/dev/mlx5/device.h
parent2d3f4181de530febebb51700523d7304db68dcc5 (diff)
Notes
Diffstat (limited to 'sys/dev/mlx5/device.h')
-rw-r--r--sys/dev/mlx5/device.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/sys/dev/mlx5/device.h b/sys/dev/mlx5/device.h
index 2e3e44ad1d4c4..6db05f9f0069d 100644
--- a/sys/dev/mlx5/device.h
+++ b/sys/dev/mlx5/device.h
@@ -410,6 +410,10 @@ struct mlx5_cmd_layout {
u8 status_own;
};
+enum mlx5_fatal_assert_bit_offsets {
+ MLX5_RFR_OFFSET = 31,
+};
+
struct mlx5_health_buffer {
__be32 assert_var[5];
__be32 rsvd0[3];
@@ -418,12 +422,20 @@ struct mlx5_health_buffer {
__be32 rsvd1[2];
__be32 fw_ver;
__be32 hw_id;
- __be32 rsvd2;
+ __be32 rfr;
u8 irisc_index;
u8 synd;
__be16 ext_synd;
};
+enum mlx5_initializing_bit_offsets {
+ MLX5_FW_RESET_SUPPORTED_OFFSET = 30,
+};
+
+enum mlx5_cmd_addr_l_sz_offset {
+ MLX5_NIC_IFC_OFFSET = 8,
+};
+
struct mlx5_init_seg {
__be32 fw_rev;
__be32 cmdif_rev_fw_sub;