net_utils.py | 148 def parse_ethtool(self, field, match, option='', next_field=''): member in class: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' [all...] |