pub struct OpCoalesceSetDo<'r> { /* private fields */ }Available on crate feature
ethtool only.Expand description
Set coalesce params.
Request attributes:
- .nested_header()
- .push_rx_usecs()
- .push_rx_max_frames()
- .push_rx_usecs_irq()
- .push_rx_max_frames_irq()
- .push_tx_usecs()
- .push_tx_max_frames()
- .push_tx_usecs_irq()
- .push_tx_max_frames_irq()
- .push_stats_block_usecs()
- .push_use_adaptive_rx()
- .push_use_adaptive_tx()
- .push_pkt_rate_low()
- .push_rx_usecs_low()
- .push_rx_max_frames_low()
- .push_tx_usecs_low()
- .push_tx_max_frames_low()
- .push_pkt_rate_high()
- .push_rx_usecs_high()
- .push_rx_max_frames_high()
- .push_tx_usecs_high()
- .push_tx_max_frames_high()
- .push_rate_sample_interval()
- .push_use_cqe_mode_tx()
- .push_use_cqe_mode_rx()
- .push_tx_aggr_max_bytes()
- .push_tx_aggr_max_frames()
- .push_tx_aggr_time_usecs()
- .nested_rx_profile()
- .nested_tx_profile()
- .push_rx_cqe_frames()
- .push_rx_cqe_nsecs()
Implementations§
Source§impl<'r> OpCoalesceSetDo<'r>
impl<'r> OpCoalesceSetDo<'r>
pub fn new(request: Request<'r>) -> Self
pub fn encode_request<'buf>( buf: &'buf mut Vec<u8>, ) -> PushCoalesce<&'buf mut Vec<u8>>
pub fn encode(&mut self) -> PushCoalesce<&mut Vec<u8>>
pub fn into_encoder(self) -> PushCoalesce<RequestBuf<'r>>
pub fn decode_request<'a>(buf: &'a [u8]) -> IterableCoalesce<'a> ⓘ
Trait Implementations§
Source§impl<'r> Debug for OpCoalesceSetDo<'r>
impl<'r> Debug for OpCoalesceSetDo<'r>
Source§impl NetlinkRequest for OpCoalesceSetDo<'_>
impl NetlinkRequest for OpCoalesceSetDo<'_>
type ReplyType<'buf> = IterableCoalesce<'buf>
fn decode_reply<'buf>(buf: &'buf [u8]) -> Self::ReplyType<'buf>
Auto Trait Implementations§
impl<'r> !UnwindSafe for OpCoalesceSetDo<'r>
impl<'r> Freeze for OpCoalesceSetDo<'r>
impl<'r> RefUnwindSafe for OpCoalesceSetDo<'r>
impl<'r> Send for OpCoalesceSetDo<'r>
impl<'r> Sync for OpCoalesceSetDo<'r>
impl<'r> Unpin for OpCoalesceSetDo<'r>
impl<'r> UnsafeUnpin for OpCoalesceSetDo<'r>
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