Checks whether optname
is a valid option name for an offload feature.
returns: true, if optname
is valid
Note that ethtool_optname_is_feature was first added to the libnm header files in 1.14.0 but forgot to actually add to the library. This happened belatedly in 1.20.0 and the stable versions 1.18.2, 1.16.4 and 1.14.8 (with linker version "libnm_1_14_8").
optname |
the option name to check |