[ Version ( deprecated = true , deprecated_since = "1.26" , since = "1.14" ) ]
public Ternary get_feature (string optname)
Warning: get_feature is deprecated since 1.26.
Gets and offload feature setting.
use option_get_boolean instead.
Returns nm_ternary_default if the feature is not set.
Note that optname
must be a valid name for a feature, according to
ethtool_optname_is_feature.
this |
the SettingEthtool |
optname |
option name of the offload feature to get |
a Ternary value indicating whether the offload feature is enabled, disabled, or left untouched. |