我正在查看 Mellanox 的 ibverbs 代码。
通过 ibverbs 进行发送/接收操作。
该代码正在使用 UD 连接。
但是当我将
qp_type = IBV_QPT_UD更改为 IBV_QPT_RC 时它不起作用
在这种情况下,除了 qp_type 之外,我还需要更改什么?
代码可以在 repo
https://github.com/alokprasad/books-src/tree/master/rdma-src-mellanox
的 basic_send 和 basic_recv 下找到