Skip to content

rdma simple example #925

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

Closed
wants to merge 1 commit into from
Closed

rdma simple example #925

wants to merge 1 commit into from

Conversation

qicosmos
Copy link
Collaborator

@qicosmos qicosmos commented Mar 20, 2025

Why

一个简单的例子展示如何用rdma通信。

第一步先通过调用rpc请求handshake用来交换server和client的端点信息(gid, qp num等);

第二步 client在收到server的端点信息之后修改rtr状态,然后post recv,再调用rpc请求test 告诉server可以发数据了。

server收到test rpc请求之后会post send数据给client,client 在收到server的响应之后去ibv_poll_cq等待cqe。

问题是server的test 函数中需要发送两次数据,client 才收到cqe并得到数据,正常情况下应该只需要发送一次数据。

What is changing

Example

Copy link

for detail, goto summary download Artifacts base-ylt-cov-report(base commit coverage report) and ylt-cov-report(current pull request coverage report)

@qicosmos
Copy link
Collaborator Author

#930

@qicosmos qicosmos closed this Mar 27, 2025
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

Successfully merging this pull request may close these issues.

1 participant