Code Review
/
csit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
feat(release): Update VPP release notes
[csit.git]
/
resources
/
libraries
/
python
/
TRexConfigGenerator.py
diff --git
a/resources/libraries/python/TRexConfigGenerator.py
b/resources/libraries/python/TRexConfigGenerator.py
index
c73e249
..
c50b426
100644
(file)
--- 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
from resources.libraries.python.topology import Topology
-__all__ = ["TrexConfigGenerator", "Trex
Init
Config"]
+__all__ = ["TrexConfigGenerator", "TrexConfig"]
def pci_dev_check(pci_dev):
"""Check if provided PCI address is in correct format.
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(
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))
tg_dtc_offset=tg_dtc_offset
)
dual_if.append(dict(socket=socket, threads=threads))