> -----Original Message----- > From: linux-cifs-owner@xxxxxxxxxxxxxxx <linux-cifs-owner@xxxxxxxxxxxxxxx> On > Behalf Of Xiaoli Feng > Sent: Monday, December 16, 2019 10:30 AM > To: linux-cifs@xxxxxxxxxxxxxxx > Subject: [EXTERNAL] How to use SMB Direct > > Hello guys, > > I'd like to test SMB Direct. But it's failed. I'm not sure if it works in upstream. > I setup samba server on one rdma machine with 5.5.0-rc1+ kernel. The > smb.conf is: > [cifs] > path=/mnt/cifs > writeable=yes > > Then I try to mount the share on another rdma machine with 5.5.0-rc1+ kernel. > mount //$RDMA/cifs cifs -o user=root,password=$password,rdma > > It's failed because of "CIFS VFS: smbd_create_id:614 rdma_resolve_addr() > completed -113" Errno 113 is "no route to host". Sounds like a network or address issue. Tom. > Does SMB Direct work fine in upstream? > > Thanks. > > $ cat /boot/config-5.5.0-rc1+ |grep SMB_DIRECT > CONFIG_CIFS_SMB_DIRECT=y > $ ibstat > CA 'mlx4_0' > CA type: MT4099 > Number of ports: 2 > Firmware version: 2.42.5000 > Hardware version: 1 > Node GUID: 0xf4521403007be0e0 > System image GUID: 0xf4521403007be0e3 > Port 1: > State: Active > Physical state: LinkUp > Rate: 56 > Base lid: 29 > LMC: 0 > SM lid: 1 > Capability mask: 0x0259486a > Port GUID: 0xf4521403007be0e1 > Link layer: InfiniBand > Port 2: > State: Active > Physical state: LinkUp > Rate: 40 > Base lid: 44 > LMC: 1 > SM lid: 36 > Capability mask: 0x02594868 > Port GUID: 0xf4521403007be0e2 > Link layer: InfiniBand > > > -- > Best regards! > XiaoLi Feng 冯小丽 > > Red Hat Software (Beijing) Co.,Ltd > filesystem-qe Team > IRC:xifeng,#channel: fs-qe > Tel:+86-10-8388112 > 9/F, Raycom