Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues with rsockets and softroce? #18

Open
davew723 opened this issue Apr 30, 2022 · 0 comments
Open

Issues with rsockets and softroce? #18

davew723 opened this issue Apr 30, 2022 · 0 comments

Comments

@davew723
Copy link

I'm wondering if I'm doing something wrong here? Although the same approach is working with my mellanox cards. Example Issue:

Using AWS I setup two EC2 instances. Verify that security group allows me to ssh between the two instances. Them I install...

sudo yum groupinstall -y "Development Tools"
sudo yum install -y cmake git
sudo yum install -y rdma-core rdma-core-devel

... Next I setup my SoftRoCE interface.

sudo rdma link add rxe0 type rxe netdev eth0

Run ./rdma_server on the first EC2 instance ...

[ec2-user@ip-10-0-3-213 build]$ ./rdma_server
rdma_server: start
rdma_server: end 0

And rdma_client on the second...

[dev2:/home/ec2-user/git/rsockets/build]./rdma_client 10.0.3.213
rdma_client: start
rdma_client: end 0

SUCCESS. Although rdma_client does NOT use https://github.com/linux-rdma/rdma-core/blob/master/librdmacm/rsocket.*

Next test rcopy in the same fashion.

[ec2-user@ip-10-0-3-213 build]$ ./rcopy
waiting for connection...

[dev2:/home/ec2-user/git/rsockets/build]./rcopy /etc/hosts 10.0.3.213:/tmp/hosts
rconnect failed
: Invalid argument

FAIL Invalid argument. I tried a couple of the other rsockets examples like riostream and it fails similarly but on rpoll.

These same tests work fine with a mellanox adapter running RoCE.

Anyone else run into this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant