| @@ -91,6 +91,20 @@ enum { · 90 unmodified lines |
| 91 | | 91 | |
| 92 | enum { | 92 | enum { |
| 93 | MLX5_OBJ_TYPE_GENEVE_TLV_OPT = 0x000b, | 93 | MLX5_OBJ_TYPE_GENEVE_TLV_OPT = 0x000b, |
| | 94 | MLX5_OBJ_TYPE_MKEY = 0xff01, |
| | 95 | MLX5_OBJ_TYPE_QP = 0xff02, |
| | 96 | MLX5_OBJ_TYPE_PSV = 0xff03, |
| | 97 | MLX5_OBJ_TYPE_RMP = 0xff04, |
| | 98 | MLX5_OBJ_TYPE_XRC_SRQ = 0xff05, |
| | 99 | MLX5_OBJ_TYPE_RQ = 0xff06, |
| | 100 | MLX5_OBJ_TYPE_SQ = 0xff07, |
| | 101 | MLX5_OBJ_TYPE_TIR = 0xff08, |
| | 102 | MLX5_OBJ_TYPE_TIS = 0xff09, |
| | 103 | MLX5_OBJ_TYPE_DCT = 0xff0a, |
| | 104 | MLX5_OBJ_TYPE_XRQ = 0xff0b, |
| | 105 | MLX5_OBJ_TYPE_RQT = 0xff0e, |
| | 106 | MLX5_OBJ_TYPE_FLOW_COUNTER = 0xff0f, |
| | 107 | MLX5_OBJ_TYPE_CQ = 0xff10, |
| 94 | }; | 108 | }; |
| 95 | | 109 | |
| 96 | enum { | 110 | enum { |
| @@ -106,6 +120,9 @@ enum { · 9 unmodified lines |
| 106 | MLX5_CMD_OP_QUERY_ISSI = 0x10a, | 120 | MLX5_CMD_OP_QUERY_ISSI = 0x10a, |
| 107 | MLX5_CMD_OP_SET_ISSI = 0x10b, | 121 | MLX5_CMD_OP_SET_ISSI = 0x10b, |
| 108 | MLX5_CMD_OP_SET_DRIVER_VERSION = 0x10d, | 122 | MLX5_CMD_OP_SET_DRIVER_VERSION = 0x10d, |
| | 123 | MLX5_CMD_OP_QUERY_SF_PARTITION = 0x111, |
| | 124 | MLX5_CMD_OP_ALLOC_SF = 0x113, |
| | 125 | MLX5_CMD_OP_DEALLOC_SF = 0x114, |
| 109 | MLX5_CMD_OP_CREATE_MKEY = 0x200, | 126 | MLX5_CMD_OP_CREATE_MKEY = 0x200, |
| 110 | MLX5_CMD_OP_QUERY_MKEY = 0x201, | 127 | MLX5_CMD_OP_QUERY_MKEY = 0x201, |
| 111 | MLX5_CMD_OP_DESTROY_MKEY = 0x202, | 128 | MLX5_CMD_OP_DESTROY_MKEY = 0x202, |
| @@ -713,7 +730,11 @@ struct mlx5_ifc_e_switch_cap_bits { · 601 unmodified lines |
| 713 | u8 reserved_2b[0x6]; | 730 | u8 reserved_2b[0x6]; |
| 714 | u8 max_encap_header_size[0xa]; | 731 | u8 max_encap_header_size[0xa]; |
| 715 | | 732 | |
| 716 | u8 reserved_40[0x7c0]; | 733 | u8 reserved_at_40[0xb]; |
| | 734 | u8 log_max_esw_sf[0x5]; |
| | 735 | u8 esw_sf_base_id[0x10]; |
| | 736 | |
| | 737 | u8 reserved_at_60[0x7a0]; |
| 717 | | 738 | |
| 718 | }; | 739 | }; |
| 719 | | 740 | |
| @@ -853,6 +874,12 @@ struct mlx5_ifc_device_mem_cap_bits { · 133 unmodified lines |
| 853 | u8 reserved_at_180[0x680]; | 874 | u8 reserved_at_180[0x680]; |
| 854 | }; | 875 | }; |
| 855 | | 876 | |
| | 877 | struct mlx5_ifc_device_event_cap_bits { |
| | 878 | u8 user_affiliated_events[4][0x40]; |
| | 879 | |
| | 880 | u8 user_unaffiliated_events[4][0x40]; |
| | 881 | }; |
| | 882 | |
| 856 | enum { | 883 | enum { |
| 857 | MLX5_ATOMIC_CAPS_ATOMIC_SIZE_QP_1_BYTE = 0x0, | 884 | MLX5_ATOMIC_CAPS_ATOMIC_SIZE_QP_1_BYTE = 0x0, |
| 858 | MLX5_ATOMIC_CAPS_ATOMIC_SIZE_QP_2_BYTES = 0x2, | 885 | MLX5_ATOMIC_CAPS_ATOMIC_SIZE_QP_2_BYTES = 0x2, |
| @@ -946,6 +973,16 @@ struct mlx5_ifc_vector_calc_cap_bits { · 87 unmodified lines |
| 946 | u8 reserved_at_c0[0x720]; | 973 | u8 reserved_at_c0[0x720]; |
| 947 | }; | 974 | }; |
| 948 | | 975 | |
| | 976 | struct mlx5_ifc_tls_cap_bits { |
| | 977 | u8 tls_1_2_aes_gcm_128[0x1]; |
| | 978 | u8 tls_1_3_aes_gcm_128[0x1]; |
| | 979 | u8 tls_1_2_aes_gcm_256[0x1]; |
| | 980 | u8 tls_1_3_aes_gcm_256[0x1]; |
| | 981 | u8 reserved_at_4[0x1c]; |
| | 982 | |
| | 983 | u8 reserved_at_20[0x7e0]; |
| | 984 | }; |
| | 985 | |
| 949 | enum { | 986 | enum { |
| 950 | MLX5_WQ_TYPE_LINKED_LIST = 0x0, | 987 | MLX5_WQ_TYPE_LINKED_LIST = 0x0, |
| 951 | MLX5_WQ_TYPE_CYCLIC = 0x1, | 988 | MLX5_WQ_TYPE_CYCLIC = 0x1, |
| @@ -1010,7 +1047,8 @@ struct mlx5_ifc_cmd_hca_cap_bits { · 58 unmodified lines |
| 1010 | | 1047 | |
| 1011 | u8 log_max_srq_sz[0x8]; | 1048 | u8 log_max_srq_sz[0x8]; |
| 1012 | u8 log_max_qp_sz[0x8]; | 1049 | u8 log_max_qp_sz[0x8]; |
| 1013 | u8 reserved_at_90[0x8]; | 1050 | u8 event_cap[0x1]; |
| | 1051 | u8 reserved_at_91[0x7]; |
| 1014 | u8 prio_tag_required[0x1]; | 1052 | u8 prio_tag_required[0x1]; |
| 1015 | u8 reserved_at_99[0x2]; | 1053 | u8 reserved_at_99[0x2]; |
| 1016 | u8 log_max_qp[0x5]; | 1054 | u8 log_max_qp[0x5]; |
| @@ -1058,7 +1096,9 @@ struct mlx5_ifc_cmd_hca_cap_bits { · 41 unmodified lines |
| 1058 | u8 cc_modify_allowed[0x1]; | 1096 | u8 cc_modify_allowed[0x1]; |
| 1059 | u8 start_pad[0x1]; | 1097 | u8 start_pad[0x1]; |
| 1060 | u8 cache_line_128byte[0x1]; | 1098 | u8 cache_line_128byte[0x1]; |
| 1061 | u8 reserved_at_165[0xa]; | 1099 | u8 reserved_at_165[0x4]; |
| | 1100 | u8 rts2rts_qp_counters_set_id[0x1]; |
| | 1101 | u8 reserved_at_16a[0x5]; |
| 1062 | u8 qcam_reg[0x1]; | 1102 | u8 qcam_reg[0x1]; |
| 1063 | u8 gid_table_size[0x10]; | 1103 | u8 gid_table_size[0x10]; |
| 1064 | | 1104 | |
| @@ -1275,7 +1315,8 @@ struct mlx5_ifc_cmd_hca_cap_bits { · 210 unmodified lines |
| 1275 | | 1315 | |
| 1276 | u8 reserved_at_440[0x20]; | 1316 | u8 reserved_at_440[0x20]; |
| 1277 | | 1317 | |
| 1278 | u8 reserved_at_460[0x3]; | 1318 | u8 tls[0x1]; |
| | 1319 | u8 reserved_at_461[0x2]; |
| 1279 | u8 log_max_uctx[0x5]; | 1320 | u8 log_max_uctx[0x5]; |
| 1280 | u8 reserved_at_468[0x3]; | 1321 | u8 reserved_at_468[0x3]; |
| 1281 | u8 log_max_umem[0x5]; | 1322 | u8 log_max_umem[0x5]; |
| @@ -1300,7 +1341,9 @@ struct mlx5_ifc_cmd_hca_cap_bits { · 18 unmodified lines |
| 1300 | u8 max_geneve_tlv_option_data_len[0x5]; | 1341 | u8 max_geneve_tlv_option_data_len[0x5]; |
| 1301 | u8 reserved_at_570[0x10]; | 1342 | u8 reserved_at_570[0x10]; |
| 1302 | | 1343 | |
| 1303 | u8 reserved_at_580[0x3c]; | 1344 | u8 reserved_at_580[0x33]; |
| | 1345 | u8 log_max_dek[0x5]; |
| | 1346 | u8 reserved_at_5b8[0x4]; |
| 1304 | u8 mini_cqe_resp_stride_index[0x1]; | 1347 | u8 mini_cqe_resp_stride_index[0x1]; |
| 1305 | u8 cqe_128_always[0x1]; | 1348 | u8 cqe_128_always[0x1]; |
| 1306 | u8 cqe_compression_128[0x1]; | 1349 | u8 cqe_compression_128[0x1]; |
| @@ -1330,13 +1373,24 @@ struct mlx5_ifc_cmd_hca_cap_bits { · 23 unmodified lines |
| 1330 | u8 reserved_at_640[0x10]; | 1373 | u8 reserved_at_640[0x10]; |
| 1331 | u8 num_q_monitor_counters[0x10]; | 1374 | u8 num_q_monitor_counters[0x10]; |
| 1332 | | 1375 | |
| 1333 | u8 reserved_at_660[0x40]; | 1376 | u8 reserved_at_660[0x20]; |
| | 1377 | |
| | 1378 | u8 sf[0x1]; |
| | 1379 | u8 sf_set_partition[0x1]; |
| | 1380 | u8 reserved_at_682[0x1]; |
| | 1381 | u8 log_max_sf[0x5]; |
| | 1382 | u8 reserved_at_688[0x8]; |
| | 1383 | u8 log_min_sf_size[0x8]; |
| | 1384 | u8 max_num_sf_partitions[0x8]; |
| 1334 | | 1385 | |
| 1335 | u8 uctx_cap[0x20]; | 1386 | u8 uctx_cap[0x20]; |
| 1336 | | 1387 | |
| 1337 | u8 reserved_at_6c0[0x4]; | 1388 | u8 reserved_at_6c0[0x4]; |
| 1338 | u8 flex_parser_id_geneve_tlv_option_0[0x4]; | 1389 | u8 flex_parser_id_geneve_tlv_option_0[0x4]; |
| 1339 | u8 reserved_at_6c8[0x138]; | 1390 | u8 reserved_at_6c8[0x28]; |
| | 1391 | u8 sf_base_id[0x10]; |
| | 1392 | |
| | 1393 | u8 reserved_at_700[0x100]; |
| 1340 | }; | 1394 | }; |
| 1341 | | 1395 | |
| 1342 | enum mlx5_flow_destination_type { | 1396 | enum mlx5_flow_destination_type { |
| @@ -2568,6 +2622,7 @@ union mlx5_ifc_hca_cap_union_bits { · 1225 unmodified lines |
| 2568 | struct mlx5_ifc_qos_cap_bits qos_cap; | 2622 | struct mlx5_ifc_qos_cap_bits qos_cap; |
| 2569 | struct mlx5_ifc_debug_cap_bits debug_cap; | 2623 | struct mlx5_ifc_debug_cap_bits debug_cap; |
| 2570 | struct mlx5_ifc_fpga_cap_bits fpga_cap; | 2624 | struct mlx5_ifc_fpga_cap_bits fpga_cap; |
| | 2625 | struct mlx5_ifc_tls_cap_bits tls_cap; |
| 2571 | u8 reserved_at_0[0x8000]; | 2626 | u8 reserved_at_0[0x8000]; |
| 2572 | }; | 2627 | }; |
| 2573 | | 2628 | |
| @@ -2707,7 +2762,8 @@ struct mlx5_ifc_traffic_counter_bits { · 133 unmodified lines |
| 2707 | | 2762 | |
| 2708 | struct mlx5_ifc_tisc_bits { | 2763 | struct mlx5_ifc_tisc_bits { |
| 2709 | u8 strict_lag_tx_port_affinity[0x1]; | 2764 | u8 strict_lag_tx_port_affinity[0x1]; |
| 2710 | u8 reserved_at_1[0x3]; | 2765 | u8 tls_en[0x1]; |
| | 2766 | u8 reserved_at_1[0x2]; |
| 2711 | u8 lag_tx_port_affinity[0x04]; | 2767 | u8 lag_tx_port_affinity[0x04]; |
| 2712 | | 2768 | |
| 2713 | u8 reserved_at_8[0x4]; | 2769 | u8 reserved_at_8[0x4]; |
| @@ -2721,7 +2777,11 @@ struct mlx5_ifc_tisc_bits { · 7 unmodified lines |
| 2721 | | 2777 | |
| 2722 | u8 reserved_at_140[0x8]; | 2778 | u8 reserved_at_140[0x8]; |
| 2723 | u8 underlay_qpn[0x18]; | 2779 | u8 underlay_qpn[0x18]; |
| 2724 | u8 reserved_at_160[0x3a0]; | 2780 | |
| | 2781 | u8 reserved_at_160[0x8]; |
| | 2782 | u8 pd[0x18]; |
| | 2783 | |
| | 2784 | u8 reserved_at_180[0x380]; |
| 2725 | }; | 2785 | }; |
| 2726 | | 2786 | |
| 2727 | enum { | 2787 | enum { |
| @@ -7404,9 +7464,9 @@ struct mlx5_ifc_create_eq_in_bits { · 4676 unmodified lines |
| 7404 | | 7464 | |
| 7405 | u8 reserved_at_280[0x40]; | 7465 | u8 reserved_at_280[0x40]; |
| 7406 | | 7466 | |
| 7407 | u8 event_bitmask[0x40]; | 7467 | u8 event_bitmask[4][0x40]; |
| 7408 | | 7468 | |
| 7409 | u8 reserved_at_300[0x580]; | 7469 | u8 reserved_at_3c0[0x4c0]; |
| 7410 | | 7470 | |
| 7411 | u8 pas[0][0x40]; | 7471 | u8 pas[0][0x40]; |
| 7412 | }; | 7472 | }; |
| @@ -8524,7 +8584,7 @@ struct mlx5_ifc_mcam_access_reg_bits { · 1111 unmodified lines |
| 8524 | u8 mcda[0x1]; | 8584 | u8 mcda[0x1]; |
| 8525 | u8 mcc[0x1]; | 8585 | u8 mcc[0x1]; |
| 8526 | u8 mcqi[0x1]; | 8586 | u8 mcqi[0x1]; |
| 8527 | u8 reserved_at_1f[0x1]; | 8587 | u8 mcqs[0x1]; |
| 8528 | | 8588 | |
| 8529 | u8 regs_95_to_87[0x9]; | 8589 | u8 regs_95_to_87[0x9]; |
| 8530 | u8 mpegc[0x1]; | 8590 | u8 mpegc[0x1]; |
| @@ -9016,6 +9076,24 @@ struct mlx5_ifc_mtppse_reg_bits { · 485 unmodified lines |
| 9016 | u8 reserved_at_40[0x40]; | 9076 | u8 reserved_at_40[0x40]; |
| 9017 | }; | 9077 | }; |
| 9018 | | 9078 | |
| | 9079 | struct mlx5_ifc_mcqs_reg_bits { |
| | 9080 | u8 last_index_flag[0x1]; |
| | 9081 | u8 reserved_at_1[0x7]; |
| | 9082 | u8 fw_device[0x8]; |
| | 9083 | u8 component_index[0x10]; |
| | 9084 | |
| | 9085 | u8 reserved_at_20[0x10]; |
| | 9086 | u8 identifier[0x10]; |
| | 9087 | |
| | 9088 | u8 reserved_at_40[0x17]; |
| | 9089 | u8 component_status[0x5]; |
| | 9090 | u8 component_update_state[0x4]; |
| | 9091 | |
| | 9092 | u8 last_update_state_changer_type[0x4]; |
| | 9093 | u8 last_update_state_changer_host_id[0x4]; |
| | 9094 | u8 reserved_at_68[0x18]; |
| | 9095 | }; |
| | 9096 | |
| 9019 | struct mlx5_ifc_mcqi_cap_bits { | 9097 | struct mlx5_ifc_mcqi_cap_bits { |
| 9020 | u8 supported_info_bitmask[0x20]; | 9098 | u8 supported_info_bitmask[0x20]; |
| 9021 | | 9099 | |
| @@ -9036,6 +9114,43 @@ struct mlx5_ifc_mcqi_cap_bits { · 14 unmodified lines |
| 9036 | u8 reserved_at_86[0x1a]; | 9114 | u8 reserved_at_86[0x1a]; |
| 9037 | }; | 9115 | }; |
| 9038 | | 9116 | |
| | 9117 | struct mlx5_ifc_mcqi_version_bits { |
| | 9118 | u8 reserved_at_0[0x2]; |
| | 9119 | u8 build_time_valid[0x1]; |
| | 9120 | u8 user_defined_time_valid[0x1]; |
| | 9121 | u8 reserved_at_4[0x14]; |
| | 9122 | u8 version_string_length[0x8]; |
| | 9123 | |
| | 9124 | u8 version[0x20]; |
| | 9125 | |
| | 9126 | u8 build_time[0x40]; |
| | 9127 | |
| | 9128 | u8 user_defined_time[0x40]; |
| | 9129 | |
| | 9130 | u8 build_tool_version[0x20]; |
| | 9131 | |
| | 9132 | u8 reserved_at_e0[0x20]; |
| | 9133 | |
| | 9134 | u8 version_string[92][0x8]; |
| | 9135 | }; |
| | 9136 | |
| | 9137 | struct mlx5_ifc_mcqi_activation_method_bits { |
| | 9138 | u8 pending_server_ac_power_cycle[0x1]; |
| | 9139 | u8 pending_server_dc_power_cycle[0x1]; |
| | 9140 | u8 pending_server_reboot[0x1]; |
| | 9141 | u8 pending_fw_reset[0x1]; |
| | 9142 | u8 auto_activate[0x1]; |
| | 9143 | u8 all_hosts_sync[0x1]; |
| | 9144 | u8 device_hw_reset[0x1]; |
| | 9145 | u8 reserved_at_7[0x19]; |
| | 9146 | }; |
| | 9147 | |
| | 9148 | union mlx5_ifc_mcqi_reg_data_bits { |
| | 9149 | struct mlx5_ifc_mcqi_cap_bits mcqi_caps; |
| | 9150 | struct mlx5_ifc_mcqi_version_bits mcqi_version; |
| | 9151 | struct mlx5_ifc_mcqi_activation_method_bits mcqi_activation_mathod; |
| | 9152 | }; |
| | 9153 | |
| 9039 | struct mlx5_ifc_mcqi_reg_bits { | 9154 | struct mlx5_ifc_mcqi_reg_bits { |
| 9040 | u8 read_pending_component[0x1]; | 9155 | u8 read_pending_component[0x1]; |
| 9041 | u8 reserved_at_1[0xf]; | 9156 | u8 reserved_at_1[0xf]; |
| @@ -9053,7 +9168,7 @@ struct mlx5_ifc_mcqi_reg_bits { · 11 unmodified lines |
| 9053 | u8 reserved_at_a0[0x10]; | 9168 | u8 reserved_at_a0[0x10]; |
| 9054 | u8 data_size[0x10]; | 9169 | u8 data_size[0x10]; |
| 9055 | | 9170 | |
| 9056 | u8 data[0][0x20]; | 9171 | union mlx5_ifc_mcqi_reg_data_bits data[0]; |
| 9057 | }; | 9172 | }; |
| 9058 | | 9173 | |
| 9059 | struct mlx5_ifc_mcc_reg_bits { | 9174 | struct mlx5_ifc_mcc_reg_bits { |
| @@ -9750,7 +9865,8 @@ struct mlx5_ifc_mtrc_ctrl_bits { · 690 unmodified lines |
| 9750 | | 9865 | |
| 9751 | struct mlx5_ifc_host_params_context_bits { | 9866 | struct mlx5_ifc_host_params_context_bits { |
| 9752 | u8 host_number[0x8]; | 9867 | u8 host_number[0x8]; |
| 9753 | u8 reserved_at_8[0x8]; | 9868 | u8 reserved_at_8[0x7]; |
| | 9869 | u8 host_pf_disabled[0x1]; |
| 9754 | u8 host_num_of_vfs[0x10]; | 9870 | u8 host_num_of_vfs[0x10]; |
| 9755 | | 9871 | |
| 9756 | u8 host_total_vfs[0x10]; | 9872 | u8 host_total_vfs[0x10]; |
| @@ -9786,6 +9902,165 @@ struct mlx5_ifc_query_esw_functions_out_bits { · 29 unmodified lines |
| 9786 | struct mlx5_ifc_host_params_context_bits host_params_context; | 9902 | struct mlx5_ifc_host_params_context_bits host_params_context; |
| 9787 | | 9903 | |
| 9788 | u8 reserved_at_280[0x180]; | 9904 | u8 reserved_at_280[0x180]; |
| | 9905 | u8 host_sf_enable[0][0x40]; |
| | 9906 | }; |
| | 9907 | |
| | 9908 | struct mlx5_ifc_sf_partition_bits { |
| | 9909 | u8 reserved_at_0[0x10]; |
| | 9910 | u8 log_num_sf[0x8]; |
| | 9911 | u8 log_sf_bar_size[0x8]; |
| | 9912 | }; |
| | 9913 | |
| | 9914 | struct mlx5_ifc_query_sf_partitions_out_bits { |
| | 9915 | u8 status[0x8]; |
| | 9916 | u8 reserved_at_8[0x18]; |
| | 9917 | |
| | 9918 | u8 syndrome[0x20]; |
| | 9919 | |
| | 9920 | u8 reserved_at_40[0x18]; |
| | 9921 | u8 num_sf_partitions[0x8]; |
| | 9922 | |
| | 9923 | u8 reserved_at_60[0x20]; |
| | 9924 | |
| | 9925 | struct mlx5_ifc_sf_partition_bits sf_partition[0]; |
| | 9926 | }; |
| | 9927 | |
| | 9928 | struct mlx5_ifc_query_sf_partitions_in_bits { |
| | 9929 | u8 opcode[0x10]; |
| | 9930 | u8 reserved_at_10[0x10]; |
| | 9931 | |
| | 9932 | u8 reserved_at_20[0x10]; |
| | 9933 | u8 op_mod[0x10]; |
| | 9934 | |
| | 9935 | u8 reserved_at_40[0x40]; |
| | 9936 | }; |
| | 9937 | |
| | 9938 | struct mlx5_ifc_dealloc_sf_out_bits { |
| | 9939 | u8 status[0x8]; |
| | 9940 | u8 reserved_at_8[0x18]; |
| | 9941 | |
| | 9942 | u8 syndrome[0x20]; |
| | 9943 | |
| | 9944 | u8 reserved_at_40[0x40]; |
| | 9945 | }; |
| | 9946 | |
| | 9947 | struct mlx5_ifc_dealloc_sf_in_bits { |
| | 9948 | u8 opcode[0x10]; |
| | 9949 | u8 reserved_at_10[0x10]; |
| | 9950 | |
| | 9951 | u8 reserved_at_20[0x10]; |
| | 9952 | u8 op_mod[0x10]; |
| | 9953 | |
| | 9954 | u8 reserved_at_40[0x10]; |
| | 9955 | u8 function_id[0x10]; |
| | 9956 | |
| | 9957 | u8 reserved_at_60[0x20]; |
| | 9958 | }; |
| | 9959 | |
| | 9960 | struct mlx5_ifc_alloc_sf_out_bits { |
| | 9961 | u8 status[0x8]; |
| | 9962 | u8 reserved_at_8[0x18]; |
| | 9963 | |
| | 9964 | u8 syndrome[0x20]; |
| | 9965 | |
| | 9966 | u8 reserved_at_40[0x40]; |
| | 9967 | }; |
| | 9968 | |
| | 9969 | struct mlx5_ifc_alloc_sf_in_bits { |
| | 9970 | u8 opcode[0x10]; |
| | 9971 | u8 reserved_at_10[0x10]; |
| | 9972 | |
| | 9973 | u8 reserved_at_20[0x10]; |
| | 9974 | u8 op_mod[0x10]; |
| | 9975 | |
| | 9976 | u8 reserved_at_40[0x10]; |
| | 9977 | u8 function_id[0x10]; |
| | 9978 | |
| | 9979 | u8 reserved_at_60[0x20]; |
| | 9980 | }; |
| | 9981 | |
| | 9982 | struct mlx5_ifc_affiliated_event_header_bits { |
| | 9983 | u8 reserved_at_0[0x10]; |
| | 9984 | u8 obj_type[0x10]; |
| | 9985 | |
| | 9986 | u8 obj_id[0x20]; |
| | 9987 | }; |
| | 9988 | |
| | 9989 | enum { |
| | 9990 | MLX5_HCA_CAP_GENERAL_OBJECT_TYPES_ENCRYPTION_KEY = BIT(0xc), |
| | 9991 | }; |
| | 9992 | |
| | 9993 | enum { |
| | 9994 | MLX5_GENERAL_OBJECT_TYPES_ENCRYPTION_KEY = 0xc, |
| | 9995 | }; |
| | 9996 | |
| | 9997 | struct mlx5_ifc_encryption_key_obj_bits { |
| | 9998 | u8 modify_field_select[0x40]; |
| | 9999 | |
| | 10000 | u8 reserved_at_40[0x14]; |
| | 10001 | u8 key_size[0x4]; |
| | 10002 | u8 reserved_at_58[0x4]; |
| | 10003 | u8 key_type[0x4]; |
| | 10004 | |
| | 10005 | u8 reserved_at_60[0x8]; |
| | 10006 | u8 pd[0x18]; |
| | 10007 | |
| | 10008 | u8 reserved_at_80[0x180]; |
| | 10009 | u8 key[8][0x20]; |
| | 10010 | |
| | 10011 | u8 reserved_at_300[0x500]; |
| | 10012 | }; |
| | 10013 | |
| | 10014 | struct mlx5_ifc_create_encryption_key_in_bits { |
| | 10015 | struct mlx5_ifc_general_obj_in_cmd_hdr_bits general_obj_in_cmd_hdr; |
| | 10016 | struct mlx5_ifc_encryption_key_obj_bits encryption_key_object; |
| | 10017 | }; |
| | 10018 | |
| | 10019 | enum { |
| | 10020 | MLX5_GENERAL_OBJECT_TYPE_ENCRYPTION_KEY_KEY_SIZE_128 = 0x0, |
| | 10021 | MLX5_GENERAL_OBJECT_TYPE_ENCRYPTION_KEY_KEY_SIZE_256 = 0x1, |
| | 10022 | }; |
| | 10023 | |
| | 10024 | enum { |
| | 10025 | MLX5_GENERAL_OBJECT_TYPE_ENCRYPTION_KEY_TYPE_DEK = 0x1, |
| | 10026 | }; |
| | 10027 | |
| | 10028 | struct mlx5_ifc_tls_static_params_bits { |
| | 10029 | u8 const_2[0x2]; |
| | 10030 | u8 tls_version[0x4]; |
| | 10031 | u8 const_1[0x2]; |
| | 10032 | u8 reserved_at_8[0x14]; |
| | 10033 | u8 encryption_standard[0x4]; |
| | 10034 | |
| | 10035 | u8 reserved_at_20[0x20]; |
| | 10036 | |
| | 10037 | u8 initial_record_number[0x40]; |
| | 10038 | |
| | 10039 | u8 resync_tcp_sn[0x20]; |
| | 10040 | |
| | 10041 | u8 gcm_iv[0x20]; |
| | 10042 | |
| | 10043 | u8 implicit_iv[0x40]; |
| | 10044 | |
| | 10045 | u8 reserved_at_100[0x8]; |
| | 10046 | u8 dek_index[0x18]; |
| | 10047 | |
| | 10048 | u8 reserved_at_120[0xe0]; |
| | 10049 | }; |
| | 10050 | |
| | 10051 | struct mlx5_ifc_tls_progress_params_bits { |
| | 10052 | u8 valid[0x1]; |
| | 10053 | u8 reserved_at_1[0x7]; |
| | 10054 | u8 pd[0x18]; |
| | 10055 | |
| | 10056 | u8 next_record_tcp_sn[0x20]; |
| | 10057 | |
| | 10058 | u8 hw_resync_tcp_sn[0x20]; |
| | 10059 | |
| | 10060 | u8 record_tracker_state[0x2]; |
| | 10061 | u8 auth_state[0x2]; |
| | 10062 | u8 reserved_at_64[0x4]; |
| | 10063 | u8 hw_offset_record_number[0x18]; |
| 9789 | }; | 10064 | }; |
| 9790 | | 10065 | |
| 9791 | #endif /* MLX5_IFC_H */ | 10066 | #endif /* MLX5_IFC_H */ |