Unify the amdsmi_get_pcie_info python interface
Make the python interface consistent with the C interface. Change-Id: Idda08f888947c757e475d5a024b0ec3d8e1d846a
Esse commit está contido em:
1 pai
f58613561c
commit
db33cda0c1
7 files changed
+36
-22
No files matched your search
@@ -751,9 +751,9 @@ class struct_pcie_metric_(Structure):
|
||||
|
||||
struct_pcie_metric_._pack_ = 1 # source:False
|
||||
struct_pcie_metric_._fields_ = [
|
||||
('pcie_speed', ctypes.c_uint32),
|
||||
('pcie_lanes', ctypes.c_uint16),
|
||||
('pcie_width', ctypes.c_uint16),
|
||||
('PADDING_0', ctypes.c_ubyte * 2),
|
||||
('pcie_speed', ctypes.c_uint32),
|
||||
('pcie_bandwidth', ctypes.c_uint32),
|
||||
('PADDING_1', ctypes.c_ubyte * 4),
|
||||
('pcie_replay_count', ctypes.c_uint64),
|
||||
@@ -769,7 +769,7 @@ class struct_pcie_static_(Structure):
|
||||
|
||||
struct_pcie_static_._pack_ = 1 # source:False
|
||||
struct_pcie_static_._fields_ = [
|
||||
('max_pcie_lanes', ctypes.c_uint16),
|
||||
('max_pcie_width', ctypes.c_uint16),
|
||||
('PADDING_0', ctypes.c_ubyte * 2),
|
||||
('max_pcie_speed', ctypes.c_uint32),
|
||||
('pcie_interface_version', ctypes.c_uint32),
|
||||
|
||||
Reference in new issue
Bloquear um usuário