* [dts] [PATCH V1]tests: correct the pcap file name
@ 2019-02-13 15:14 Lei
2019-02-26 3:10 ` Tu, Lijuan
0 siblings, 1 reply; 2+ messages in thread
From: Lei @ 2019-02-13 15:14 UTC (permalink / raw)
To: dts; +Cc: Lei Yao
From: Lei Yao <lei.a.yao@intel.com>
The pcap file test cases prepared doesn'at match the file IXia use
---
tests/TestSuite_kni.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/TestSuite_kni.py b/tests/TestSuite_kni.py
index 04ed218..dddfb90 100644
--- a/tests/TestSuite_kni.py
+++ b/tests/TestSuite_kni.py
@@ -1188,7 +1188,7 @@ class TestKni(TestCase):
self.tester.scapy_append(
'flows.append(Ether(dst="%s")/IP(src="192.170.%d.2",dst="192.170.%d.2")/("X"*%d))' %
(rx_mac, 100 + port, 100 + (port + 1) % ports_without_kni, payload_size))
- tgen_input.append((tx_port, tx_port, "routePerf.pcap"))
+ tgen_input.append((tx_port, tx_port, "routePerf_%d.pcap" % ports_without_kni))
self.tester.scapy_append(
'wrpcap("routePerf_%d.pcap",flows)' % ports_without_kni)
--
2.7.4
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [dts] [PATCH V1]tests: correct the pcap file name
2019-02-13 15:14 [dts] [PATCH V1]tests: correct the pcap file name Lei
@ 2019-02-26 3:10 ` Tu, Lijuan
0 siblings, 0 replies; 2+ messages in thread
From: Tu, Lijuan @ 2019-02-26 3:10 UTC (permalink / raw)
To: Yao, Lei A, dts; +Cc: Yao, Lei A
Applied, thanks
> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Lei
> Sent: Wednesday, February 13, 2019 11:14 PM
> To: dts@dpdk.org
> Cc: Yao, Lei A <lei.a.yao@intel.com>
> Subject: [dts] [PATCH V1]tests: correct the pcap file name
>
> From: Lei Yao <lei.a.yao@intel.com>
>
> The pcap file test cases prepared doesn'at match the file IXia use
> ---
> tests/TestSuite_kni.py | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tests/TestSuite_kni.py b/tests/TestSuite_kni.py index
> 04ed218..dddfb90 100644
> --- a/tests/TestSuite_kni.py
> +++ b/tests/TestSuite_kni.py
> @@ -1188,7 +1188,7 @@ class TestKni(TestCase):
> self.tester.scapy_append(
>
> 'flows.append(Ether(dst="%s")/IP(src="192.170.%d.2",dst="192.170.%d.2")/("X"
> *%d))' %
> (rx_mac, 100 + port, 100 + (port + 1) % ports_without_kni,
> payload_size))
> - tgen_input.append((tx_port, tx_port, "routePerf.pcap"))
> + tgen_input.append((tx_port, tx_port,
> + "routePerf_%d.pcap" % ports_without_kni))
>
> self.tester.scapy_append(
> 'wrpcap("routePerf_%d.pcap",flows)' % ports_without_kni)
> --
> 2.7.4
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-02-26 3:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-13 15:14 [dts] [PATCH V1]tests: correct the pcap file name Lei
2019-02-26 3:10 ` 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).