test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH] TestSuite_generic_filter.py: Max packet lenght supported is 9200 for cavium_a063 and cavium_a064
@ 2019-10-25  6:29 nareddy
  2019-11-04  2:57 ` Tu, Lijuan
  0 siblings, 1 reply; 2+ messages in thread
From: nareddy @ 2019-10-25  6:29 UTC (permalink / raw)
  To: dts; +Cc: fmasood, avijay, Praneeth Reddy

From: Praneeth Reddy <nareddy@marvell.com>

For cavium_a063 and cavium_a064 setting max packet lenght to 9200

Signed-off-by: Praneeth Reddy <nareddy@marvell.com>
---
 tests/TestSuite_generic_filter.py | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/tests/TestSuite_generic_filter.py b/tests/TestSuite_generic_filter.py
index 4f14fc1..66b95d2 100644
--- a/tests/TestSuite_generic_filter.py
+++ b/tests/TestSuite_generic_filter.py
@@ -634,8 +634,12 @@ class TestGeneric_filter(TestCase):
     def test_jumbo_frame_size(self):
         
         self.verify(self.nic not in ["fortville_eagle", "fortville_spirit", "fortville_spirit_single", "fortville_25g", "fortpark_TLV", "carlsville"], "%s nic not support this test" % self.nic)
-        self.pmdout.start_testpmd(
-            "%s" % self.cores, "--disable-rss --rxq=4 --txq=4 --portmask=%s --nb-cores=4 --nb-ports=1 --mbcache=200 --mbuf-size=2048 --max-pkt-len=9600" % portMask)
+        if (self.nic in ["cavium_a063", "cavium_a064"]):
+            self.pmdout.start_testpmd(
+                "%s" % self.cores, "--disable-rss --rxq=4 --txq=4 --portmask=%s --nb-cores=4 --nb-ports=1 --mbcache=200 --mbuf-size=2048 --max-pkt-len=9200" % portMask)
+        else:
+            self.pmdout.start_testpmd(
+                "%s" % self.cores, "--disable-rss --rxq=4 --txq=4 --portmask=%s --nb-cores=4 --nb-ports=1 --mbcache=200 --mbuf-size=2048 --max-pkt-len=9600" % portMask)
         port = self.tester.get_local_port(valports[0])
         txItf = self.tester.get_interface(port)
 
-- 
1.8.3.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [dts] [PATCH] TestSuite_generic_filter.py: Max packet lenght supported is 9200 for cavium_a063 and cavium_a064
  2019-10-25  6:29 [dts] [PATCH] TestSuite_generic_filter.py: Max packet lenght supported is 9200 for cavium_a063 and cavium_a064 nareddy
@ 2019-11-04  2:57 ` Tu, Lijuan
  0 siblings, 0 replies; 2+ messages in thread
From: Tu, Lijuan @ 2019-11-04  2:57 UTC (permalink / raw)
  To: nareddy, dts; +Cc: fmasood, avijay

Applied, thanks

> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of
> nareddy@marvell.com
> Sent: Friday, October 25, 2019 2:29 PM
> To: dts@dpdk.org
> Cc: fmasood@marvell.com; avijay@marvell.com; Praneeth Reddy
> <nareddy@marvell.com>
> Subject: [dts] [PATCH] TestSuite_generic_filter.py: Max packet lenght
> supported is 9200 for cavium_a063 and cavium_a064
> 
> From: Praneeth Reddy <nareddy@marvell.com>
> 
> For cavium_a063 and cavium_a064 setting max packet lenght to 9200
> 
> Signed-off-by: Praneeth Reddy <nareddy@marvell.com>
> ---
>  tests/TestSuite_generic_filter.py | 8 ++++++--
>  1 file changed, 6 insertions(+), 2 deletions(-)
> 
> diff --git a/tests/TestSuite_generic_filter.py
> b/tests/TestSuite_generic_filter.py
> index 4f14fc1..66b95d2 100644
> --- a/tests/TestSuite_generic_filter.py
> +++ b/tests/TestSuite_generic_filter.py
> @@ -634,8 +634,12 @@ class TestGeneric_filter(TestCase):
>      def test_jumbo_frame_size(self):
> 
>          self.verify(self.nic not in ["fortville_eagle", "fortville_spirit",
> "fortville_spirit_single", "fortville_25g", "fortpark_TLV", "carlsville"], "%s nic
> not support this test" % self.nic)
> -        self.pmdout.start_testpmd(
> -            "%s" % self.cores, "--disable-rss --rxq=4 --txq=4 --portmask=%s --nb-
> cores=4 --nb-ports=1 --mbcache=200 --mbuf-size=2048 --max-pkt-len=9600" %
> portMask)
> +        if (self.nic in ["cavium_a063", "cavium_a064"]):
> +            self.pmdout.start_testpmd(
> +                "%s" % self.cores, "--disable-rss --rxq=4 --txq=4 --portmask=%s --
> nb-cores=4 --nb-ports=1 --mbcache=200 --mbuf-size=2048 --max-pkt-
> len=9200" % portMask)
> +        else:
> +            self.pmdout.start_testpmd(
> +                "%s" % self.cores, "--disable-rss --rxq=4 --txq=4 --portmask=%s --
> nb-cores=4 --nb-ports=1 --mbcache=200 --mbuf-size=2048 --max-pkt-
> len=9600" % portMask)
>          port = self.tester.get_local_port(valports[0])
>          txItf = self.tester.get_interface(port)
> 
> --
> 1.8.3.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-11-04  2:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-25  6:29 [dts] [PATCH] TestSuite_generic_filter.py: Max packet lenght supported is 9200 for cavium_a063 and cavium_a064 nareddy
2019-11-04  2:57 ` 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).