FD.io VPP  v20.05.1-6-gf53edbc3b
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 92 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

◆ @115

union { ... }

◆ bufs

u32* rdma_txq_t::bufs

Definition at line 118 of file rdma.h.

◆ bufs_log2sz

u8 rdma_txq_t::bufs_log2sz

Definition at line 122 of file rdma.h.

◆ cq

struct ibv_cq* rdma_txq_t::cq

Definition at line 134 of file rdma.h.

◆ dv_cq_cqes

struct mlx5_cqe64* rdma_txq_t::dv_cq_cqes

Definition at line 113 of file rdma.h.

◆ dv_cq_dbrec

volatile u32* rdma_txq_t::dv_cq_dbrec

Definition at line 114 of file rdma.h.

◆ dv_cq_idx

u16 rdma_txq_t::dv_cq_idx

Definition at line 121 of file rdma.h.

◆ dv_cq_log2sz

u8 rdma_txq_t::dv_cq_log2sz

Definition at line 124 of file rdma.h.

◆ dv_sq_db

volatile u64* rdma_txq_t::dv_sq_db

Definition at line 112 of file rdma.h.

◆ dv_sq_dbrec

volatile u32* rdma_txq_t::dv_sq_dbrec

Definition at line 111 of file rdma.h.

◆ dv_sq_log2sz

u8 rdma_txq_t::dv_sq_log2sz

Definition at line 123 of file rdma.h.

◆ dv_sq_wqes

rdma_mlx5_wqe_t* rdma_txq_t::dv_sq_wqes

Definition at line 110 of file rdma.h.

◆ dv_wqe_tmpl

u8 rdma_txq_t::dv_wqe_tmpl[64]

Definition at line 128 of file rdma.h.

◆ head

u16 rdma_txq_t::head

Definition at line 119 of file rdma.h.

◆ ibv_cq

struct ibv_cq* rdma_txq_t::ibv_cq

Definition at line 104 of file rdma.h.

◆ ibv_qp

struct ibv_qp* rdma_txq_t::ibv_qp

Definition at line 105 of file rdma.h.

◆ lock

clib_spinlock_t rdma_txq_t::lock

Definition at line 97 of file rdma.h.

◆ qp

struct ibv_qp* rdma_txq_t::qp

Definition at line 135 of file rdma.h.

◆ tail

u16 rdma_txq_t::tail

Definition at line 120 of file rdma.h.


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