Class: Nl::Linux::Netdev::Messages::DoQueueCreateReply
- Inherits:
-
Genl::Message
- Object
- Raw::Message
- Genl::Message
- Nl::Linux::Netdev::Messages::DoQueueCreateReply
- Defined in:
- nl-linux/generated/nl/linux/netdev.rb
Overview
Create a new queue for the given netdevice. Whether this operation is supported depends on the device and the driver.
Requires CAP_NET_ADMIN in the initial user namespace.
Constant Summary collapse
- TYPE =
16- FIXED_HEADER =
nil- ATTRIBUTE_SET =
AttributeSets::Queue
- ATTRIBUTES =
Ractor.make_shareable(%i[id])
Instance Attribute Summary
Attributes included from StructuredPayload
Instance Method Summary collapse
-
#id ⇒ Integer
Queue index; most queue types are indexed like a C array, with indexes starting at 0 and ending at queue count - 1.
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
#id ⇒ Integer
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.
2683 |
# File 'nl-linux/generated/nl/linux/netdev.rb', line 2683 def id; attributes[:"id"]&.value; end |