X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=resources%2Flibraries%2Fpython%2FTRexConfigGenerator.py;h=c50b42610c8f5af46b6b26a62b9132f2ccf49fd7;hb=HEAD;hp=c73e24960ae5b57e5ba9f378c9d58f79481142e3;hpb=c3ce59c652caaee06b3090f387f8826c15102703;p=csit.git diff --git a/resources/libraries/python/TRexConfigGenerator.py b/resources/libraries/python/TRexConfigGenerator.py index c73e24960a..c50b42610c 100644 --- a/resources/libraries/python/TRexConfigGenerator.py +++ b/resources/libraries/python/TRexConfigGenerator.py @@ -23,7 +23,7 @@ from resources.libraries.python.topology import NodeType, NodeSubTypeTG from resources.libraries.python.topology import Topology -__all__ = ["TrexConfigGenerator", "TrexInitConfig"] +__all__ = ["TrexConfigGenerator", "TrexConfig"] def pci_dev_check(pci_dev): """Check if provided PCI address is in correct format. @@ -259,7 +259,7 @@ class TrexConfig: tg_dtc_offset = 0 master_thread_id, latency_thread_id, socket, threads = \ CpuUtils.get_affinity_trex( - node, link["interface"], tg_dtc=tg_dtc, + node, link["interface"], tg_dtc=tg_dtc, tg_dtc_offset=tg_dtc_offset ) dual_if.append(dict(socket=socket, threads=threads))