Struct ibverbs::ffi::ibv_device_attr[][src]

#[repr(C)]pub struct ibv_device_attr {
    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: __be64sys_image_guid: __be64max_mr_size: u64page_size_cap: u64vendor_id: u32vendor_part_id: u32hw_ver: u32max_qp: c_intmax_qp_wr: c_intdevice_cap_flags: c_uintmax_sge: c_intmax_sge_rd: c_intmax_cq: c_intmax_cqe: c_intmax_mr: c_intmax_pd: c_intmax_qp_rd_atom: c_intmax_ee_rd_atom: c_intmax_res_rd_atom: c_intmax_qp_init_rd_atom: c_intmax_ee_init_rd_atom: c_intatomic_cap: ibv_atomic_capmax_ee: c_intmax_rdd: c_intmax_mw: c_intmax_raw_ipv6_qp: c_intmax_raw_ethy_qp: c_intmax_mcast_grp: c_intmax_mcast_qp_attach: c_intmax_total_mcast_qp_attach: c_intmax_ah: c_intmax_fmr: c_intmax_map_per_fmr: c_intmax_srq: c_intmax_srq_wr: c_intmax_srq_sge: c_intmax_pkeys: u16local_ca_ack_delay: u8phys_port_cnt: u8

Trait Implementations

impl Clone for ibv_device_attr[src]

impl Copy for ibv_device_attr[src]

impl Default for ibv_device_attr[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.