@@ -932,11 +932,18 @@ struct mlx5_ifc_per_protocol_networking_offload_caps_bits {
932
932
u8 reserved_at_200 [0x600 ];
933
933
};
934
934
935
+ enum {
936
+ MLX5_QP_TIMESTAMP_FORMAT_CAP_FREE_RUNNING = 0x0 ,
937
+ MLX5_QP_TIMESTAMP_FORMAT_CAP_REAL_TIME = 0x1 ,
938
+ MLX5_QP_TIMESTAMP_FORMAT_CAP_FREE_RUNNING_AND_REAL_TIME = 0x2 ,
939
+ };
940
+
935
941
struct mlx5_ifc_roce_cap_bits {
936
942
u8 roce_apm [0x1 ];
937
943
u8 reserved_at_1 [0x3 ];
938
944
u8 sw_r_roce_src_udp_port [0x1 ];
939
- u8 reserved_at_5 [0x1b ];
945
+ u8 reserved_at_5 [0x19 ];
946
+ u8 qp_ts_format [0x2 ];
940
947
941
948
u8 reserved_at_20 [0x60 ];
942
949
@@ -1253,6 +1260,18 @@ enum {
1253
1260
MLX5_STEERING_FORMAT_CONNECTX_6DX = 1 ,
1254
1261
};
1255
1262
1263
+ enum {
1264
+ MLX5_SQ_TIMESTAMP_FORMAT_CAP_FREE_RUNNING = 0x0 ,
1265
+ MLX5_SQ_TIMESTAMP_FORMAT_CAP_REAL_TIME = 0x1 ,
1266
+ MLX5_SQ_TIMESTAMP_FORMAT_CAP_FREE_RUNNING_AND_REAL_TIME = 0x2 ,
1267
+ };
1268
+
1269
+ enum {
1270
+ MLX5_RQ_TIMESTAMP_FORMAT_CAP_FREE_RUNNING = 0x0 ,
1271
+ MLX5_RQ_TIMESTAMP_FORMAT_CAP_REAL_TIME = 0x1 ,
1272
+ MLX5_RQ_TIMESTAMP_FORMAT_CAP_FREE_RUNNING_AND_REAL_TIME = 0x2 ,
1273
+ };
1274
+
1256
1275
struct mlx5_ifc_cmd_hca_cap_bits {
1257
1276
u8 reserved_at_0 [0x1f ];
1258
1277
u8 vhca_resource_manager [0x1 ];
@@ -1564,7 +1583,8 @@ struct mlx5_ifc_cmd_hca_cap_bits {
1564
1583
1565
1584
u8 general_obj_types [0x40 ];
1566
1585
1567
- u8 reserved_at_440 [0x4 ];
1586
+ u8 sq_ts_format [0x2 ];
1587
+ u8 rq_ts_format [0x2 ];
1568
1588
u8 steering_format_version [0x4 ];
1569
1589
u8 create_qp_start_hint [0x18 ];
1570
1590
@@ -2868,6 +2888,12 @@ enum {
2868
2888
MLX5_QPC_CS_RES_UP_TO_64B = 0x2 ,
2869
2889
};
2870
2890
2891
+ enum {
2892
+ MLX5_QPC_TIMESTAMP_FORMAT_FREE_RUNNING = 0x0 ,
2893
+ MLX5_QPC_TIMESTAMP_FORMAT_DEFAULT = 0x1 ,
2894
+ MLX5_QPC_TIMESTAMP_FORMAT_REAL_TIME = 0x2 ,
2895
+ };
2896
+
2871
2897
struct mlx5_ifc_qpc_bits {
2872
2898
u8 state [0x4 ];
2873
2899
u8 lag_tx_port_affinity [0x4 ];
@@ -2896,7 +2922,9 @@ struct mlx5_ifc_qpc_bits {
2896
2922
u8 log_rq_stride [0x3 ];
2897
2923
u8 no_sq [0x1 ];
2898
2924
u8 log_sq_size [0x4 ];
2899
- u8 reserved_at_55 [0x6 ];
2925
+ u8 reserved_at_55 [0x3 ];
2926
+ u8 ts_format [0x2 ];
2927
+ u8 reserved_at_5a [0x1 ];
2900
2928
u8 rlky [0x1 ];
2901
2929
u8 ulp_stateless_offload_mode [0x4 ];
2902
2930
@@ -3312,6 +3340,12 @@ enum {
3312
3340
MLX5_SQC_STATE_ERR = 0x3 ,
3313
3341
};
3314
3342
3343
+ enum {
3344
+ MLX5_SQC_TIMESTAMP_FORMAT_FREE_RUNNING = 0x0 ,
3345
+ MLX5_SQC_TIMESTAMP_FORMAT_DEFAULT = 0x1 ,
3346
+ MLX5_SQC_TIMESTAMP_FORMAT_REAL_TIME = 0x2 ,
3347
+ };
3348
+
3315
3349
struct mlx5_ifc_sqc_bits {
3316
3350
u8 rlky [0x1 ];
3317
3351
u8 cd_master [0x1 ];
@@ -3323,7 +3357,9 @@ struct mlx5_ifc_sqc_bits {
3323
3357
u8 reg_umr [0x1 ];
3324
3358
u8 allow_swp [0x1 ];
3325
3359
u8 hairpin [0x1 ];
3326
- u8 reserved_at_f [0x11 ];
3360
+ u8 reserved_at_f [0xb ];
3361
+ u8 ts_format [0x2 ];
3362
+ u8 reserved_at_1c [0x4 ];
3327
3363
3328
3364
u8 reserved_at_20 [0x8 ];
3329
3365
u8 user_index [0x18 ];
@@ -3414,6 +3450,12 @@ enum {
3414
3450
MLX5_RQC_STATE_ERR = 0x3 ,
3415
3451
};
3416
3452
3453
+ enum {
3454
+ MLX5_RQC_TIMESTAMP_FORMAT_FREE_RUNNING = 0x0 ,
3455
+ MLX5_RQC_TIMESTAMP_FORMAT_DEFAULT = 0x1 ,
3456
+ MLX5_RQC_TIMESTAMP_FORMAT_REAL_TIME = 0x2 ,
3457
+ };
3458
+
3417
3459
struct mlx5_ifc_rqc_bits {
3418
3460
u8 rlky [0x1 ];
3419
3461
u8 delay_drop_en [0x1 ];
@@ -3424,7 +3466,9 @@ struct mlx5_ifc_rqc_bits {
3424
3466
u8 reserved_at_c [0x1 ];
3425
3467
u8 flush_in_error_en [0x1 ];
3426
3468
u8 hairpin [0x1 ];
3427
- u8 reserved_at_f [0x11 ];
3469
+ u8 reserved_at_f [0xb ];
3470
+ u8 ts_format [0x2 ];
3471
+ u8 reserved_at_1c [0x4 ];
3428
3472
3429
3473
u8 reserved_at_20 [0x8 ];
3430
3474
u8 user_index [0x18 ];
0 commit comments