[dts] [PATCH] TestSuite_short_live.py: Modified send packet count to support vector mode
Tu, Lijuan
lijuan.tu at intel.com
Wed Jun 12 04:51:10 CEST 2019
Applied, thanks
> -----Original Message-----
> From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of
> nareddy at marvell.com
> Sent: Monday, June 10, 2019 1:57 PM
> To: dts at dpdk.org
> Cc: fmasood at marvell.com; avijay at marvell.com; Praneeth Reddy
> <nareddy at marvell.com>
> Subject: [dts] [PATCH] TestSuite_short_live.py: Modified send packet count
> to support vector mode
>
> From: Praneeth Reddy <nareddy at marvell.com>
>
> In vector mode 4 packets are required.
> Modified packet count to 4 in all test cases.
>
> Signed-off-by: Praneeth Reddy <nareddy at marvell.com>
> ---
> tests/TestSuite_short_live.py | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tests/TestSuite_short_live.py b/tests/TestSuite_short_live.py
> index c18dac4..93ec587 100644
> --- a/tests/TestSuite_short_live.py
> +++ b/tests/TestSuite_short_live.py
> @@ -106,7 +106,7 @@ class TestShortLiveApp(TestCase):
>
> pktlen = pktSize - 14
> padding = pktlen - 20
> - self.tester.scapy_append('sendp([Ether(src="%s",
> dst="%s")/IP()/Raw(load="P"*%s)], iface="%s")' % (smac, dmac, padding, txitf))
> + self.tester.scapy_append('sendp([Ether(src="%s",
> + dst="%s")/IP()/Raw(load="P"*%s)], iface="%s", count=4)' % (smac, dmac,
> + padding, txitf))
>
> self.tester.scapy_execute()
> time.sleep(3)
> --
> 1.8.3.1
More information about the dts
mailing list