#[repr(C)]pub struct ibv_device_attr {Show 40 fields
pub fw_ver: [c_char; 64],
pub node_guid: __be64,
pub sys_image_guid: __be64,
pub max_mr_size: u64,
pub page_size_cap: u64,
pub vendor_id: u32,
pub vendor_part_id: u32,
pub hw_ver: u32,
pub max_qp: c_int,
pub max_qp_wr: c_int,
pub device_cap_flags: c_uint,
pub max_sge: c_int,
pub max_sge_rd: c_int,
pub max_cq: c_int,
pub max_cqe: c_int,
pub max_mr: c_int,
pub max_pd: c_int,
pub max_qp_rd_atom: c_int,
pub max_ee_rd_atom: c_int,
pub max_res_rd_atom: c_int,
pub max_qp_init_rd_atom: c_int,
pub max_ee_init_rd_atom: c_int,
pub atomic_cap: ibv_atomic_cap,
pub max_ee: c_int,
pub max_rdd: c_int,
pub max_mw: c_int,
pub max_raw_ipv6_qp: c_int,
pub max_raw_ethy_qp: c_int,
pub max_mcast_grp: c_int,
pub max_mcast_qp_attach: c_int,
pub max_total_mcast_qp_attach: c_int,
pub max_ah: c_int,
pub max_fmr: c_int,
pub max_map_per_fmr: c_int,
pub max_srq: c_int,
pub max_srq_wr: c_int,
pub max_srq_sge: c_int,
pub max_pkeys: u16,
pub local_ca_ack_delay: u8,
pub phys_port_cnt: u8,
}
Fields§
§fw_ver: [c_char; 64]
§node_guid: __be64
§sys_image_guid: __be64
§max_mr_size: u64
§page_size_cap: u64
§vendor_id: u32
§vendor_part_id: u32
§hw_ver: u32
§max_qp: c_int
§max_qp_wr: c_int
§device_cap_flags: c_uint
§max_sge: c_int
§max_sge_rd: c_int
§max_cq: c_int
§max_cqe: c_int
§max_mr: c_int
§max_pd: c_int
§max_qp_rd_atom: c_int
§max_ee_rd_atom: c_int
§max_res_rd_atom: c_int
§max_qp_init_rd_atom: c_int
§max_ee_init_rd_atom: c_int
§atomic_cap: ibv_atomic_cap
§max_ee: c_int
§max_rdd: c_int
§max_mw: c_int
§max_raw_ipv6_qp: c_int
§max_raw_ethy_qp: c_int
§max_mcast_grp: c_int
§max_mcast_qp_attach: c_int
§max_total_mcast_qp_attach: c_int
§max_ah: c_int
§max_fmr: c_int
§max_map_per_fmr: c_int
§max_srq: c_int
§max_srq_wr: c_int
§max_srq_sge: c_int
§max_pkeys: u16
§local_ca_ack_delay: u8
§phys_port_cnt: u8
Trait Implementations§
Source§impl Clone for ibv_device_attr
impl Clone for ibv_device_attr
Source§fn clone(&self) -> ibv_device_attr
fn clone(&self) -> ibv_device_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 ibv_device_attr
impl Debug for ibv_device_attr
Source§impl Default for ibv_device_attr
impl Default for ibv_device_attr
impl Copy for ibv_device_attr
Auto Trait Implementations§
impl Freeze for ibv_device_attr
impl RefUnwindSafe for ibv_device_attr
impl Send for ibv_device_attr
impl Sync for ibv_device_attr
impl Unpin for ibv_device_attr
impl UnwindSafe for ibv_device_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