Class: Nl::Linux::Netdev::Messages::DoBindRxRequest
- Inherits:
-
Genl::Message
- Object
- Raw::Message
- Genl::Message
- Nl::Linux::Netdev::Messages::DoBindRxRequest
- Defined in:
- nl-linux/generated/nl/linux/netdev.rb
Overview
Bind dmabuf to netdev
Requires CAP_NET_ADMIN in the user namespace owning the network namespace.
Constant Summary collapse
- TYPE =
13- FIXED_HEADER =
nil- ATTRIBUTE_SET =
AttributeSets::Dmabuf
- ATTRIBUTES =
Ractor.make_shareable(%i[ifindex queues fd])
Instance Attribute Summary
Attributes included from StructuredPayload
Instance Method Summary collapse
-
#fd ⇒ Integer
dmabuf file descriptor to bind.
-
#ifindex ⇒ Integer
netdev ifindex to bind the dmabuf to.
-
#queues ⇒ Array<AttributeSets::QueueId>
receive queues to bind the dmabuf to.
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
#fd ⇒ Integer
dmabuf file descriptor to bind.
2557 |
# File 'nl-linux/generated/nl/linux/netdev.rb', line 2557 def fd; attributes[:"fd"]&.value; end |
#ifindex ⇒ Integer
netdev ifindex to bind the dmabuf to.
2547 |
# File 'nl-linux/generated/nl/linux/netdev.rb', line 2547 def ifindex; attributes[:"ifindex"]&.value; end |
#queues ⇒ Array<AttributeSets::QueueId>
receive queues to bind the dmabuf to.
2552 |
# File 'nl-linux/generated/nl/linux/netdev.rb', line 2552 def queues; attributes[:"queues"].map(&:value); end |