[dts] [PATCH] TestSuite_uni_pkt.py: Modified send packet count to support vector mode
Tu, Lijuan
lijuan.tu at intel.com
Wed Jun 12 04:51:16 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 2:01 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_uni_pkt.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_uni_pkt.py | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tests/TestSuite_uni_pkt.py b/tests/TestSuite_uni_pkt.py index
> 40dc5e0..5d09fc1 100644
> --- a/tests/TestSuite_uni_pkt.py
> +++ b/tests/TestSuite_uni_pkt.py
> @@ -81,7 +81,7 @@ class TestUniPacket(TestCase):
> for pkt_type in pkt_types.keys():
> pkt_names = pkt_types[pkt_type]
> pkt = Packet(pkt_type=pkt_type)
> - pkt.send_pkt(tx_port=self.tester_iface)
> + pkt.send_pkt(tx_port=self.tester_iface, count=4)
> out = self.dut.get_session_output(timeout=2)
> for pkt_layer_name in pkt_names:
> if pkt_layer_name not in out:
> --
> 1.8.3.1
More information about the dts
mailing list