Struct mlx_ethernet::work_queue::WorkQueueEntryReceive
source · #[repr(C)]pub struct WorkQueueEntryReceive { /* private fields */ }
Expand description
WQEs are built from multiple segments. In the case of Receive WQEs, there is only the memory pointer data segment
Implementations§
source§impl WorkQueueEntryReceive
impl WorkQueueEntryReceive
sourcepub fn update_buffer_info(
&mut self,
lkey: u32,
local_address: PhysicalAddress,
packet_len: u32
)
pub fn update_buffer_info( &mut self, lkey: u32, local_address: PhysicalAddress, packet_len: u32 )
Fill the data segment of the WQE to receive packets.
Arguments
lkey
: the lkey used by the RQlocal_address
: physical address of the packet bufferpacket_len
: packet buffer length in bytes
Trait Implementations§
source§impl Default for WorkQueueEntryReceive
impl Default for WorkQueueEntryReceive
source§fn default() -> WorkQueueEntryReceive
fn default() -> WorkQueueEntryReceive
Returns the “default value” for a type. Read more
impl FromBytes for WorkQueueEntryReceive
Auto Trait Implementations§
impl RefUnwindSafe for WorkQueueEntryReceive
impl Send for WorkQueueEntryReceive
impl Sync for WorkQueueEntryReceive
impl Unpin for WorkQueueEntryReceive
impl UnwindSafe for WorkQueueEntryReceive
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