Struct ibverbs::ffi::ibv_port_attr
[−]
[src]
#[repr(C)]pub struct ibv_port_attr { pub state: ibv_port_state, pub max_mtu: ibv_mtu, pub active_mtu: ibv_mtu, pub gid_tbl_len: c_int, pub port_cap_flags: u32, pub max_msg_sz: u32, pub bad_pkey_cntr: u32, pub qkey_viol_cntr: u32, pub pkey_tbl_len: u16, pub lid: u16, pub sm_lid: u16, pub lmc: u8, pub max_vl_num: u8, pub sm_sl: u8, pub subnet_timeout: u8, pub init_type_reply: u8, pub active_width: u8, pub active_speed: u8, pub phys_state: u8, pub link_layer: u8, pub reserved: u8, }
Fields
state: ibv_port_state
max_mtu: ibv_mtu
active_mtu: ibv_mtu
gid_tbl_len: c_int
port_cap_flags: u32
max_msg_sz: u32
bad_pkey_cntr: u32
qkey_viol_cntr: u32
pkey_tbl_len: u16
lid: u16
sm_lid: u16
lmc: u8
max_vl_num: u8
sm_sl: u8
subnet_timeout: u8
init_type_reply: u8
active_width: u8
active_speed: u8
phys_state: u8
link_layer: u8
reserved: u8
Trait Implementations
impl Debug for ibv_port_attr
[src]
impl Copy for ibv_port_attr
[src]
impl Clone for ibv_port_attr
[src]
fn clone(&self) -> Self
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more