@@ -60,6 +60,7 @@ static const char * const utility_bins[] = {
6060 "nvidia-smi" , /* System management interface */
6161 "nvidia-debugdump" , /* GPU coredump utility */
6262 "nvidia-persistenced" , /* Persistence mode utility */
63+ "nv-fabricmanager" , /* NVSwitch fabrimanager utility */
6364 //"nvidia-modprobe", /* Kernel module loader */
6465 //"nvidia-settings", /* X server settings */
6566 //"nvidia-xconfig", /* X xorg.conf editor */
@@ -444,7 +445,7 @@ lookup_ipcs(struct error *err, struct nvc_driver_info *info, const char *root, i
444445 char * * ptr ;
445446 const char * mps ;
446447
447- info -> nipcs = 2 ;
448+ info -> nipcs = 3 ;
448449 info -> ipcs = ptr = array_new (err , info -> nipcs );
449450 if (info -> ipcs == NULL )
450451 return (-1 );
@@ -453,6 +454,10 @@ lookup_ipcs(struct error *err, struct nvc_driver_info *info, const char *root, i
453454 if (find_ipc_path (err , root , NV_PERSISTENCED_SOCKET , ptr ++ ) < 0 )
454455 return (-1 );
455456 }
457+ if (!(flags & OPT_NO_FABRICMANAGER )) {
458+ if (find_ipc_path (err , root , NV_FABRICMANAGER_SOCKET , ptr ++ ) < 0 )
459+ return (-1 );
460+ }
456461 if (!(flags & OPT_NO_MPS )) {
457462 if ((mps = secure_getenv ("CUDA_MPS_PIPE_DIRECTORY" )) == NULL )
458463 mps = NV_MPS_PIPE_DIR ;
0 commit comments