Lines Matching defs:feature
125 for feature in cfg.hw_features:
126 setting = "on" if feature in cfg.wanted_features else "off"
127 features_cmd += f" {feature} {setting}"
134 def test_builder(name, cfg, outer_ipver, feature, tun=None, inner_ipver=None):
144 if feature not in cfg.hw_features:
145 raise KsftSkipEx(f"Device does not support {feature}")
155 # First test without the feature enabled.
156 ethtool(f"-K {cfg.ifname} {feature} off")
161 if feature in cfg.partial_features:
167 # Full feature enabled.
168 ethtool(f"-K {cfg.ifname} {feature} on")
190 feature = f["name"]
191 cfg.hw_features.add(feature)
192 hw_all_features_cmd += f" {feature} on"
197 ksft_pr("partial gso feature detection may be impacted")