Class: Nl::Linux::Devlink::Messages::DoSbOccSnapshotRequest
- Inherits:
-
Genl::Message
- Object
- Raw::Message
- Genl::Message
- Nl::Linux::Devlink::Messages::DoSbOccSnapshotRequest
- Defined in:
- nl-linux/generated/nl/linux/devlink.rb
Overview
Take occupancy snapshot of shared buffer.
Requires CAP_NET_ADMIN in the initial user namespace.
Constant Summary collapse
- TYPE =
27- FIXED_HEADER =
nil- ATTRIBUTE_SET =
AttributeSets::Devlink
- ATTRIBUTES =
Ractor.make_shareable(%i[bus_name dev_name sb_index index])
Instance Attribute Summary
Attributes included from StructuredPayload
Instance Method Summary collapse
- #bus_name ⇒ String
- #dev_name ⇒ String
-
#index ⇒ Integer
Unique devlink instance index.
- #sb_index ⇒ Integer
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
#bus_name ⇒ String
5511 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 5511 def bus_name; attributes[:"bus_name"]&.value; end |
#dev_name ⇒ String
5515 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 5515 def dev_name; attributes[:"dev_name"]&.value; end |
#index ⇒ Integer
Unique devlink instance index.
5524 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 5524 def index; attributes[:"index"]&.value; end |
#sb_index ⇒ Integer
5519 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 5519 def sb_index; attributes[:"sb_index"]&.value; end |