test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH v1]tests/TestSuite_generic_flow_api:add support nic carlsville.
@ 2020-04-13  5:37 Xu Hailin
  2020-04-20  5:21 ` Tu, Lijuan
  0 siblings, 1 reply; 2+ messages in thread
From: Xu Hailin @ 2020-04-13  5:37 UTC (permalink / raw)
  To: dts; +Cc: xuhailin

From: xuhailin <hailinx.xu@intel.com>

carlsville driver is i40e, so the nic support the suite.

Signed-off-by: xuhailin <hailinx.xu@intel.com>
---
 tests/TestSuite_generic_flow_api.py | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/tests/TestSuite_generic_flow_api.py b/tests/TestSuite_generic_flow_api.py
index bb42bf7..560d907 100644
--- a/tests/TestSuite_generic_flow_api.py
+++ b/tests/TestSuite_generic_flow_api.py
@@ -868,7 +868,7 @@ class TestGeneric_flow_api(TestCase):
         only supported by i40e
         """
         self.verify(self.nic in ["fortville_eagle", "fortville_spirit",
-                                 "fortville_spirit_single", "fortpark_TLV"], "%s nic not support fdir L2 payload filter" % self.nic)
+                                 "fortville_spirit_single", "fortpark_TLV", "carlsville"], "%s nic not support fdir L2 payload filter" % self.nic)
 
         self.pmdout.start_testpmd("%s" % self.pf_cores, "--pkt-filter-mode=perfect --rxq=%d --txq=%d" % (MAX_QUEUE+1, MAX_QUEUE+1), "-w %s --file-prefix=test1" % self.pf_pci)
         self.dut.send_expect("set fwd rxonly", "testpmd> ", 120)
@@ -889,7 +889,7 @@ class TestGeneric_flow_api(TestCase):
         only supported by i40e
         """
         self.verify(self.nic in ["fortville_eagle", "fortville_spirit",
-                                 "fortville_spirit_single", "fortpark_TLV"], "%s nic not support fdir vlan filter" % self.nic)
+                                 "fortville_spirit_single", "fortpark_TLV", "carlsville"], "%s nic not support fdir vlan filter" % self.nic)
         self.setup_env()
         # start testpmd on pf
         self.pmdout.start_testpmd("%s" % self.pf_cores, "--pkt-filter-mode=perfect --disable-rss --rxq=%d --txq=%d" % (MAX_QUEUE+1, MAX_QUEUE+1), "-w %s --file-prefix=pf --socket-mem 1024,1024 --legacy-mem" % self.pf_pci)
@@ -981,11 +981,11 @@ class TestGeneric_flow_api(TestCase):
         """
         self.verify(self.nic in ["niantic", "columbiaville_25g","columbiaville_100g","twinville", "sagepond", "sageville",
                                  "fortville_eagle", "fortville_spirit",
-                                 "fortville_spirit_single", "fortpark_TLV"],
+                                 "fortville_spirit_single", "fortpark_TLV", "carlsville"],
                     "%s nic not support fdir ipv4 filter" % self.nic)
         # i40e
         if (self.nic in ["fortville_eagle", "fortville_spirit","columbiaville_25g","columbiaville_100g",
-                         "fortville_spirit_single", "fortpark_TLV"]):
+                         "fortville_spirit_single", "fortpark_TLV", "carlsville"]):
             self.setup_env()
             # start testpmd on pf
             self.pmdout.start_testpmd("%s" % self.pf_cores, "--pkt-filter-mode=perfect --disable-rss --rxq=%d --txq=%d" % (MAX_QUEUE+1, MAX_QUEUE+1), "-w %s --file-prefix=pf --socket-mem 1024,1024 --legacy-mem" % self.pf_pci)
@@ -1090,11 +1090,11 @@ class TestGeneric_flow_api(TestCase):
         """
         self.verify(self.nic in ["niantic", "twinville", "sagepond", "sageville","columbiaville_25g","columbiaville_100g",
                                  "fortville_eagle", "fortville_spirit",
-                                 "fortville_spirit_single", "fortpark_TLV"],
+                                 "fortville_spirit_single", "fortpark_TLV", "carlsville"],
                     "%s nic not support fdir ipv6 filter" % self.nic)
         # i40e
         if (self.nic in ["fortville_eagle", "fortville_spirit","columbiaville_25g","columbiaville_100g",
-                         "fortville_spirit_single", "fortpark_TLV"]):
+                         "fortville_spirit_single", "fortpark_TLV", "carlsville"]):
             self.setup_env()
             self.pmdout.start_testpmd("%s" % self.pf_cores, "--pkt-filter-mode=perfect --disable-rss --rxq=%d --txq=%d" % (MAX_QUEUE+1, MAX_QUEUE+1), "-w %s --file-prefix=pf --socket-mem 1024,1024 --legacy-mem" % self.pf_pci)
             self.dut.send_expect("set fwd rxonly", "testpmd> ", 120)
@@ -1210,11 +1210,11 @@ class TestGeneric_flow_api(TestCase):
         """
         self.verify(self.nic in ["niantic", "twinville", "sagepond", "sageville",
                                  "fortville_eagle", "fortville_spirit",
-                                 "fortville_spirit_single", "fortpark_TLV"],
+                                 "fortville_spirit_single", "fortpark_TLV", "carlsville"],
                     "%s nic not support fdir flexbytes filter" % self.nic)
         # i40e
         if (self.nic in ["fortville_eagle", "fortville_spirit",
-                         "fortville_spirit_single", "fortpark_TLV"]):
+                         "fortville_spirit_single", "fortpark_TLV", "carlsville"]):
             self.pmdout.start_testpmd("%s" % self.pf_cores, "--pkt-filter-mode=perfect --disable-rss --rxq=%d --txq=%d" % (MAX_QUEUE+1, MAX_QUEUE+1), "-w %s --file-prefix=pf" % self.pf_pci)
             self.dut.send_expect("set fwd rxonly", "testpmd> ", 120)
             self.dut.send_expect("set verbose 1", "testpmd> ", 120)
@@ -1538,7 +1538,7 @@ class TestGeneric_flow_api(TestCase):
         only supported by i40e
         """
         self.verify(self.nic in ["fortville_eagle", "fortville_spirit","columbiaville_25g","columbiaville_100g",
-                                 "fortville_spirit_single", "fortpark_TLV"],
+                                 "fortville_spirit_single", "fortpark_TLV", "carlsville"],
                     "%s nic not support tunnel vxlan filter" % self.nic)
 
         self.setup_env()
@@ -1602,7 +1602,7 @@ class TestGeneric_flow_api(TestCase):
         only supported by i40e
         """
         self.verify(self.nic in ["fortville_eagle", "fortville_spirit","columbiaville_25g","columbiaville_100g",
-                                 "fortville_spirit_single", "fortpark_TLV"],
+                                 "fortville_spirit_single", "fortpark_TLV", "carlsville"],
                     "%s nic not support tunnel nvgre filter" % self.nic)
 
         self.setup_env()
-- 
2.17.1


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

* Re: [dts] [PATCH v1]tests/TestSuite_generic_flow_api:add support nic carlsville.
  2020-04-13  5:37 [dts] [PATCH v1]tests/TestSuite_generic_flow_api:add support nic carlsville Xu Hailin
@ 2020-04-20  5:21 ` Tu, Lijuan
  0 siblings, 0 replies; 2+ messages in thread
From: Tu, Lijuan @ 2020-04-20  5:21 UTC (permalink / raw)
  To: Xu, HailinX, dts; +Cc: Xu, HailinX

Applied failed, please rework, thanks

> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Xu Hailin
> Sent: Monday, April 13, 2020 1:38 PM
> To: dts@dpdk.org
> Cc: Xu, HailinX <hailinx.xu@intel.com>
> Subject: [dts] [PATCH v1]tests/TestSuite_generic_flow_api:add support nic
> carlsville.
> 
> From: xuhailin <hailinx.xu@intel.com>
> 
> carlsville driver is i40e, so the nic support the suite.
> 
> Signed-off-by: xuhailin <hailinx.xu@intel.com>
> ---
>  tests/TestSuite_generic_flow_api.py | 20 ++++++++++----------
>  1 file changed, 10 insertions(+), 10 deletions(-)
> 
> diff --git a/tests/TestSuite_generic_flow_api.py
> b/tests/TestSuite_generic_flow_api.py
> index bb42bf7..560d907 100644
> --- a/tests/TestSuite_generic_flow_api.py
> +++ b/tests/TestSuite_generic_flow_api.py
> @@ -868,7 +868,7 @@ class TestGeneric_flow_api(TestCase):
>          only supported by i40e
>          """
>          self.verify(self.nic in ["fortville_eagle", "fortville_spirit",
> -                                 "fortville_spirit_single", "fortpark_TLV"], "%s nic not
> support fdir L2 payload filter" % self.nic)
> +                                 "fortville_spirit_single",
> + "fortpark_TLV", "carlsville"], "%s nic not support fdir L2 payload
> + filter" % self.nic)
> 
>          self.pmdout.start_testpmd("%s" % self.pf_cores, "--pkt-filter-
> mode=perfect --rxq=%d --txq=%d" % (MAX_QUEUE+1, MAX_QUEUE+1), "-
> w %s --file-prefix=test1" % self.pf_pci)
>          self.dut.send_expect("set fwd rxonly", "testpmd> ", 120) @@ -889,7
> +889,7 @@ class TestGeneric_flow_api(TestCase):
>          only supported by i40e
>          """
>          self.verify(self.nic in ["fortville_eagle", "fortville_spirit",
> -                                 "fortville_spirit_single", "fortpark_TLV"], "%s nic not
> support fdir vlan filter" % self.nic)
> +                                 "fortville_spirit_single",
> + "fortpark_TLV", "carlsville"], "%s nic not support fdir vlan filter" %
> + self.nic)
>          self.setup_env()
>          # start testpmd on pf
>          self.pmdout.start_testpmd("%s" % self.pf_cores, "--pkt-filter-
> mode=perfect --disable-rss --rxq=%d --txq=%d" % (MAX_QUEUE+1,
> MAX_QUEUE+1), "-w %s --file-prefix=pf --socket-mem 1024,1024 --legacy-
> mem" % self.pf_pci) @@ -981,11 +981,11 @@ class
> TestGeneric_flow_api(TestCase):
>          """
>          self.verify(self.nic in ["niantic",
> "columbiaville_25g","columbiaville_100g","twinville", "sagepond", "sageville",
>                                   "fortville_eagle", "fortville_spirit",
> -                                 "fortville_spirit_single", "fortpark_TLV"],
> +                                 "fortville_spirit_single",
> + "fortpark_TLV", "carlsville"],
>                      "%s nic not support fdir ipv4 filter" % self.nic)
>          # i40e
>          if (self.nic in ["fortville_eagle",
> "fortville_spirit","columbiaville_25g","columbiaville_100g",
> -                         "fortville_spirit_single", "fortpark_TLV"]):
> +                         "fortville_spirit_single", "fortpark_TLV", "carlsville"]):
>              self.setup_env()
>              # start testpmd on pf
>              self.pmdout.start_testpmd("%s" % self.pf_cores, "--pkt-filter-
> mode=perfect --disable-rss --rxq=%d --txq=%d" % (MAX_QUEUE+1,
> MAX_QUEUE+1), "-w %s --file-prefix=pf --socket-mem 1024,1024 --legacy-
> mem" % self.pf_pci) @@ -1090,11 +1090,11 @@ class
> TestGeneric_flow_api(TestCase):
>          """
>          self.verify(self.nic in ["niantic", "twinville", "sagepond",
> "sageville","columbiaville_25g","columbiaville_100g",
>                                   "fortville_eagle", "fortville_spirit",
> -                                 "fortville_spirit_single", "fortpark_TLV"],
> +                                 "fortville_spirit_single",
> + "fortpark_TLV", "carlsville"],
>                      "%s nic not support fdir ipv6 filter" % self.nic)
>          # i40e
>          if (self.nic in ["fortville_eagle",
> "fortville_spirit","columbiaville_25g","columbiaville_100g",
> -                         "fortville_spirit_single", "fortpark_TLV"]):
> +                         "fortville_spirit_single", "fortpark_TLV", "carlsville"]):
>              self.setup_env()
>              self.pmdout.start_testpmd("%s" % self.pf_cores, "--pkt-filter-
> mode=perfect --disable-rss --rxq=%d --txq=%d" % (MAX_QUEUE+1,
> MAX_QUEUE+1), "-w %s --file-prefix=pf --socket-mem 1024,1024 --legacy-
> mem" % self.pf_pci)
>              self.dut.send_expect("set fwd rxonly", "testpmd> ", 120) @@ -
> 1210,11 +1210,11 @@ class TestGeneric_flow_api(TestCase):
>          """
>          self.verify(self.nic in ["niantic", "twinville", "sagepond", "sageville",
>                                   "fortville_eagle", "fortville_spirit",
> -                                 "fortville_spirit_single", "fortpark_TLV"],
> +                                 "fortville_spirit_single",
> + "fortpark_TLV", "carlsville"],
>                      "%s nic not support fdir flexbytes filter" % self.nic)
>          # i40e
>          if (self.nic in ["fortville_eagle", "fortville_spirit",
> -                         "fortville_spirit_single", "fortpark_TLV"]):
> +                         "fortville_spirit_single", "fortpark_TLV", "carlsville"]):
>              self.pmdout.start_testpmd("%s" % self.pf_cores, "--pkt-filter-
> mode=perfect --disable-rss --rxq=%d --txq=%d" % (MAX_QUEUE+1,
> MAX_QUEUE+1), "-w %s --file-prefix=pf" % self.pf_pci)
>              self.dut.send_expect("set fwd rxonly", "testpmd> ", 120)
>              self.dut.send_expect("set verbose 1", "testpmd> ", 120) @@ -1538,7
> +1538,7 @@ class TestGeneric_flow_api(TestCase):
>          only supported by i40e
>          """
>          self.verify(self.nic in ["fortville_eagle",
> "fortville_spirit","columbiaville_25g","columbiaville_100g",
> -                                 "fortville_spirit_single", "fortpark_TLV"],
> +                                 "fortville_spirit_single",
> + "fortpark_TLV", "carlsville"],
>                      "%s nic not support tunnel vxlan filter" % self.nic)
> 
>          self.setup_env()
> @@ -1602,7 +1602,7 @@ class TestGeneric_flow_api(TestCase):
>          only supported by i40e
>          """
>          self.verify(self.nic in ["fortville_eagle",
> "fortville_spirit","columbiaville_25g","columbiaville_100g",
> -                                 "fortville_spirit_single", "fortpark_TLV"],
> +                                 "fortville_spirit_single",
> + "fortpark_TLV", "carlsville"],
>                      "%s nic not support tunnel nvgre filter" % self.nic)
> 
>          self.setup_env()
> --
> 2.17.1


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

end of thread, other threads:[~2020-04-20  5:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-13  5:37 [dts] [PATCH v1]tests/TestSuite_generic_flow_api:add support nic carlsville Xu Hailin
2020-04-20  5:21 ` 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).