pub struct OpRingsSetDo<'r> { /* private fields */ }Available on crate feature
ethtool only.Expand description
Set ring params.
Request attributes:
- .nested_header()
- .push_rx_max()
- .push_rx_mini_max()
- .push_rx_jumbo_max()
- .push_tx_max()
- .push_rx()
- .push_rx_mini()
- .push_rx_jumbo()
- .push_tx()
- .push_rx_buf_len()
- .push_tcp_data_split()
- .push_cqe_size()
- .push_tx_push()
- .push_rx_push()
- .push_tx_push_buf_len()
- .push_tx_push_buf_len_max()
- .push_hds_thresh()
- .push_hds_thresh_max()
Implementations§
Source§impl<'r> OpRingsSetDo<'r>
impl<'r> OpRingsSetDo<'r>
pub fn new(request: Request<'r>) -> Self
pub fn encode_request<'buf>( buf: &'buf mut Vec<u8>, ) -> PushRings<&'buf mut Vec<u8>>
pub fn encode(&mut self) -> PushRings<&mut Vec<u8>>
pub fn into_encoder(self) -> PushRings<RequestBuf<'r>>
pub fn decode_request<'a>(buf: &'a [u8]) -> IterableRings<'a> ⓘ
Trait Implementations§
Source§impl<'r> Debug for OpRingsSetDo<'r>
impl<'r> Debug for OpRingsSetDo<'r>
Source§impl NetlinkRequest for OpRingsSetDo<'_>
impl NetlinkRequest for OpRingsSetDo<'_>
type ReplyType<'buf> = IterableRings<'buf>
fn decode_reply<'buf>(buf: &'buf [u8]) -> Self::ReplyType<'buf>
Auto Trait Implementations§
impl<'r> !UnwindSafe for OpRingsSetDo<'r>
impl<'r> Freeze for OpRingsSetDo<'r>
impl<'r> RefUnwindSafe for OpRingsSetDo<'r>
impl<'r> Send for OpRingsSetDo<'r>
impl<'r> Sync for OpRingsSetDo<'r>
impl<'r> Unpin for OpRingsSetDo<'r>
impl<'r> UnsafeUnpin for OpRingsSetDo<'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