Class: Nl::Linux::Netdev::Messages::DumpPagePoolGetRequest
- Inherits:
-
Genl::Message
- Object
- Raw::Message
- Genl::Message
- Nl::Linux::Netdev::Messages::DumpPagePoolGetRequest
- Defined in:
- nl-linux/generated/nl/linux/netdev.rb
Overview
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.
Constant Summary collapse
- TYPE =
5- FIXED_HEADER =
nil- ATTRIBUTE_SET =
AttributeSets::PagePool
- ATTRIBUTES =
Ractor.make_shareable(%i[ifindex])
Instance Attribute Summary
Attributes included from StructuredPayload
Instance Method Summary collapse
-
#ifindex ⇒ Integer
ifindex of the netdev to which the pool belongs.
Methods inherited from Genl::Message
Methods inherited from Raw::Message
#append_attribute, decode, #initialize
Methods included from StructuredPayload
Constructor Details
This class inherits a constructor from Nl::Raw::Message
Instance Method Details
#ifindex ⇒ Integer
ifindex of the netdev to which the pool belongs. May not be reported if the page pool was allocated for a netdev which got destroyed already (page pools may outlast their netdevs because they wait for all memory to be returned).
1861 |
# File 'nl-linux/generated/nl/linux/netdev.rb', line 1861 def ifindex; attributes[:"ifindex"]&.value; end |