Skip to contentSkip to conversation

rdma link add NAME type rxe netdev IFACE stopped working

DISCUSSION Bob Pearson 2 participants 4 messages Sep 2, 2021 1 message not in the archive InfiniBand

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

-------- Forwarded Message --------
Subject: rdma link add NAME type rxe netdev IFACE stopped working
Date: Wed, 1 Sep 2021 22:04:03 -0500
From: Bob Pearson <[email protected]>
To: Jason Gunthorpe <[email protected]>, Zhu Yanjun <[email protected]>, [email protected]

rdma link has started to fail today reporting an error as follows after working before.

bob@ubunto-21:~$ sudo rdma link add rxe0 type rxe netdev enp0s3

error: Invalid argument

bob@ubunto-21:

Nothing has changed in the past day or two except I pulled recent changes into rdma-core. This runs after typing

export LD_LIBRARY_PATH=/home/bob/src/rdma-core/build/lib/:/usr/local/lib:/usr/lib

which is also the same. Any ideas?

Bob

#2 lore raw
In reply to a message not in the archive
Quoted 8 lines · Bob Pearson

rdma link has started to fail today reporting an error as follows after working before.

bob@ubunto-21:~$ sudo rdma link add rxe0 type rxe netdev enp0s3

error: Invalid argument

bob@ubunto-21:

Quoted 9 lines

Nothing has changed in the past day or two except I pulled recent changes into rdma-core. This runs after typing

export LD_LIBRARY_PATH=/home/bob/src/rdma-core/build/lib/:/usr/local/lib:/usr/lib

which is also the same. Any ideas?

Bob

Update. I then recompiled the kernel after pulling latest changes and now it works. In theory this shouldn't be necessary. The kernel APIs should be beckwards compatible.

Bob

#3 lore raw
Quoted 14 lines · Bob Pearson
Quoted 13 lines · Bob Pearson

rdma link has started to fail today reporting an error as follows after working before.

bob@ubunto-21:~$ sudo rdma link add rxe0 type rxe netdev enp0s3

error: Invalid argument

bob@ubunto-21:

Nothing has changed in the past day or two except I pulled recent changes into rdma-core. This runs after typing

export LD_LIBRARY_PATH=/home/bob/src/rdma-core/build/lib/:/usr/local/lib:/usr/lib

Quoted 8 lines
Quoted 4 lines

which is also the same. Any ideas?

Bob

Update. I then recompiled the kernel after pulling latest changes and now it works. In theory this shouldn't be necessary. The kernel APIs should be beckwards compatible.

I don't think anything has changed here in a long time, so I have no guess

'rdma link' has no relation to rdma-core either

Perhaps your kernel got in a bad state?

Jason

#4 lore raw
Quoted 24 lines · Jason Gunthorpe
Quoted 14 lines · Bob Pearson
Quoted 13 lines · Bob Pearson

rdma link has started to fail today reporting an error as follows after working before.

bob@ubunto-21:~$ sudo rdma link add rxe0 type rxe netdev enp0s3

error: Invalid argument

bob@ubunto-21:

Nothing has changed in the past day or two except I pulled recent changes into rdma-core. This runs after typing

export LD_LIBRARY_PATH=/home/bob/src/rdma-core/build/lib/:/usr/local/lib:/usr/lib

Quoted 8 lines
Quoted 4 lines

which is also the same. Any ideas?

Bob

Update. I then recompiled the kernel after pulling latest changes and now it works. In theory this shouldn't be necessary. The kernel APIs should be beckwards compatible.

Quoted 9 lines

I don't think anything has changed here in a long time, so I have no guess

'rdma link' has no relation to rdma-core either

Perhaps your kernel got in a bad state?

Jason

Must have. Thanks. -- Bob