Represent VERBS queue pair functionality.
More...
#include <verbs/QueuePair.h>
|
bool | AttachMcast (ibv_gid *mgid, uint16_t mlid) |
|
bool | Connect (uint16_t lid, uint32_t qpn, uint32_t psn, uint8_t src_path_bits=0) |
| Connect QP to specified remote queue pair. More...
|
|
bool | DetachMcast (ibv_gid *mgid, uint16_t mlid) |
|
bool | InitUD () |
| Initialize QP for unreliable datagram protocol. More...
|
|
bool | is_ud () const |
|
uint32_t | local_psn () const |
|
unsigned | NumSendSegs () const |
|
bool | Post_Recv (struct ibv_recv_wr *rwr) |
|
bool | Post_Send (struct ibv_send_wr *swr) |
|
struct ibv_qp * | qp () const |
|
uint32_t | qp_num () const |
|
ibv_qp_type | qp_type () const |
|
| QueuePair (ContextRef ctx, ibv_qp_type qp_type, ComplQueue *send_cq, int send_depth, int max_send_sge, ComplQueue *recv_cq, int recv_depth, int max_recv_sge) |
|
uint16_t | remote_lid () const |
|
uint32_t | remote_psn () const |
|
uint32_t | remote_qpn () const |
|
virtual | ~QueuePair () |
|
Represent VERBS queue pair functionality.
Definition at line 37 of file QueuePair.h.
◆ QueuePair()
verbs::QueuePair::QueuePair |
( |
ContextRef |
ctx, |
|
|
ibv_qp_type |
qp_type, |
|
|
ComplQueue * |
send_cq, |
|
|
int |
send_depth, |
|
|
int |
max_send_sge, |
|
|
ComplQueue * |
recv_cq, |
|
|
int |
recv_depth, |
|
|
int |
max_recv_sge |
|
) |
| |
◆ ~QueuePair()
verbs::QueuePair::~QueuePair |
( |
| ) |
|
|
virtual |
◆ qp()
struct ibv_qp* verbs::QueuePair::qp |
( |
| ) |
const |
|
inline |
◆ qp_type()
ibv_qp_type verbs::QueuePair::qp_type |
( |
| ) |
const |
|
inline |
◆ is_ud()
bool verbs::QueuePair::is_ud |
( |
| ) |
const |
|
inline |
◆ qp_num()
uint32_t verbs::QueuePair::qp_num |
( |
| ) |
const |
|
inline |
◆ local_psn()
uint32_t verbs::QueuePair::local_psn |
( |
| ) |
const |
|
inline |
◆ NumSendSegs()
unsigned verbs::QueuePair::NumSendSegs |
( |
| ) |
const |
|
inline |
◆ Connect()
bool verbs::QueuePair::Connect |
( |
uint16_t |
lid, |
|
|
uint32_t |
qpn, |
|
|
uint32_t |
psn, |
|
|
uint8_t |
src_path_bits = 0 |
|
) |
| |
Connect QP to specified remote queue pair.
- Parameters
-
[in] | lid | LID of remote node |
[in] | qpn | QP number of remote node |
[in] | psn | additional unique identifier of connection which should be established |
[in] | src_path_bits | low bits of source lid, used by QP. It is required when local HCA has multiple LID (LMC>0) and one want to use LID address other than default one. |
Definition at line 141 of file QueuePair.cxx.
◆ InitUD()
bool verbs::QueuePair::InitUD |
( |
| ) |
|
Initialize QP for unreliable datagram protocol.
Definition at line 113 of file QueuePair.cxx.
◆ remote_lid()
uint16_t verbs::QueuePair::remote_lid |
( |
| ) |
const |
|
inline |
◆ remote_qpn()
uint32_t verbs::QueuePair::remote_qpn |
( |
| ) |
const |
|
inline |
◆ remote_psn()
uint32_t verbs::QueuePair::remote_psn |
( |
| ) |
const |
|
inline |
◆ Post_Send()
bool verbs::QueuePair::Post_Send |
( |
struct ibv_send_wr * |
swr | ) |
|
◆ Post_Recv()
bool verbs::QueuePair::Post_Recv |
( |
struct ibv_recv_wr * |
rwr | ) |
|
◆ AttachMcast()
bool verbs::QueuePair::AttachMcast |
( |
ibv_gid * |
mgid, |
|
|
uint16_t |
mlid |
|
) |
| |
◆ DetachMcast()
bool verbs::QueuePair::DetachMcast |
( |
ibv_gid * |
mgid, |
|
|
uint16_t |
mlid |
|
) |
| |
◆ fQPCounter
uint32_t verbs::QueuePair::fQPCounter = 0 |
|
staticprotected |
◆ fContext
◆ fType
ibv_qp_type verbs::QueuePair::fType |
|
protected |
◆ f_qp
struct ibv_qp* verbs::QueuePair::f_qp |
|
protected |
◆ f_local_psn
uint32_t verbs::QueuePair::f_local_psn |
|
protected |
number used in connection
Definition at line 85 of file QueuePair.h.
◆ f_remote_lid
uint16_t verbs::QueuePair::f_remote_lid |
|
protected |
◆ f_remote_qpn
uint32_t verbs::QueuePair::f_remote_qpn |
|
protected |
◆ f_remote_psn
uint32_t verbs::QueuePair::f_remote_psn |
|
protected |
◆ fNumSendSegs
unsigned verbs::QueuePair::fNumSendSegs |
|
protected |
The documentation for this class was generated from the following files: