On 9/7/2022 10:06 AM, Jason Gunthorpe wrote:
On Wed, Sep 07, 2022 at 09:57:43AM -0400, Tom Talpey wrote:
You can test it easily, just load siw on a laptop without any
other RDMA provider. The ib_uverbs module will not be loaded,
and the siw provider won't be seen, rping -s will run but peers
cannot connect for example.
Perhaps there is something funky with rping, it works fine in simpler cases:
$ rdma link show
link siw0/1 state ACTIVE physical_state LINK_UP netdev enp0s31f6
$ sudo rmmod ib_uverbs
$ build/bin/ibv_devinfo
hca_id: siw0
transport: iWARP (1)
fw_ver: 0.0.0
node_guid: 7686:e2ff:fe28:63fc
sys_image_guid: 7486:e228:63fc:0000
vendor_id: 0x626d74
vendor_part_id: 1
hw_ver: 0x0
phys_port_cnt: 1
port: 1
state: PORT_ACTIVE (4)
max_mtu: 1024 (3)
active_mtu: 1024 (3)
sm_lid: 0
port_lid: 0
port_lmc: 0x00
link_layer: Ethernet
$ lsmod | grep -i uverb
ib_uverbs 163840 0
ib_core 393216 2 ib_uverbs,siw
That's odd - your ib_uverbs "Used by" list is empty. Did some
module dependency cache force-load it? On my system, it doesn't
load at all. With the proposed siw softdep, it does.
Tom.
Jason