Hi, > >> After search in /sys I found the mellanox device mlx5_0 > >> (/sys/class/infiniband/mlx5_0/) and was able to execute ibstat on it: > >> > >> # ibstat mlx5_0 > >> CA 'mlx5_0' > >> CA type: MT4121 > >> Number of ports: 1 > >> Firmware version: 16.19.21102 > >> Hardware version: 0 > >> Node GUID: 0x248a070300aa8466 > >> System image GUID: 0x248a070300aa8466 > >> Port 1: > >> State: Down > >> Physical state: Disabled > >> Rate: 10 > >> Base lid: 65535 > >> LMC: 0 > >> SM lid: 0 > >> Capability mask: 0x2651e848 > >> Port GUID: 0x248a070300aa8466 > >> Link layer: InfiniBand > >> # > >> # > >> # pwd > >> > >> Shouldn't the device be visible in /dev? > > Hi Joao, > > > > I'm glad this solved your issue. > > Under dev you will not see Mellanox devices. They are visible only under the sysfs path you found. > > In /dev you might see the mst devices if you have mst running.. Thanks for the help Majd! I suggest the driver uses the 0 profile by default to avoid this kind of meomory problems. What do you think? I can make a patch for it if you agree. Thanks. > >> > >> Thanks. > >> > >> -- > >> To unsubscribe from this list: send the line "unsubscribe linux-rdma" in > >> the body of a message to majordomo@xxxxxxxxxxxxxxx > >> More majordomo info at https://urldefense.proofpoint.com/v2/url?u=http-3A__vger.kernel.org_majordomo-2Dinfo.html&d=DwIGaQ&c=DPL6_X_6JkXFx7AXWqB0tg&r=s2fO0hii0OGNOv9qQy_HRXy-xAJUD1NNoEcc3io_kx0&m=MZ71e2hCV-Ipb5oWcgk4I1Z6_Wd8shDLv1AtVKJPigw&s=EvobH0aYP1erS-5GZpBL5Zpabx5LMnEJWTRExwPWSdY&e= > -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html