Class: Nl::Linux::Ethtool::AttributeSets::MseCapabilities

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

Overview

MSE capabilities attribute set

Defined Under Namespace

Classes: Attribute, MaxAverageMse, MaxPeakMse, NumSymbols, RefreshRatePs

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:



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

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

.by_type(type) ⇒ Attribute

Looks up Attribute class by type value.

Parameters:

  • type (Integer)

Returns:



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

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

Instance Method Details

#max_average_mse ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#max_peak_mse ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#num_symbols ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#refresh_rate_ps ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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