Skip to contentSkip to conversation

bug report

DISCUSSION aaa 2 participants 2 messages Mar 21, 2020 – Mar 22, 2020 InfiniBand

lore
Share & tools
lore

aaa

author
#0 lore raw

Dear sir:
    I have followed the instructions"To set up software RDMA on an existing interface with either of the available drivers, use the following commands, substituting <DRIVER> with the name of the driver of your choice (rdma_rxe or siw) and <TYPE> with the type corresponding to the driver (rxe or siw).

# modprobe <DRIVER>
# rdma link add <NAME> type <TYPE> netdev <DEVICE>

Please note that you need version of iproute2 recent enough is required for the command above to work. You can use either ibv_devices or rdma link to verify that the device was successfully added." but when I execute rdma link add, it cann't find the command, so how can i solve it. Thank you very much! my commands history is showed as below.

zhums@zhums-virtual-machine:~/rdma-core/providers/rxe/man$ rdma link add
未找到 'rdma' 命令,您要输入的是否是:
 命令 'dma' 来自于包 'dma' (universe)
rdma:未找到命令
zhums@zhums-virtual-machine:~/rdma-core/providers/rxe/man$ modprobe 
modprobe: ERROR: missing parameters. See -h.
zhums@zhums-virtual-machine:~/rdma-core/providers/rxe/man$ modprobe rdma_rxe
zhums@zhums-virtual-machine:~/rdma-core/providers/rxe/man$ modinfo rdma_rxe
filename:       /lib/modules/4.15.0-88-generic/kernel/drivers/infiniband/sw/rxe/rdma_rxe.ko
license:        Dual BSD/GPL
description:    Soft RDMA transport
author:         Bob Pearson, Frank Zago, John Groves, Kamal Heib
srcversion:     3301C3D016E893C3F327B14
depends:        ib_core,ip6_udp_tunnel,udp_tunnel
retpoline:      Y
intree:         Y
name:           rdma_rxe
vermagic:       4.15.0-88-generic SMP mod_unload 
parm:           add:Create RXE device over network interface
parm:           remove:Remove RXE device over network interface
zhums@zhums-virtual-machine:~/rdma-core/providers/rxe/man$ sudo apt-get install iproute2
正在读取软件包列表... 完成
正在分析软件包的依赖关系树       
正在读取状态信息... 完成       
iproute2 已经是最新版 (4.3.0-1ubuntu3.16.04.5)。

#1 lore raw
Quoted 9 lines · aaa

Dear sir:
    I have followed the instructions"To set up software RDMA on an existing interface with either of the available drivers, use the following commands, substituting <DRIVER> with the name of the driver of your choice (rdma_rxe or siw) and <TYPE> with the type corresponding to the driver (rxe or siw).

Quoted 7 lines
# modprobe <DRIVER>
# rdma link add <NAME> type <TYPE> netdev <DEVICE>

Please note that you need version of iproute2 recent enough is required for the command above to work. You can use either ibv_devices or rdma link to verify that the device was successfully added." but when I execute rdma link add, it cann't find the command, so how can i solve it. Thank you very much! my commands history is showed as below.

The solution is written in the first sentence "Please note that you need version of iproute2 recent enough is required for the command above to work."

Thanks