Lines Matching refs:parse_ethtool
148 def parse_ethtool(self, field, match, option='', next_field=''): member in network_interface
197 result = self.parse_ethtool('Supported link modes', '.*',
203 result = self.parse_ethtool('Advertised link modes', '.*',
209 result = self.parse_ethtool('Advertised auto-negotiation',
215 return int(self.parse_ethtool('Speed', '\d+'))
219 result = self.parse_ethtool('Duplex', 'Full|Half')
224 result = self.parse_ethtool('Auto-negotiation', 'on|off')
229 return self.parse_ethtool('Wake-on', '\w+')
233 result = self.parse_ethtool('rx-checksumming', 'on|off', '-k')
238 result = self.parse_ethtool('tx-checksumming', 'on|off', '-k')
243 result = self.parse_ethtool('scatter-gather', 'on|off', '-k')
248 result = self.parse_ethtool('tcp segmentation offload',
254 result = self.parse_ethtool('Autonegotiate', 'on|off', '-a')
259 result = self.parse_ethtool('TX', 'on|off', '-a')
264 result = self.parse_ethtool('RX', 'on|off', '-a')