Class: Nl::Linux::Ethtool::AttributeSets::Rings

Inherits:
AttributeSet
  • Object
show all
Defined in:
nl-linux/generated/nl/linux/ethtool.rb

Defined Under Namespace

Classes: Attribute, CqeSize, HdsThresh, HdsThreshMax, Header, Rx, RxBufLen, RxJumbo, RxJumboMax, RxMax, RxMini, RxMiniMax, RxPush, TcpDataSplit, Tx, TxMax, TxPush, TxPushBufLen, TxPushBufLenMax

Constant Summary

Constants inherited from AttributeSet

AttributeSet::SELECTOR_NAMES

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from AttributeSet

#<<, #[], build_attributes, decode, #encode, #initialize

Constructor Details

This class inherits a constructor from Nl::AttributeSet

Class Method Details

.by_name(name) ⇒ Attribute

Looks up Attribute class by name.

Parameters:

  • name (Symbol)

Returns:



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

def by_name(name); BY_NAME.fetch(name); end

.by_type(type) ⇒ Attribute

Looks up Attribute class by type value.

Parameters:

  • type (Integer)

Returns:



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

def by_type(type); BY_TYPE.fetch(type); end

Instance Method Details

#cqe_size ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#hds_thresh ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#hds_thresh_max ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#header ⇒ AttributeSets::Header

Returns:

See Also:



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

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

#rx ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#rx_buf_len ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#rx_jumbo ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#rx_jumbo_max ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#rx_max ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#rx_mini ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#rx_mini_max ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#rx_push ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#tcp_data_split ⇒ Integer

Known enum values are defined in Enums::TcpDataSplit.

Returns:

  • (Integer)

See Also:



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

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

#tx ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#tx_max ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#tx_push ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#tx_push_buf_len ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#tx_push_buf_len_max ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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