Class: Nl::Linux::DrmRas::Messages::DumpListNodesReply
- Inherits:
-
Genl::Message
- Object
- Raw::Message
- Genl::Message
- Nl::Linux::DrmRas::Messages::DumpListNodesReply
- Defined in:
- nl-linux/generated/nl/linux/drm_ras.rb
Overview
Retrieve the full list of currently registered DRM RAS nodes. Each node includes its dynamically assigned ID, name, and type. Important: User space must call this operation first to obtain the node IDs. These IDs are required for all subsequent operations on nodes, such as querying error counters.
Requires CAP_NET_ADMIN in the initial user namespace.
Constant Summary collapse
- TYPE =
1- FIXED_HEADER =
nil- ATTRIBUTE_SET =
AttributeSets::NodeAttrs
- ATTRIBUTES =
Ractor.make_shareable(%i[node_id device_name node_name node_type])
Instance Attribute Summary
Attributes included from StructuredPayload
Instance Method Summary collapse
-
#device_name ⇒ String
Device name chosen by the driver at registration.
-
#node_id ⇒ Integer
Unique identifier for the node.
-
#node_name ⇒ String
Node name chosen by the driver at registration.
-
#node_type ⇒ Integer
Type of this node, identifying its function.
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
#device_name ⇒ String
Device name chosen by the driver at registration. Can be a PCI BDF, UUID, or module name if unique.
230 |
# File 'nl-linux/generated/nl/linux/drm_ras.rb', line 230 def device_name; attributes[:"device_name"]&.value; end |
#node_id ⇒ Integer
Unique identifier for the node. Assigned dynamically by the DRM RAS core upon registration.
225 |
# File 'nl-linux/generated/nl/linux/drm_ras.rb', line 225 def node_id; attributes[:"node_id"]&.value; end |
#node_name ⇒ String
Node name chosen by the driver at registration. Can be an IP block name, or any name that identifies the RAS node inside the device.
235 |
# File 'nl-linux/generated/nl/linux/drm_ras.rb', line 235 def node_name; attributes[:"node_name"]&.value; end |
#node_type ⇒ Integer
Type of this node, identifying its function.
Known enum values are defined in Enums::NodeType.
242 |
# File 'nl-linux/generated/nl/linux/drm_ras.rb', line 242 def node_type; attributes[:"node_type"]&.value; end |