A C++ wrapper for the IB Verbs ibv_qp struct and its associated functions. More...
#include <verbs_helper.hpp>
Public Member Functions | |
~queue_pair () | |
queue_pair (size_t remote_index) | |
queue_pair (size_t remote_index, std::function< void(queue_pair *)> post_recvs) | |
queue_pair (queue_pair &&)=default | |
bool | post_send (const memory_region &mr, size_t offset, size_t length, uint64_t wr_id, uint32_t immediate, const message_type &type) |
bool | post_recv (const memory_region &mr, size_t offset, size_t length, uint64_t wr_id, const message_type &type) |
bool | post_empty_send (uint64_t wr_id, uint32_t immediate, const message_type &type) |
bool | post_empty_recv (uint64_t wr_id, const message_type &type) |
bool | post_write (const memory_region &mr, size_t offset, size_t length, uint64_t wr_id, remote_memory_region remote_mr, size_t remote_offset, const message_type &type, bool signaled=false, bool send_inline=false) |
Protected Member Functions | |
queue_pair () | |
Protected Attributes | |
std::unique_ptr< ibv_qp, std::function< void(ibv_qp *)> > | qp |
Friends | |
class | task |
A C++ wrapper for the IB Verbs ibv_qp struct and its associated functions.
Instances of this class can only be created after global Verbs initialization has been run, since it depends on global Verbs resources.
Definition at line 106 of file verbs_helper.hpp.
|
inlineexplicitprotected |
Definition at line 109 of file verbs_helper.hpp.
rdma::queue_pair::~queue_pair | ( | ) |
Definition at line 562 of file verbs_helper.cpp.
|
explicit |
Definition at line 565 of file verbs_helper.cpp.
rdma::queue_pair::queue_pair | ( | size_t | remote_index, |
std::function< void(queue_pair *)> | post_recvs | ||
) |
Definition at line 571 of file verbs_helper.cpp.
|
default |
bool rdma::queue_pair::post_empty_recv | ( | uint64_t | wr_id, |
const message_type & | type | ||
) |
Definition at line 725 of file verbs_helper.cpp.
bool rdma::queue_pair::post_empty_send | ( | uint64_t | wr_id, |
uint32_t | immediate, | ||
const message_type & | type | ||
) |
Definition at line 671 of file verbs_helper.cpp.
bool rdma::queue_pair::post_recv | ( | const memory_region & | mr, |
size_t | offset, | ||
size_t | length, | ||
uint64_t | wr_id, | ||
const message_type & | type | ||
) |
Definition at line 695 of file verbs_helper.cpp.
bool rdma::queue_pair::post_send | ( | const memory_region & | mr, |
size_t | offset, | ||
size_t | length, | ||
uint64_t | wr_id, | ||
uint32_t | immediate, | ||
const message_type & | type | ||
) |
Definition at line 639 of file verbs_helper.cpp.
bool rdma::queue_pair::post_write | ( | const memory_region & | mr, |
size_t | offset, | ||
size_t | length, | ||
uint64_t | wr_id, | ||
remote_memory_region | remote_mr, | ||
size_t | remote_offset, | ||
const message_type & | type, | ||
bool | signaled = false , |
||
bool | send_inline = false |
||
) |
Definition at line 745 of file verbs_helper.cpp.
|
friend |
Definition at line 111 of file verbs_helper.hpp.
|
protected |
Definition at line 108 of file verbs_helper.hpp.