[dts] [PATCH V1]tests: correct the pcap file name
Tu, Lijuan
lijuan.tu at intel.com
Tue Feb 26 04:10:56 CET 2019
Applied, thanks
> -----Original Message-----
> From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of Lei
> Sent: Wednesday, February 13, 2019 11:14 PM
> To: dts at dpdk.org
> Cc: Yao, Lei A <lei.a.yao at intel.com>
> Subject: [dts] [PATCH V1]tests: correct the pcap file name
>
> From: Lei Yao <lei.a.yao at 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
More information about the dts
mailing list