Skip to main content

Module netdev

Module netdev 

Source
Available on crate feature netdev only.
Expand description

netdev configuration over generic netlink.

Structs§

IterableDev
IterableDmabuf
IterableIoUringProviderInfo
IterableLease
IterableNapi
IterablePagePool
IterablePagePoolInfo
IterablePagePoolStats
IterableQstats
IterableQueue
IterableQueueId
IterableXskInfo
NotifGroup
OpBindRxDo
Bind dmabuf to netdev
OpBindTxDo
Bind dmabuf to netdev for TX
OpDevAddNotif
Notify attributes:
OpDevChangeNotif
Notify attributes:
OpDevDelNotif
Notify attributes:
OpDevGetDo
Get / dump information about a netdev.
OpDevGetDump
Get / dump information about a netdev.
OpNapiGetDo
Get information about NAPI instances configured on the system.
OpNapiGetDump
Get information about NAPI instances configured on the system.
OpNapiSetDo
Set configurable NAPI instance settings.
OpPagePoolAddNotif
Notify attributes:
OpPagePoolChangeNotif
Notify attributes:
OpPagePoolDelNotif
Notify attributes:
OpPagePoolGetDo
Get / dump information about Page Pools. Only Page Pools associated by the driver with a net_device can be listed. ifindex will not be reported if the net_device no longer exists.
OpPagePoolGetDump
Get / dump information about Page Pools. Only Page Pools associated by the driver with a net_device can be listed. ifindex will not be reported if the net_device no longer exists.
OpPagePoolStatsGetDo
Get page pool statistics.
OpPagePoolStatsGetDump
Get page pool statistics.
OpQstatsGetDump
Get / dump fine grained statistics. Which statistics are reported depends on the device and the driver, and whether the driver stores software counters per-queue.
OpQueueCreateDo
Create a new queue for the given netdevice. Whether this operation is supported depends on the device and the driver.
OpQueueGetDo
Get queue information from the kernel. Only configured queues will be reported (as opposed to all available hardware queues).
OpQueueGetDump
Get queue information from the kernel. Only configured queues will be reported (as opposed to all available hardware queues).
PushDev
PushDmabuf
PushIoUringProviderInfo
PushLease
PushNapi
PushPagePool
PushPagePoolInfo
PushPagePoolStats
PushQstats
PushQueue
PushQueueId
PushXskInfo
Request
RequestInfo

Enums§

Dev
Dmabuf
IoUringProviderInfo
Lease
Napi
NapiThreaded
Enum - defines an integer enumeration, with values for each entry incrementing by 1, (e.g. 0, 1, 2, 3)
PagePool
PagePoolInfo
PagePoolStats
Qstats
QstatsScope
Flags - defines an integer enumeration, with values for each entry occupying a bit, starting from bit 0, (e.g. 1, 2, 4, 8)
Queue
QueueId
QueueType
Enum - defines an integer enumeration, with values for each entry incrementing by 1, (e.g. 0, 1, 2, 3)
XdpAct
Flags - defines an integer enumeration, with values for each entry occupying a bit, starting from bit 0, (e.g. 1, 2, 4, 8)
XdpRxMetadata
Flags - defines an integer enumeration, with values for each entry occupying a bit, starting from bit 0, (e.g. 1, 2, 4, 8)
XskFlags
Flags - defines an integer enumeration, with values for each entry occupying a bit, starting from bit 0, (e.g. 1, 2, 4, 8)
XskInfo

Constants§

PROTONAME
PROTONAME_CSTR