Class: Nl::Linux::Ethtool::Messages::DoRingsSetRequest

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

Overview

Set ring params.

Constant Summary collapse

TYPE =
16
FIXED_HEADER =
nil
ATTRIBUTE_SET =
AttributeSets::Rings
ATTRIBUTES =
Ractor.make_shareable(%i[header rx_max rx_mini_max rx_jumbo_max tx_max rx rx_mini rx_jumbo tx rx_buf_len tcp_data_split cqe_size tx_push rx_push tx_push_buf_len tx_push_buf_len_max hds_thresh hds_thresh_max])

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

#cqe_size ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#hds_thresh ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#hds_thresh_max ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#header ⇒ AttributeSets::Header



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

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

#rx ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#rx_buf_len ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#rx_jumbo ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#rx_jumbo_max ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#rx_max ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#rx_mini ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#rx_mini_max ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#rx_push ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#tcp_data_split ⇒ Integer

Known enum values are defined in Enums::TcpDataSplit.

Returns:

  • (Integer)

See Also:



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

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

#tx ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#tx_max ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#tx_push ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#tx_push_buf_len ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#tx_push_buf_len_max ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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