Code Review
/
vswitchperf.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
e71e24e
)
xena_cont_bug_fix: Fix duration issue
63/35363/1
author
Christian Trautman
<ctrautma@redhat.com>
Thu, 25 May 2017 14:43:34 +0000
(10:43 -0400)
committer
Christian Trautman
<ctrautma@redhat.com>
Thu, 25 May 2017 14:43:34 +0000
(10:43 -0400)
Port duration is in microseconds. I broke this with a previous
commit.
Change-Id: Id2770149355f40107ab8ee0523482b5867e0e72a
Signed-off-by: Christian Trautman <ctrautma@redhat.com>
tools/pkt_gen/xena/xena.py
patch
|
blob
|
history
diff --git
a/tools/pkt_gen/xena/xena.py
b/tools/pkt_gen/xena/xena.py
index
31347c5
..
b72a59d
100755
(executable)
--- a/
tools/pkt_gen/xena/xena.py
+++ b/
tools/pkt_gen/xena/xena.py
@@
-448,7
+448,7
@@
class Xena(ITrafficGenerator):
self._params['traffic']['l2']['framesize'])
stream.set_packet_payload('incrementing', '0x00')
stream.set_payload_id(payload_id)
- port.set_port_time_limit(self._duration)
+ port.set_port_time_limit(self._duration
* 1000000
)
if self._params['traffic']['l2']['framesize'] == 64:
# set micro tpld