[dts] [PATCH] TestSuite_rss_to_rte_flow.py: Adding seperate packet verification condition for cavium_a063

Tu, Lijuan lijuan.tu at intel.com
Tue Apr 23 22:47:39 CEST 2019


Applied, thanks

> -----Original Message-----
> From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of
> nareddy at marvell.com
> Sent: Tuesday, April 23, 2019 1:15 AM
> To: dts at dpdk.org
> Cc: fmasood at marvell.com; avijay at marvell.com; Praneeth Reddy
> <nareddy at marvell.com>
> Subject: [dts] [PATCH] TestSuite_rss_to_rte_flow.py: Adding seperate packet
> verification condition for cavium_a063
> 
> From: Praneeth Reddy <nareddy at marvell.com>
> 
> For` cavium_a063, packets which are not part of RSS queue rule forwards to
> random queues.
> Excluding 0th queue verification, verifying only packets which are part of RSS
> queue rule.
> 
> Signed-off-by: Praneeth Reddy <nareddy at marvell.com>
> ---
>  tests/TestSuite_rss_to_rte_flow.py | 5 +++++
>  1 file changed, 5 insertions(+)
> 
> diff --git a/tests/TestSuite_rss_to_rte_flow.py
> b/tests/TestSuite_rss_to_rte_flow.py
> index e84f7e5..587888f 100644
> --- a/tests/TestSuite_rss_to_rte_flow.py
> +++ b/tests/TestSuite_rss_to_rte_flow.py
> @@ -374,6 +374,11 @@ class TestRSS_to_Rteflow(TestCase):
>              self.send_and_check(self.pkt1, rss_queue)
>              self.send_and_check(self.pkt7, rss_queue)
>              self.send_and_check(self.pkt8, rss_queue)
> +        elif(self.nic in ["cavium_a063"]):
> +            rss_queue = ["1", "4", "7"]
> +            self.send_and_check(self.pkt2, rss_queue)
> +            self.send_and_check(self.pkt3, rss_queue)
> +            self.send_and_check(self.pkt6, rss_queue)
>          else:
>              rss_queue = ["1", "4", "7"]
>              self.send_and_check(self.pkt2, rss_queue)
> --
> 1.8.3.1



More information about the dts mailing list