diff options
author | Peter Mikus <pmikus@cisco.com> | 2019-10-15 08:13:29 +0000 |
---|---|---|
committer | Peter Mikus <pmikus@cisco.com> | 2019-10-25 07:22:06 +0000 |
commit | 909a91c2a2b08a85d700542a77f8b69434f5ded1 (patch) | |
tree | bf141badf8627cb7cf04ef38952f2e9465173478 /resources/libraries/python/TrafficGenerator.py | |
parent | ac89ba8a39355a4a761508870ea0e08212ef7aee (diff) |
ADD: Mellanox RDMA interface support
+ Add functions for creating rdma interface
+ Fix traffic generator
Signed-off-by: Peter Mikus <pmikus@cisco.com>
Change-Id: I81787b72ff5ee926ed652d350888c4f86da766f1
Diffstat (limited to 'resources/libraries/python/TrafficGenerator.py')
-rw-r--r-- | resources/libraries/python/TrafficGenerator.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/resources/libraries/python/TrafficGenerator.py b/resources/libraries/python/TrafficGenerator.py index 49c19b19d8..82a5bf8203 100644 --- 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!') - 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 > " |