[SWDEV-540014] Correct topology link_type check
Topology numa_bw checks for non-xgmi links to set as N/A. The recent change in link_type enum mapping caused this condition to check for PCIE instead of XGMI. Corrected the same. Signed-off-by: Bindhiya Kanangot Balakrishnan <Bindhiya.KanangotBalakrishnan@amd.com>
Esse commit está contido em:
commit de
Arif, Maisam
pai
529c6ee151
commit
fa9ca21520
@@ -3914,7 +3914,7 @@ class AMDSMICommands():
|
||||
try:
|
||||
link_type = amdsmi_interface.amdsmi_topo_get_link_type(src_gpu, dest_gpu)['type']
|
||||
if isinstance(link_type, int):
|
||||
if link_type != 2:
|
||||
if link_type != amdsmi_interface.amdsmi_wrapper.AMDSMI_LINK_TYPE_XGMI:
|
||||
# non_xgmi = True
|
||||
src_gpu_link_type[dest_gpu_key] = "N/A"
|
||||
continue
|
||||
|
||||
Referência em uma Nova Issue
Bloquear um usuário