Class: Nl::Linux::Devlink::Messages::DoDpipeTableCountersSetRequest

Inherits:
Genl::Message show all
Defined in:
nl-linux/generated/nl/linux/devlink.rb

Overview

Set dpipe counter attributes.

Requires CAP_NET_ADMIN in the initial user namespace.

Constant Summary collapse

TYPE =
34
FIXED_HEADER =
nil
ATTRIBUTE_SET =
AttributeSets::Devlink
ATTRIBUTES =
Ractor.make_shareable(%i[bus_name dev_name dpipe_table_name dpipe_table_counters_enabled index])

Instance Attribute Summary

Attributes included from StructuredPayload

#attributes, #fixed_header

Instance Method Summary collapse

Methods inherited from Genl::Message

decode

Methods inherited from Raw::Message

#append_attribute, decode, #initialize

Methods included from StructuredPayload

#encode, #initialize

Constructor Details

This class inherits a constructor from Nl::Raw::Message

Instance Method Details

#bus_name ⇒ String

Returns:

  • (String)

See Also:



5799
# File 'nl-linux/generated/nl/linux/devlink.rb', line 5799

def bus_name; attributes[:"bus_name"]&.value; end

#dev_name ⇒ String

Returns:

  • (String)

See Also:



5803
# File 'nl-linux/generated/nl/linux/devlink.rb', line 5803

def dev_name; attributes[:"dev_name"]&.value; end

#dpipe_table_counters_enabled ⇒ Integer



5811
# File 'nl-linux/generated/nl/linux/devlink.rb', line 5811

def dpipe_table_counters_enabled; attributes[:"dpipe_table_counters_enabled"]&.value; end

#dpipe_table_name ⇒ String

Returns:

  • (String)

See Also:



5807
# File 'nl-linux/generated/nl/linux/devlink.rb', line 5807

def dpipe_table_name; attributes[:"dpipe_table_name"]&.value; end

#index ⇒ Integer

Unique devlink instance index.

Returns:

  • (Integer)

See Also:



5816
# File 'nl-linux/generated/nl/linux/devlink.rb', line 5816

def index; attributes[:"index"]&.value; end