#[repr(C)]pub struct mlx5dv_context {Show 19 fields
pub version: u8,
pub flags: u64,
pub comp_mask: u64,
pub cqe_comp_caps: mlx5dv_cqe_comp_caps,
pub sw_parsing_caps: mlx5dv_sw_parsing_caps,
pub striding_rq_caps: mlx5dv_striding_rq_caps,
pub tunnel_offloads_caps: u32,
pub max_dynamic_bfregs: u32,
pub max_clock_info_update_nsec: u64,
pub flow_action_flags: u32,
pub dc_odp_caps: u32,
pub hca_core_clock: *mut c_void,
pub num_lag_ports: u8,
pub sig_caps: mlx5dv_sig_caps,
pub dci_streams_caps: mlx5dv_dci_streams_caps,
pub max_wr_memcpy_length: usize,
pub crypto_caps: mlx5dv_crypto_caps,
pub max_dc_rd_atom: u64,
pub max_dc_init_rd_atom: u64,
}
Fields§
§version: u8
§flags: u64
§comp_mask: u64
§cqe_comp_caps: mlx5dv_cqe_comp_caps
§sw_parsing_caps: mlx5dv_sw_parsing_caps
§striding_rq_caps: mlx5dv_striding_rq_caps
§tunnel_offloads_caps: u32
§max_dynamic_bfregs: u32
§max_clock_info_update_nsec: u64
§flow_action_flags: u32
§dc_odp_caps: u32
§hca_core_clock: *mut c_void
§num_lag_ports: u8
§sig_caps: mlx5dv_sig_caps
§dci_streams_caps: mlx5dv_dci_streams_caps
§max_wr_memcpy_length: usize
§crypto_caps: mlx5dv_crypto_caps
§max_dc_rd_atom: u64
§max_dc_init_rd_atom: u64
Trait Implementations§
Source§impl Clone for mlx5dv_context
impl Clone for mlx5dv_context
Source§fn clone(&self) -> mlx5dv_context
fn clone(&self) -> mlx5dv_context
Returns a duplicate 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 mlx5dv_context
impl Debug for mlx5dv_context
Source§impl Default for mlx5dv_context
impl Default for mlx5dv_context
impl Copy for mlx5dv_context
Auto Trait Implementations§
impl Freeze for mlx5dv_context
impl RefUnwindSafe for mlx5dv_context
impl !Send for mlx5dv_context
impl !Sync for mlx5dv_context
impl Unpin for mlx5dv_context
impl UnwindSafe for mlx5dv_context
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