FD.io VPP  v21.10.1-2-g0a485f517
Vector Packet Processing
rdma_txq_t Struct Reference
+ Collaboration diagram for rdma_txq_t:

Public Member Functions

 CLIB_CACHE_LINE_ALIGN_MARK (cacheline0)
 
 STRUCT_MARK (cacheline1)
 
 STRUCT_MARK (cacheline2)
 

Data Fields

clib_spinlock_t lock
 
union {
   struct {
      struct ibv_cq *   ibv_cq
 
      struct ibv_qp *   ibv_qp
 
   } 
 
   struct {
      rdma_mlx5_wqe_t *   dv_sq_wqes
 
      volatile u32 *   dv_sq_dbrec
 
      volatile u64 *   dv_sq_db
 
      struct mlx5_cqe64 *   dv_cq_cqes
 
      volatile u32 *   dv_cq_dbrec
 
   } 
 
}; 
 
u32bufs
 
u16 head
 
u16 tail
 
u16 dv_cq_idx
 
u8 bufs_log2sz
 
u8 dv_sq_log2sz:4
 
u8 dv_cq_log2sz:4
 
u8 dv_wqe_tmpl [64]
 
struct ibv_cqcq
 
struct ibv_qpqp
 

Detailed Description

Definition at line 117 of file rdma.h.

Member Function Documentation

◆ CLIB_CACHE_LINE_ALIGN_MARK()

rdma_txq_t::CLIB_CACHE_LINE_ALIGN_MARK ( cacheline0  )

◆ STRUCT_MARK() [1/2]

rdma_txq_t::STRUCT_MARK ( cacheline1  )

◆ STRUCT_MARK() [2/2]

rdma_txq_t::STRUCT_MARK ( cacheline2  )

Field Documentation

◆ @111

union { ... }

◆ bufs

u32* rdma_txq_t::bufs

Definition at line 143 of file rdma.h.

◆ bufs_log2sz

u8 rdma_txq_t::bufs_log2sz

Definition at line 147 of file rdma.h.

◆ cq

struct ibv_cq* rdma_txq_t::cq

Definition at line 159 of file rdma.h.

◆ dv_cq_cqes

struct mlx5_cqe64* rdma_txq_t::dv_cq_cqes

Definition at line 138 of file rdma.h.

◆ dv_cq_dbrec

volatile u32* rdma_txq_t::dv_cq_dbrec

Definition at line 139 of file rdma.h.

◆ dv_cq_idx

u16 rdma_txq_t::dv_cq_idx

Definition at line 146 of file rdma.h.

◆ dv_cq_log2sz

u8 rdma_txq_t::dv_cq_log2sz

Definition at line 149 of file rdma.h.

◆ dv_sq_db

volatile u64* rdma_txq_t::dv_sq_db

Definition at line 137 of file rdma.h.

◆ dv_sq_dbrec

volatile u32* rdma_txq_t::dv_sq_dbrec

Definition at line 136 of file rdma.h.

◆ dv_sq_log2sz

u8 rdma_txq_t::dv_sq_log2sz

Definition at line 148 of file rdma.h.

◆ dv_sq_wqes

rdma_mlx5_wqe_t* rdma_txq_t::dv_sq_wqes

Definition at line 135 of file rdma.h.

◆ dv_wqe_tmpl

u8 rdma_txq_t::dv_wqe_tmpl[64]

Definition at line 153 of file rdma.h.

◆ head

u16 rdma_txq_t::head

Definition at line 144 of file rdma.h.

◆ ibv_cq

struct ibv_cq* rdma_txq_t::ibv_cq

Definition at line 129 of file rdma.h.

◆ ibv_qp

struct ibv_qp* rdma_txq_t::ibv_qp

Definition at line 130 of file rdma.h.

◆ lock

clib_spinlock_t rdma_txq_t::lock

Definition at line 122 of file rdma.h.

◆ qp

struct ibv_qp* rdma_txq_t::qp

Definition at line 160 of file rdma.h.

◆ tail

u16 rdma_txq_t::tail

Definition at line 145 of file rdma.h.


The documentation for this struct was generated from the following file: