3333
3434
3535###############################################################################
36- # This file was generated at "2024-01-15 23:07:26 "
36+ # This file was generated at "2024-04-16 08:58:19 "
3737# by:
3838# > gen_adb_data.py -g hca_prm_projects
3939###############################################################################
@@ -50,7 +50,8 @@ class MRSI_EXT(ctypes.Structure):
5050 _fields_ = [
5151 ("device" , ctypes .c_uint8 ),
5252 ("reset_reason" , ctypes .c_uint8 ),
53- ("crts" , ctypes .c_uint64 )
53+ ("crts" , ctypes .c_uint64 ),
54+ ("ecos" , ctypes .c_uint8 )
5455 ]
5556
5657class DIAGNOSTIC_CNTR_LAYOUT (ctypes .Structure ):
@@ -93,7 +94,8 @@ class DTOR_REG_EXT(ctypes.Structure):
9394 ("FSM_REACTIVATE_TO" , DEFAULT_TIMEOUT_EXT ),
9495 ("RECLAIM_PAGES_TO" , DEFAULT_TIMEOUT_EXT ),
9596 ("RECLAIM_VFS_PAGES_TO" , DEFAULT_TIMEOUT_EXT ),
96- ("DRIVER_UNLOAD_AND_RESET_TO" , DEFAULT_TIMEOUT_EXT )
97+ ("DRIVER_UNLOAD_AND_RESET_TO" , DEFAULT_TIMEOUT_EXT ),
98+ ("EMBEDDED_CPU_OS_SHUTDOWN_TO" , DEFAULT_TIMEOUT_EXT )
9799 ]
98100
99101class PCNR_REG_EXT (ctypes .Structure ):
@@ -123,14 +125,22 @@ class MTRC_CAP_REG_EXT(ctypes.Structure):
123125 ("string_db_param" , STRING_DB_PARAMETERS_EXT * 8 )
124126 ]
125127
128+ class MTIM_EXT (ctypes .Structure ):
129+ _fields_ = [
130+ ("log_level" , ctypes .c_uint8 ),
131+ ("log_bit_mask" , ctypes .c_uint32 )
132+ ]
133+
126134class MGIR_HARDWARE_INFO_EXT (ctypes .Structure ):
127135 _fields_ = [
128136 ("device_id" , ctypes .c_uint16 ),
129137 ("device_hw_revision" , ctypes .c_uint16 ),
130138 ("pvs" , ctypes .c_uint8 ),
131139 ("technology" , ctypes .c_uint8 ),
132140 ("num_ports" , ctypes .c_uint8 ),
141+ ("ib_mad_gen" , ctypes .c_uint8 ),
133142 ("hw_dev_id" , ctypes .c_uint16 ),
143+ ("development" , ctypes .c_uint8 ),
134144 ("manufacturing_base_mac_47_32" , ctypes .c_uint16 ),
135145 ("ga" , ctypes .c_uint8 ),
136146 ("chip_type" , ctypes .c_uint8 ),
@@ -164,7 +174,9 @@ class MGIR_FW_INFO_EXT(ctypes.Structure):
164174 ("life_cycle" , ctypes .c_uint8 ),
165175 ("sec_boot" , ctypes .c_uint8 ),
166176 ("encryption" , ctypes .c_uint8 ),
167- ("issu_able" , ctypes .c_uint8 )
177+ ("life_cycle_msb" , ctypes .c_uint8 ),
178+ ("issu_able" , ctypes .c_uint8 ),
179+ ("pds" , ctypes .c_uint8 )
168180 ]
169181
170182class ROM_VERSION_EXT (ctypes .Structure ):
@@ -295,9 +307,39 @@ class NIC_DPA_PERF_CTRL_REG_EXT(ctypes.Structure):
295307 ("count_state" , ctypes .c_uint8 )
296308 ]
297309
310+ class NIC_CAP_EXT_DPA_CAP (ctypes .Structure ):
311+ _fields_ = [
312+ ("max_num_dpa_eug" , ctypes .c_uint16 ),
313+ ("max_num_dpa_eu" , ctypes .c_uint16 ),
314+ ("max_num_dpa_eu_partition" , ctypes .c_uint16 ),
315+ ("max_num_dpa_eu_per_group" , ctypes .c_uint16 ),
316+ ("dpa_perf_sample_type" , ctypes .c_uint8 ),
317+ ("max_num_partition_vhca_id" , ctypes .c_uint16 ),
318+ ("process_perf_cnt" , ctypes .c_uint8 )
319+ ]
320+
321+ class NIC_CAP_EXT_DIAG_DATA_CAP (ctypes .Structure ):
322+ _fields_ = [
323+ ("sample_mode_on_demand" , ctypes .c_uint8 ),
324+ ("sample_mode_repetitive" , ctypes .c_uint8 ),
325+ ("sample_mode_single" , ctypes .c_uint8 ),
326+ ("tracer_dump" , ctypes .c_uint8 ),
327+ ("sync_start" , ctypes .c_uint8 ),
328+ ("data_clear" , ctypes .c_uint8 ),
329+ ("max_log_num_sample" , ctypes .c_uint8 ),
330+ ("log_max_num_data_id" , ctypes .c_uint8 ),
331+ ("data_timestamp_source" , ctypes .c_uint8 )
332+ ]
333+
334+ class NIC_CAP_EXT_REG_CAP_DATA_AUTO (ctypes .Union ):
335+ _fields_ = [
336+ ("nic_cap_ext_dpa_cap" , NIC_CAP_EXT_DPA_CAP ),
337+ ("nic_cap_ext_diag_data_cap" , NIC_CAP_EXT_DIAG_DATA_CAP )
338+ ]
339+
298340class NIC_CAP_EXT_REG (ctypes .Structure ):
299341 _fields_ = [
300342 ("cap_group" , ctypes .c_uint16 ),
301- ("cap_data" , ctypes . c_uint32 * 28 )
343+ ("cap_data" , NIC_CAP_EXT_REG_CAP_DATA_AUTO )
302344 ]
303345
0 commit comments