pub struct PushOpQueueGetDumpReply<Prev: Rec> { /* private fields */ }netdev only.Expand description
Get queue information from the kernel. Only configured queues will be reported (as opposed to all available hardware queues).
Implementations§
Source§impl<Prev: Rec> PushOpQueueGetDumpReply<Prev>
impl<Prev: Rec> PushOpQueueGetDumpReply<Prev>
pub fn new(prev: Prev) -> Self
pub fn end_nested(self) -> Prev
Sourcepub fn push_id(self, value: u32) -> Self
pub fn push_id(self, value: u32) -> Self
Queue index; most queue types are indexed like a C array, with indexes starting at 0 and ending at queue count - 1. Queue indexes are scoped to an interface and queue type.
Sourcepub fn push_ifindex(self, value: u32) -> Self
pub fn push_ifindex(self, value: u32) -> Self
ifindex of the netdevice to which the queue belongs.
Sourcepub fn push_type(self, value: u32) -> Self
pub fn push_type(self, value: u32) -> Self
Queue type as rx, tx. Each queue type defines a separate ID space. XDP TX queues allocated in the kernel are not linked to NAPIs and thus not listed. AF_XDP queues will have more information set in the xsk attribute. Associated type: “QueueType” (enum)
Sourcepub fn push_napi_id(self, value: u32) -> Self
pub fn push_napi_id(self, value: u32) -> Self
ID of the NAPI instance which services this queue.
Sourcepub fn push_dmabuf(self, value: u32) -> Self
pub fn push_dmabuf(self, value: u32) -> Self
ID of the dmabuf attached to this queue, if any.
Sourcepub fn nested_io_uring(self) -> PushIoUringProviderInfo<Self>
pub fn nested_io_uring(self) -> PushIoUringProviderInfo<Self>
io_uring memory provider information.
Sourcepub fn nested_xsk(self) -> PushXskInfo<Self>
pub fn nested_xsk(self) -> PushXskInfo<Self>
XSK information for this queue, if any.