Class: Nl::Linux::Ethtool::Messages::DoChannelsSetRequest

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

Overview

Set channel params.

Constant Summary collapse

TYPE =
18
FIXED_HEADER =
nil
ATTRIBUTE_SET =
AttributeSets::Channels
ATTRIBUTES =
Ractor.make_shareable(%i[header rx_max tx_max other_max combined_max rx_count tx_count other_count combined_count])

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

#combined_count ⇒ Integer

Returns:

  • (Integer)

See Also:



7004
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 7004

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

#combined_max ⇒ Integer

Returns:

  • (Integer)

See Also:



6988
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 6988

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

#header ⇒ AttributeSets::Header



6972
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 6972

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

#other_count ⇒ Integer

Returns:

  • (Integer)

See Also:



7000
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 7000

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

#other_max ⇒ Integer

Returns:

  • (Integer)

See Also:



6984
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 6984

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

#rx_count ⇒ Integer

Returns:

  • (Integer)

See Also:



6992
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 6992

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

#rx_max ⇒ Integer

Returns:

  • (Integer)

See Also:



6976
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 6976

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

#tx_count ⇒ Integer

Returns:

  • (Integer)

See Also:



6996
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 6996

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

#tx_max ⇒ Integer

Returns:

  • (Integer)

See Also:



6980
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 6980

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