Non-owning view of a FabricInfo. Returned when iterating over a FabricInfoList.
More...
|
| ::fi_ep_type | endpointType () const noexcept |
| ::fi_info const & | operator* () const noexcept |
| | Dereferencing returns the raw ::fi_info object associated with this view.
|
| ::fi_info & | operator* () noexcept |
| | Dereferencing returns the raw ::fi_info object associated with this view.
|
| ::fi_info const * | operator-> () const noexcept |
| | Dereferencing returns the raw ::fi_info object associated with this view.
|
| ::fi_info * | operator-> () noexcept |
| | Dereferencing returns the raw ::fi_info object associated with this view.
|
| FabricInfo | owned () noexcept |
| | Return an owned version that can be moved, copied and dereferenced safely even if the original FabricInfo object has been released.
|
| ::fi_info const * | raw () const noexcept |
| | Returns the raw ::fi_info object associated with this view.
|
| ::fi_info * | raw () noexcept |
| | Returns the raw ::fi_info object associated with this view.
|
| std::size_t | txIovLimit () const noexcept |
| | Return the IOV limit for this fabric info, which is the maximum number of iovecs that can be posted in a single send operation.
|
| std::size_t | txSize () const noexcept |
| | Return the transmit queue size of the endpoint.
|
Non-owning view of a FabricInfo. Returned when iterating over a FabricInfoList.
Definition at line 105 of file FabricInfo.hpp.
◆ FabricInfoView()
| mxl::lib::fabrics::ofi::FabricInfoView::FabricInfoView |
( |
::fi_info const * | raw | ) |
|
|
private |
Private constructor.
Definition at line 119 of file FabricInfo.cpp.
120 :
_raw(
const_cast<::fi_info*
>(
raw))
121 {}
::fi_info * raw() noexcept
Returns the raw fi_info object associated with this view.
◆ endpointType()
| fi_ep_type mxl::lib::fabrics::ofi::FabricInfoView::endpointType |
( |
| ) |
const |
|
nodiscardnoexcept |
◆ operator*() [1/2]
| fi_info const & mxl::lib::fabrics::ofi::FabricInfoView::operator* |
( |
| ) |
const |
|
nodiscardnoexcept |
Dereferencing returns the raw ::fi_info object associated with this view.
Definition at line 128 of file FabricInfo.cpp.
◆ operator*() [2/2]
| fi_info & mxl::lib::fabrics::ofi::FabricInfoView::operator* |
( |
| ) |
|
|
nodiscardnoexcept |
Dereferencing returns the raw ::fi_info object associated with this view.
Definition at line 123 of file FabricInfo.cpp.
◆ operator->() [1/2]
| fi_info const * mxl::lib::fabrics::ofi::FabricInfoView::operator-> |
( |
| ) |
const |
|
nodiscardnoexcept |
Dereferencing returns the raw ::fi_info object associated with this view.
Definition at line 138 of file FabricInfo.cpp.
◆ operator->() [2/2]
| fi_info * mxl::lib::fabrics::ofi::FabricInfoView::operator-> |
( |
| ) |
|
|
nodiscardnoexcept |
Dereferencing returns the raw ::fi_info object associated with this view.
Definition at line 133 of file FabricInfo.cpp.
◆ owned()
| FabricInfo mxl::lib::fabrics::ofi::FabricInfoView::owned |
( |
| ) |
|
|
nodiscardnoexcept |
Return an owned version that can be moved, copied and dereferenced safely even if the original FabricInfo object has been released.
Definition at line 153 of file FabricInfo.cpp.
154 {
155 return FabricInfo::clone(
_raw);
156 }
◆ raw() [1/2]
| fi_info const * mxl::lib::fabrics::ofi::FabricInfoView::raw |
( |
| ) |
const |
|
nodiscardnoexcept |
Returns the raw ::fi_info object associated with this view.
Definition at line 148 of file FabricInfo.cpp.
◆ raw() [2/2]
| fi_info * mxl::lib::fabrics::ofi::FabricInfoView::raw |
( |
| ) |
|
|
noexcept |
Returns the raw ::fi_info object associated with this view.
Definition at line 143 of file FabricInfo.cpp.
◆ txIovLimit()
| std::size_t mxl::lib::fabrics::ofi::FabricInfoView::txIovLimit |
( |
| ) |
const |
|
nodiscardnoexcept |
Return the IOV limit for this fabric info, which is the maximum number of iovecs that can be posted in a single send operation.
Definition at line 158 of file FabricInfo.cpp.
159 {
160 return _raw->tx_attr->iov_limit;
161 }
◆ txSize()
| std::size_t mxl::lib::fabrics::ofi::FabricInfoView::txSize |
( |
| ) |
const |
|
nodiscardnoexcept |
Return the transmit queue size of the endpoint.
- Returns
- The number of transmit queue entries. A single operation may use more than one.
Definition at line 163 of file FabricInfo.cpp.
164 {
165 return _raw->tx_attr->size;
166 }
◆ _raw
| ::fi_info* mxl::lib::fabrics::ofi::FabricInfoView::_raw |
|
private |
◆ FabricInfo
| friend mxl::lib::fabrics::ofi::FabricInfoView::FabricInfo |
|
private |
◆ FabricInfoIterator< false >
| friend mxl::lib::fabrics::ofi::FabricInfoView::FabricInfoIterator< false > |
|
private |
◆ FabricInfoIterator< true >
| friend mxl::lib::fabrics::ofi::FabricInfoView::FabricInfoIterator< true > |
|
private |
The documentation for this class was generated from the following files: