This commit is contained in:
Quentin De Coninck 2020-06-29 14:26:18 +02:00
parent ede5c3ea7f
commit ee483308b3

View File

@ -451,7 +451,7 @@ class TopoConfig(object):
""" """
Disable TSO on all interfaces Disable TSO on all interfaces
""" """
for node in [self.get_host(n) for n in self.topo.topo_builder.net]: for node in [self.topo.get_host(n) for n in self.topo.topo_builder.net]:
for intf in self.topo.get_interface_names(node): for intf in self.topo.get_interface_names(node):
logging.info("Disable TSO on interface {}".format(intf)) logging.info("Disable TSO on interface {}".format(intf))
cmd = "ethtool -K {} tso off".format(intf) cmd = "ethtool -K {} tso off".format(intf)