* [dts] [PATCH V1][next]tests/nic_single_core_perf: fix wrong input key usage @ 2019-08-06 8:01 yufengmx 2019-08-06 8:01 ` [dts] [PATCH V1][next]tests/nic_single_core_perf: update pktgen input parameter yufengmx 0 siblings, 1 reply; 3+ messages in thread From: yufengmx @ 2019-08-06 8:01 UTC (permalink / raw) To: dts; +Cc: yufengmx change suite nic_single_core_perf measure_throughput delay key to duration key. yufengmx (1): [next]tests/nic_single_core_perf: update pktgen input parameter tests/TestSuite_nic_single_core_perf.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) -- 1.9.3 ^ permalink raw reply [flat|nested] 3+ messages in thread
* [dts] [PATCH V1][next]tests/nic_single_core_perf: update pktgen input parameter 2019-08-06 8:01 [dts] [PATCH V1][next]tests/nic_single_core_perf: fix wrong input key usage yufengmx @ 2019-08-06 8:01 ` yufengmx 2019-08-08 5:45 ` Tu, Lijuan 0 siblings, 1 reply; 3+ messages in thread From: yufengmx @ 2019-08-06 8:01 UTC (permalink / raw) To: dts; +Cc: yufengmx *. update suite nic_single_core_perf with new pktgen measure_throughput input parameter definition. *. fix typo. Signed-off-by: yufengmx <yufengx.mo@intel.com> --- tests/TestSuite_nic_single_core_perf.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/TestSuite_nic_single_core_perf.py b/tests/TestSuite_nic_single_core_perf.py index 5b815f4..ca09c72 100644 --- a/tests/TestSuite_nic_single_core_perf.py +++ b/tests/TestSuite_nic_single_core_perf.py @@ -101,7 +101,7 @@ class TestNicSingleCorePerf(TestCase): self.expected_throughput = self.get_suite_cfg()[ 'expected_throughput'][self.nic] - # initilize throughput attribution + # initialize throughput attribution # {'$framesize':{"$nb_desc": 'throughput'} self.throughput = {} @@ -182,7 +182,7 @@ class TestNicSingleCorePerf(TestCase): # measure throughput stream_ids = self.prepare_stream(frame_size) - traffic_opt = {'delay': self.test_duration} + traffic_opt = {'duration': self.test_duration} _, packets_received = self.tester.pktgen.measure_throughput( stream_ids, traffic_opt) throughput = packets_received / 1000000.0 @@ -193,7 +193,7 @@ class TestNicSingleCorePerf(TestCase): self.verify(throughput, "No traffic detected, please check your configuration") - self.logger.info("Trouthput of " + + self.logger.info("Throughput of " + "framesize: {}, rxd/txd: {} is :{} Mpps".format( frame_size, nb_desc, throughput)) -- 1.9.3 ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [dts] [PATCH V1][next]tests/nic_single_core_perf: update pktgen input parameter 2019-08-06 8:01 ` [dts] [PATCH V1][next]tests/nic_single_core_perf: update pktgen input parameter yufengmx @ 2019-08-08 5:45 ` Tu, Lijuan 0 siblings, 0 replies; 3+ messages in thread From: Tu, Lijuan @ 2019-08-08 5:45 UTC (permalink / raw) To: Mo, YufengX, dts; +Cc: Mo, YufengX Applied, thanks > -----Original Message----- > From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of yufengmx > Sent: Tuesday, August 6, 2019 4:01 PM > To: dts@dpdk.org > Cc: Mo, YufengX <yufengx.mo@intel.com> > Subject: [dts] [PATCH V1][next]tests/nic_single_core_perf: update pktgen > input parameter > > > *. update suite nic_single_core_perf with new pktgen measure_throughput > input parameter definition. > *. fix typo. > > Signed-off-by: yufengmx <yufengx.mo@intel.com> > --- > tests/TestSuite_nic_single_core_perf.py | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/tests/TestSuite_nic_single_core_perf.py > b/tests/TestSuite_nic_single_core_perf.py > index 5b815f4..ca09c72 100644 > --- a/tests/TestSuite_nic_single_core_perf.py > +++ b/tests/TestSuite_nic_single_core_perf.py > @@ -101,7 +101,7 @@ class TestNicSingleCorePerf(TestCase): > self.expected_throughput = self.get_suite_cfg()[ > 'expected_throughput'][self.nic] > > - # initilize throughput attribution > + # initialize throughput attribution > # {'$framesize':{"$nb_desc": 'throughput'} > self.throughput = {} > > @@ -182,7 +182,7 @@ class TestNicSingleCorePerf(TestCase): > > # measure throughput > stream_ids = self.prepare_stream(frame_size) > - traffic_opt = {'delay': self.test_duration} > + traffic_opt = {'duration': self.test_duration} > _, packets_received = self.tester.pktgen.measure_throughput( > stream_ids, traffic_opt) > throughput = packets_received / 1000000.0 @@ -193,7 +193,7 @@ > class TestNicSingleCorePerf(TestCase): > > self.verify(throughput, > "No traffic detected, please check your configuration") > - self.logger.info("Trouthput of " + > + self.logger.info("Throughput of " + > "framesize: {}, rxd/txd: {} is :{} Mpps".format( > frame_size, nb_desc, throughput)) > > -- > 1.9.3 ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-08-08 5:45 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2019-08-06 8:01 [dts] [PATCH V1][next]tests/nic_single_core_perf: fix wrong input key usage yufengmx 2019-08-06 8:01 ` [dts] [PATCH V1][next]tests/nic_single_core_perf: update pktgen input parameter yufengmx 2019-08-08 5:45 ` Tu, Lijuan
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).