Class: Nl::Linux::Ethtool::AttributeSets::MseCapabilities
- Inherits:
-
AttributeSet
- Object
- AttributeSet
- Nl::Linux::Ethtool::AttributeSets::MseCapabilities
- 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
Class Method Summary collapse
-
.by_name(name) ⇒ Attribute
Looks up Attribute class by name.
-
.by_type(type) ⇒ Attribute
Looks up Attribute class by type value.
Instance Method Summary collapse
- #max_average_mse ⇒ Integer
- #max_peak_mse ⇒ Integer
- #num_symbols ⇒ Integer
- #refresh_rate_ps ⇒ Integer
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.
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.
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
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
5445 |
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 5445 def max_peak_mse; self[:"max_peak_mse"]&.value; end |
#num_symbols ⇒ Integer
5453 |
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 5453 def num_symbols; self[:"num_symbols"]&.value; end |
#refresh_rate_ps ⇒ Integer
5449 |
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 5449 def refresh_rate_ps; self[:"refresh_rate_ps"]&.value; end |