Code Review
/
csit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
ADD: Mellanox RDMA interface support
[csit.git]
/
resources
/
libraries
/
python
/
TrafficGenerator.py
diff --git
a/resources/libraries/python/TrafficGenerator.py
b/resources/libraries/python/TrafficGenerator.py
index
49c19b1
..
82a5bf8
100644
(file)
--- a/
resources/libraries/python/TrafficGenerator.py
+++ b/
resources/libraries/python/TrafficGenerator.py
@@
-328,12
+328,6
@@
class TrafficGenerator(AbstractMeasurer):
self._node, cmd, sudo=True,
message='Unbind PCI ports from driver failed!')
self._node, cmd, sudo=True,
message='Unbind PCI ports from driver failed!')
- cmd = ("sh -c 'cd {dir}/scripts/ && ./trex-cfg "
- "--unbind-unused-ports'"
- .format(dir=Constants.TREX_INSTALL_DIR))
- exec_cmd_no_error(
- self._node, cmd, sudo=True, message='Config TRex failed!')
-
# Start TRex.
cmd = ("sh -c 'cd {dir}/scripts/ && "
"nohup ./t-rex-64 --hdrh{mode} -i -c 7 > "
# Start TRex.
cmd = ("sh -c 'cd {dir}/scripts/ && "
"nohup ./t-rex-64 --hdrh{mode} -i -c 7 > "