Global state of a HCA with its context. More...
#include <nm_ibverbs.h>
Data Fields | ||
| const char * | device | |
| int | port | |
| struct ibv_device * | ib_dev | |
| IB device. | ||
| uint16_t | lid | |
| local IB LID | ||
| union ibv_gid | gid | |
| local IB GID | ||
| int | gidx | |
| < index of the GID in table; -1 if none | ||
| struct ibv_context * | context | |
| global IB context | ||
| struct ibv_pd * | pd | |
| global IB protection domain | ||
| struct { | ||
| int max_qp | ||
| maximum number of QP More... | ||
| int max_qp_wr | ||
| maximum number of WR per QP More... | ||
| int max_cq | ||
| maximum number of CQ More... | ||
| int max_cqe | ||
| maximum number of entries per CQ More... | ||
| int max_mr | ||
| maximum number of MR More... | ||
| int max_srq | ||
| maximum number of SRQs; 0 if not supported More... | ||
| uint64_t max_mr_size | ||
| maximum size for a MR More... | ||
| uint64_t page_size_cap | ||
| maximum page size for device More... | ||
| uint64_t max_msg_size | ||
| maximum message size More... | ||
| int data_rate | ||
| } | ib_caps | |
| struct { | ||
| int srq_limit_reached | ||
| an srq low level event was triggered More... | ||
| } | async_events | |
| nm_len_t | size_mem_reg | |
| total amount of memory registered in this HCA context | ||
| long | n_mem_reg | |
| number of memory blocks registered in this HCA context | ||
| void(* | p_reg_back_pressure )(void *, nm_len_t) | |
| function to ask to reduce pressure on memory registration to rcache | ||
| void * | _reg_back_pressure_status | |
| data given to p_reg_back_pressure | ||
Detailed Description
Global state of a HCA with its context.
Definition at line 144 of file nm_ibverbs.h.
Field Documentation
◆ _reg_back_pressure_status
| void* nm_ibverbs_hca_s::_reg_back_pressure_status |
data given to p_reg_back_pressure
Definition at line 177 of file nm_ibverbs.h.
◆ [struct]
| struct { ... } nm_ibverbs_hca_s::async_events |
◆ context
| struct ibv_context* nm_ibverbs_hca_s::context |
global IB context
Definition at line 152 of file nm_ibverbs.h.
◆ data_rate
| int nm_ibverbs_hca_s::data_rate |
Definition at line 165 of file nm_ibverbs.h.
◆ device
| const char* nm_ibverbs_hca_s::device |
Definition at line 146 of file nm_ibverbs.h.
◆ gid
| union ibv_gid nm_ibverbs_hca_s::gid |
local IB GID
Definition at line 150 of file nm_ibverbs.h.
◆ gidx
| int nm_ibverbs_hca_s::gidx |
< index of the GID in table; -1 if none
Definition at line 151 of file nm_ibverbs.h.
◆ [struct]
| struct { ... } nm_ibverbs_hca_s::ib_caps |
◆ ib_dev
| struct ibv_device* nm_ibverbs_hca_s::ib_dev |
IB device.
Definition at line 148 of file nm_ibverbs.h.
◆ lid
| uint16_t nm_ibverbs_hca_s::lid |
local IB LID
Definition at line 149 of file nm_ibverbs.h.
◆ max_cq
| int nm_ibverbs_hca_s::max_cq |
maximum number of CQ
Definition at line 158 of file nm_ibverbs.h.
◆ max_cqe
| int nm_ibverbs_hca_s::max_cqe |
maximum number of entries per CQ
Definition at line 159 of file nm_ibverbs.h.
◆ max_mr
| int nm_ibverbs_hca_s::max_mr |
maximum number of MR
Definition at line 160 of file nm_ibverbs.h.
◆ max_mr_size
| uint64_t nm_ibverbs_hca_s::max_mr_size |
maximum size for a MR
Definition at line 162 of file nm_ibverbs.h.
◆ max_msg_size
| uint64_t nm_ibverbs_hca_s::max_msg_size |
maximum message size
Definition at line 164 of file nm_ibverbs.h.
◆ max_qp
| int nm_ibverbs_hca_s::max_qp |
maximum number of QP
Definition at line 156 of file nm_ibverbs.h.
◆ max_qp_wr
| int nm_ibverbs_hca_s::max_qp_wr |
maximum number of WR per QP
Definition at line 157 of file nm_ibverbs.h.
◆ max_srq
| int nm_ibverbs_hca_s::max_srq |
maximum number of SRQs; 0 if not supported
Definition at line 161 of file nm_ibverbs.h.
◆ n_mem_reg
| long nm_ibverbs_hca_s::n_mem_reg |
number of memory blocks registered in this HCA context
Definition at line 175 of file nm_ibverbs.h.
◆ p_reg_back_pressure
| void(* nm_ibverbs_hca_s::p_reg_back_pressure) (void *, nm_len_t) |
function to ask to reduce pressure on memory registration to rcache
Definition at line 176 of file nm_ibverbs.h.
◆ page_size_cap
| uint64_t nm_ibverbs_hca_s::page_size_cap |
maximum page size for device
Definition at line 163 of file nm_ibverbs.h.
◆ pd
| struct ibv_pd* nm_ibverbs_hca_s::pd |
global IB protection domain
Definition at line 153 of file nm_ibverbs.h.
◆ port
| int nm_ibverbs_hca_s::port |
Definition at line 147 of file nm_ibverbs.h.
◆ size_mem_reg
| nm_len_t nm_ibverbs_hca_s::size_mem_reg |
total amount of memory registered in this HCA context
Definition at line 174 of file nm_ibverbs.h.
◆ srq_limit_reached
| int nm_ibverbs_hca_s::srq_limit_reached |
an srq low level event was triggered
Definition at line 172 of file nm_ibverbs.h.
The documentation for this struct was generated from the following file: