#[repr(C)]pub struct uct_iface_attr {
pub cap: uct_iface_attr__bindgen_ty_1,
pub device_addr_len: size_t,
pub iface_addr_len: size_t,
pub ep_addr_len: size_t,
pub max_conn_priv: size_t,
pub listen_sockaddr: sockaddr_storage,
pub overhead: f64,
pub bandwidth: uct_ppn_bandwidth_t,
pub latency: ucs_linear_func_t,
pub priority: u8,
pub max_num_eps: size_t,
pub dev_num_paths: c_uint,
}Expand description
@ingroup UCT_RESOURCE @brief Interface attributes: capabilities and limitations.
Fields§
§cap: uct_iface_attr__bindgen_ty_1< Interface capabilities
device_addr_len: size_t< Size of device address
iface_addr_len: size_t< Size of interface address
ep_addr_len: size_t< Size of endpoint address
max_conn_priv: size_t< Max size of the iface’s private data. used for connection establishment with sockaddr
listen_sockaddr: sockaddr_storage< Sockaddr on which this iface is listening.
overhead: f64< Message overhead, seconds
bandwidth: uct_ppn_bandwidth_t< Bandwidth model
latency: ucs_linear_func_t< Latency as function of number of active endpoints
priority: u8< Priority of device
max_num_eps: size_t< Maximum number of endpoints
dev_num_paths: c_uint< How many network paths can be utilized on the device used by this interface for optimal performance. Endpoints that connect to the same remote address but use different paths can potentially achieve higher total bandwidth compared to using only a single endpoint.
Trait Implementations§
Source§impl Clone for uct_iface_attr
impl Clone for uct_iface_attr
Source§fn clone(&self) -> uct_iface_attr
fn clone(&self) -> uct_iface_attr
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for uct_iface_attr
impl Debug for uct_iface_attr
impl Copy for uct_iface_attr
Auto Trait Implementations§
impl Freeze for uct_iface_attr
impl RefUnwindSafe for uct_iface_attr
impl Send for uct_iface_attr
impl Sync for uct_iface_attr
impl Unpin for uct_iface_attr
impl UnwindSafe for uct_iface_attr
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more