You are not logged in.

#1 2022-01-11 22:55:44

ComradK
Member
Registered: 2022-01-11
Posts: 2

RDMA Soft RoCE

I tried to install rdma-core from AUR and then executed:
sudo modprobe rdma_rxe
sudo rdma link add rxe0 type rxe netdev wlp60s0

then ibstat shows:
CA 'rxe0'
        CA type:
        Number of ports: 1
        Firmware version:
        Hardware version:
        Node GUID: 0x4a51c5fffef6e159
        System image GUID: 0x4a51c5fffef6e159
        Port 1:
                State: Active
                Physical state: LinkUp
                Rate: 2.5
                Base lid: 0
                LMC: 0
                SM lid: 0
                Capability mask: 0x00010000
                Port GUID: 0x4a51c5fffef6e159
                Link layer: Ethernet

But launching any example I always get an error by call of: ibv_modify_qp
with an attempt to modify QP state to RTR. The type of the error is EINVAL.
I believe I miss something very obvious.

Offline

#2 2022-05-28 17:15:23

ComradK
Member
Registered: 2022-01-11
Posts: 2

Re: RDMA Soft RoCE

I've got the answer through:  linux-rdma (at) vger.kernel.org

The problem was with an IPv6 address. So I did:
ipv6calc --in prefix+mac fe80:: XX:XX:XX:XX:XX:XX

where the XX:XX:XX:XX:XX:XX is a correspondent mac address
and then:
sudo ip addr add dev <dev> fe80::ZZZZ:ZZZZ:ZZZZ:ZZZZ/64

which added the needed address
Solved!

Offline

Board footer

Powered by FluxBB