set_feature


Description:

[ Version ( deprecated = true , deprecated_since = "1.26" , since = "1.14" ) ]
public void set_feature (string optname, Ternary value)

Warning: set_feature is deprecated since 1.26.

Sets and offload feature setting.

Note:

use option_set or option_set_boolean instead.

Note that optname must be a valid name for a feature, according to is_feature.

Parameters:

this

the SettingEthtool

optname

option name of the offload feature to get

value

the new value to set. The special value nm_ternary_default means to clear the offload feature setting.