Class: Nl::Linux::DrmRas::Messages::DoClearErrorCounterRequest
- Inherits:
-
Genl::Message
- Object
- Raw::Message
- Genl::Message
- Nl::Linux::DrmRas::Messages::DoClearErrorCounterRequest
- Defined in:
- nl-linux/generated/nl/linux/drm_ras.rb
Overview
Clear error counter for a given node. The request includes the error-id and node-id of the counter to be cleared.
Requires CAP_NET_ADMIN in the initial user namespace.
Constant Summary collapse
- TYPE =
3- FIXED_HEADER =
nil- ATTRIBUTE_SET =
AttributeSets::ErrorCounterAttrs
- ATTRIBUTES =
Ractor.make_shareable(%i[node_id error_id])
Instance Attribute Summary
Attributes included from StructuredPayload
Instance Method Summary collapse
-
#error_id ⇒ Integer
Unique identifier for a specific error counter within an node.
-
#node_id ⇒ Integer
Node ID targeted by this error counter operation.
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
#error_id ⇒ Integer
Unique identifier for a specific error counter within an node.
342 |
# File 'nl-linux/generated/nl/linux/drm_ras.rb', line 342 def error_id; attributes[:"error_id"]&.value; end |
#node_id ⇒ Integer
Node ID targeted by this error counter operation.
337 |
# File 'nl-linux/generated/nl/linux/drm_ras.rb', line 337 def node_id; attributes[:"node_id"]&.value; end |