File tree Expand file tree Collapse file tree 2 files changed +23
-1
lines changed Expand file tree Collapse file tree 2 files changed +23
-1
lines changed Original file line number Diff line number Diff line change @@ -163,7 +163,9 @@ enum {
163
163
MLX5_REG_MRTCQ = 0x9182 ,
164
164
MLX5_REG_SBCAM = 0xB01F ,
165
165
MLX5_REG_RESOURCE_DUMP = 0xC000 ,
166
+ MLX5_REG_NIC_CAP = 0xC00D ,
166
167
MLX5_REG_DTOR = 0xC00E ,
168
+ MLX5_REG_VHCA_ICM_CTRL = 0xC010 ,
167
169
};
168
170
169
171
enum mlx5_qpts_trust_state {
Original file line number Diff line number Diff line change @@ -1830,7 +1830,7 @@ struct mlx5_ifc_cmd_hca_cap_bits {
1830
1830
u8 regexp_params [0x1 ];
1831
1831
u8 uar_sz [0x6 ];
1832
1832
u8 port_selection_cap [0x1 ];
1833
- u8 reserved_at_251 [0x1 ];
1833
+ u8 nic_cap_reg [0x1 ];
1834
1834
u8 umem_uid_0 [0x1 ];
1835
1835
u8 reserved_at_253 [0x5 ];
1836
1836
u8 log_pg_sz [0x8 ];
@@ -3327,6 +3327,14 @@ struct mlx5_ifc_dropped_packet_logged_bits {
3327
3327
u8 reserved_at_0 [0xe0 ];
3328
3328
};
3329
3329
3330
+ struct mlx5_ifc_nic_cap_reg_bits {
3331
+ u8 reserved_at_0 [0x1a ];
3332
+ u8 vhca_icm_ctrl [0x1 ];
3333
+ u8 reserved_at_1b [0x5 ];
3334
+
3335
+ u8 reserved_at_20 [0x60 ];
3336
+ };
3337
+
3330
3338
struct mlx5_ifc_default_timeout_bits {
3331
3339
u8 to_multiplier [0x3 ];
3332
3340
u8 reserved_at_3 [0x9 ];
@@ -3363,6 +3371,18 @@ struct mlx5_ifc_dtor_reg_bits {
3363
3371
u8 reserved_at_1c0 [0x20 ];
3364
3372
};
3365
3373
3374
+ struct mlx5_ifc_vhca_icm_ctrl_reg_bits {
3375
+ u8 vhca_id_valid [0x1 ];
3376
+ u8 reserved_at_1 [0xf ];
3377
+ u8 vhca_id [0x10 ];
3378
+
3379
+ u8 reserved_at_20 [0xa0 ];
3380
+
3381
+ u8 cur_alloc_icm [0x20 ];
3382
+
3383
+ u8 reserved_at_e0 [0x120 ];
3384
+ };
3385
+
3366
3386
enum {
3367
3387
MLX5_CQ_ERROR_SYNDROME_CQ_OVERRUN = 0x1 ,
3368
3388
MLX5_CQ_ERROR_SYNDROME_CQ_ACCESS_VIOLATION_ERROR = 0x2 ,
You can’t perform that action at this time.
0 commit comments