test suite reviews and discussions
 help / color / Atom feed
* Re: [dts] [PATCH 08/17] tests/TestSuite_ipgre: add carlsville to support nic of ipgre
  2019-08-19 11:06 ` [dts] [PATCH 08/17] tests/TestSuite_ipgre: add carlsville to support nic of ipgre qifu
@ 2019-08-19  5:05   ` Mo, YufengX
  2019-08-19  5:23     ` Fu, Qi
  2019-08-19 18:09   ` [dts] [PATCH V2 08/17]tests/TestSuite_ipgre: " qifu
  1 sibling, 1 reply; 33+ messages in thread
From: Mo, YufengX @ 2019-08-19  5:05 UTC (permalink / raw)
  To: Fu, Qi, dts; +Cc: Fu, Qi

Have your leader review your source code? Below checking syntax is wrong


> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of qifu
> Sent: Monday, August 19, 2019 7:06 PM
> To: dts@dpdk.org
> Cc: Fu, Qi <qi.fu@intel.com>
> Subject: [dts] [PATCH 08/17] tests/TestSuite_ipgre: add carlsville to support nic of ipgre
> 
> Add carlsville to support nic of ipgre.
> Signed-off-by: qifu <qi.fu@intel.com>
> ---
>  tests/TestSuite_ipgre.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tests/TestSuite_ipgre.py b/tests/TestSuite_ipgre.py
> index 6f465fa..04fd651 100644
> --- a/tests/TestSuite_ipgre.py
> +++ b/tests/TestSuite_ipgre.py
> @@ -63,7 +63,7 @@ class TestIpgre(TestCase):
>          """
>          self.printFlag = self._enable_debug
>          ports = self.dut.get_ports()
> -        self.verify(self.nic.startswith("fortville"),
> +        self.verify(self.nic.startswith("fortville" and "carlsville"),
>                      "GRE tunnel packet type only support by Fortville")
>          self.verify(len(ports) >= 1, "Insufficient ports for testing")
>          valports = [_ for _ in ports if self.tester.get_local_port(_) != -1]
> --
> 2.17.1


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

* Re: [dts] [PATCH 08/17] tests/TestSuite_ipgre: add carlsville to support nic of ipgre
  2019-08-19  5:05   ` Mo, YufengX
@ 2019-08-19  5:23     ` Fu, Qi
  2019-08-19  5:28       ` Mo, YufengX
  0 siblings, 1 reply; 33+ messages in thread
From: Fu, Qi @ 2019-08-19  5:23 UTC (permalink / raw)
  To: Mo, YufengX, dts

Hi,

Lijuan has reviewed these patchese and I have verified them before.
If use 'self.nic.startswith("fortville" or "carlsville")' it can't work, but use 'self.nic.startswith("fortville" and "carlsville")' works well.

Best regards,
Fu, Qi


-----Original Message-----
From: Mo, YufengX 
Sent: Monday, August 19, 2019 1:06 PM
To: Fu, Qi <qi.fu@intel.com>; dts@dpdk.org
Cc: Fu, Qi <qi.fu@intel.com>
Subject: RE: [dts] [PATCH 08/17] tests/TestSuite_ipgre: add carlsville to support nic of ipgre

Have your leader review your source code? Below checking syntax is wrong


> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of qifu
> Sent: Monday, August 19, 2019 7:06 PM
> To: dts@dpdk.org
> Cc: Fu, Qi <qi.fu@intel.com>
> Subject: [dts] [PATCH 08/17] tests/TestSuite_ipgre: add carlsville to 
> support nic of ipgre
> 
> Add carlsville to support nic of ipgre.
> Signed-off-by: qifu <qi.fu@intel.com>
> ---
>  tests/TestSuite_ipgre.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tests/TestSuite_ipgre.py b/tests/TestSuite_ipgre.py index 
> 6f465fa..04fd651 100644
> --- a/tests/TestSuite_ipgre.py
> +++ b/tests/TestSuite_ipgre.py
> @@ -63,7 +63,7 @@ class TestIpgre(TestCase):
>          """
>          self.printFlag = self._enable_debug
>          ports = self.dut.get_ports()
> -        self.verify(self.nic.startswith("fortville"),
> +        self.verify(self.nic.startswith("fortville" and 
> + "carlsville"),
>                      "GRE tunnel packet type only support by Fortville")
>          self.verify(len(ports) >= 1, "Insufficient ports for testing")
>          valports = [_ for _ in ports if self.tester.get_local_port(_) 
> != -1]
> --
> 2.17.1


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

* Re: [dts] [PATCH 08/17] tests/TestSuite_ipgre: add carlsville to support nic of ipgre
  2019-08-19  5:23     ` Fu, Qi
@ 2019-08-19  5:28       ` Mo, YufengX
  2019-08-19  5:40         ` Fu, Qi
  0 siblings, 1 reply; 33+ messages in thread
From: Mo, YufengX @ 2019-08-19  5:28 UTC (permalink / raw)
  To: Fu, Qi, dts

Hi,fuqi

You can try this, its logic will return False. Is it your expected?

    nic = 'fortville_spirit'
    print nic.startswith("fortville" and "carlsville")



> -----Original Message-----
> From: Fu, Qi
> Sent: Monday, August 19, 2019 1:24 PM
> To: Mo, YufengX <yufengx.mo@intel.com>; dts@dpdk.org
> Subject: RE: [dts] [PATCH 08/17] tests/TestSuite_ipgre: add carlsville to support nic of ipgre
> 
> Hi,
> 
> Lijuan has reviewed these patchese and I have verified them before.
> If use 'self.nic.startswith("fortville" or "carlsville")' it can't work, but use 'self.nic.startswith("fortville" and "carlsville")' works well.
> 
> Best regards,
> Fu, Qi
> 
> 
> -----Original Message-----
> From: Mo, YufengX
> Sent: Monday, August 19, 2019 1:06 PM
> To: Fu, Qi <qi.fu@intel.com>; dts@dpdk.org
> Cc: Fu, Qi <qi.fu@intel.com>
> Subject: RE: [dts] [PATCH 08/17] tests/TestSuite_ipgre: add carlsville to support nic of ipgre
> 
> Have your leader review your source code? Below checking syntax is wrong
> 
> 
> > -----Original Message-----
> > From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of qifu
> > Sent: Monday, August 19, 2019 7:06 PM
> > To: dts@dpdk.org
> > Cc: Fu, Qi <qi.fu@intel.com>
> > Subject: [dts] [PATCH 08/17] tests/TestSuite_ipgre: add carlsville to
> > support nic of ipgre
> >
> > Add carlsville to support nic of ipgre.
> > Signed-off-by: qifu <qi.fu@intel.com>
> > ---
> >  tests/TestSuite_ipgre.py | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/tests/TestSuite_ipgre.py b/tests/TestSuite_ipgre.py index
> > 6f465fa..04fd651 100644
> > --- a/tests/TestSuite_ipgre.py
> > +++ b/tests/TestSuite_ipgre.py
> > @@ -63,7 +63,7 @@ class TestIpgre(TestCase):
> >          """
> >          self.printFlag = self._enable_debug
> >          ports = self.dut.get_ports()
> > -        self.verify(self.nic.startswith("fortville"),
> > +        self.verify(self.nic.startswith("fortville" and
> > + "carlsville"),
> >                      "GRE tunnel packet type only support by Fortville")
> >          self.verify(len(ports) >= 1, "Insufficient ports for testing")
> >          valports = [_ for _ in ports if self.tester.get_local_port(_)
> > != -1]
> > --
> > 2.17.1


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

* Re: [dts] [PATCH 08/17] tests/TestSuite_ipgre: add carlsville to support nic of ipgre
  2019-08-19  5:28       ` Mo, YufengX
@ 2019-08-19  5:40         ` Fu, Qi
  0 siblings, 0 replies; 33+ messages in thread
From: Fu, Qi @ 2019-08-19  5:40 UTC (permalink / raw)
  To: Mo, YufengX, dts

Ok, I just verified the carlsville can work before but miss the Fortville.
I will correct this patch.
Thanks for your advice!

Best regards,
Fu, Qi


-----Original Message-----
From: Mo, YufengX 
Sent: Monday, August 19, 2019 1:29 PM
To: Fu, Qi <qi.fu@intel.com>; dts@dpdk.org
Subject: RE: [dts] [PATCH 08/17] tests/TestSuite_ipgre: add carlsville to support nic of ipgre

Hi,fuqi

You can try this, its logic will return False. Is it your expected?

    nic = 'fortville_spirit'
    print nic.startswith("fortville" and "carlsville")



> -----Original Message-----
> From: Fu, Qi
> Sent: Monday, August 19, 2019 1:24 PM
> To: Mo, YufengX <yufengx.mo@intel.com>; dts@dpdk.org
> Subject: RE: [dts] [PATCH 08/17] tests/TestSuite_ipgre: add carlsville 
> to support nic of ipgre
> 
> Hi,
> 
> Lijuan has reviewed these patchese and I have verified them before.
> If use 'self.nic.startswith("fortville" or "carlsville")' it can't work, but use 'self.nic.startswith("fortville" and "carlsville")' works well.
> 
> Best regards,
> Fu, Qi
> 
> 
> -----Original Message-----
> From: Mo, YufengX
> Sent: Monday, August 19, 2019 1:06 PM
> To: Fu, Qi <qi.fu@intel.com>; dts@dpdk.org
> Cc: Fu, Qi <qi.fu@intel.com>
> Subject: RE: [dts] [PATCH 08/17] tests/TestSuite_ipgre: add carlsville 
> to support nic of ipgre
> 
> Have your leader review your source code? Below checking syntax is 
> wrong
> 
> 
> > -----Original Message-----
> > From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of qifu
> > Sent: Monday, August 19, 2019 7:06 PM
> > To: dts@dpdk.org
> > Cc: Fu, Qi <qi.fu@intel.com>
> > Subject: [dts] [PATCH 08/17] tests/TestSuite_ipgre: add carlsville 
> > to support nic of ipgre
> >
> > Add carlsville to support nic of ipgre.
> > Signed-off-by: qifu <qi.fu@intel.com>
> > ---
> >  tests/TestSuite_ipgre.py | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/tests/TestSuite_ipgre.py b/tests/TestSuite_ipgre.py 
> > index
> > 6f465fa..04fd651 100644
> > --- a/tests/TestSuite_ipgre.py
> > +++ b/tests/TestSuite_ipgre.py
> > @@ -63,7 +63,7 @@ class TestIpgre(TestCase):
> >          """
> >          self.printFlag = self._enable_debug
> >          ports = self.dut.get_ports()
> > -        self.verify(self.nic.startswith("fortville"),
> > +        self.verify(self.nic.startswith("fortville" and 
> > + "carlsville"),
> >                      "GRE tunnel packet type only support by Fortville")
> >          self.verify(len(ports) >= 1, "Insufficient ports for testing")
> >          valports = [_ for _ in ports if 
> > self.tester.get_local_port(_) != -1]
> > --
> > 2.17.1


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

* [dts] [PATCH 00/17] enable carlsville
@ 2019-08-19 11:06 qifu
  2019-08-19 11:06 ` [dts] [PATCH 01/17] conf/test_case_checklist: add carlsville to checklist qifu
                   ` (17 more replies)
  0 siblings, 18 replies; 33+ messages in thread
From: qifu @ 2019-08-19 11:06 UTC (permalink / raw)
  To: dts; +Cc: qifu

Add carlsville to settings.py, checklist, supportlist and other
testsuits to enable it in dpdk.

qifu (17):
  conf/test_case_checklist: add carlsville to checklist
  framework/settings: add carlsville to settings
  conf/test_case_supportlist: add carlsville to supportlist
  tests/TestSuite_dual_vlan: add carlsville to support nic of dual_vlan
  tests/TestSuite_fdir: add carlsville to support nic of fdir
  tests/TestSuite_fortville_rss_granularity_config: add carlsville to
    support nic of fortville_rss_granularity_config
  tests/TestSuite_generic_filter: add carlsville to support nic of
    generic_filter
  tests/TestSuite_ipgre: add carlsville to support nic of ipgre
  tests/TestSuite_link_status_interrupt: add carlsville to support nic
    of link_status_interrupt
  tests/TestSuite_nvgre: add carlsville to support nic of nvgre
  tests/TestSuite_pmdrss_hash: add carlsville to support nic of
    pmdrss_hash
  tests/TestSuite_ptype_mapping: add carlsville to support nic of
    ptype_mapping
  tests/TestSuite_scatter: add carlsville to support nic of scatter
  tests/TestSuite_uni_pkt: add carlsville to support nic of uni_pkt
  tests/TestSuite_vlan_ethertype_config: add carlsville to support nic
    of vlan_ethertype_config
  tests/TestSuite_vlan: add carlsville to support nic of vlan
  tests/TestSuite_vxlan: add carlsville to support nic of vxlan

 conf/test_case_checklist.json                 | 48 ++++++++++++-------
 conf/test_case_supportlist.json               | 39 ++++++++++-----
 framework/settings.py                         |  2 +
 tests/TestSuite_dual_vlan.py                  | 20 ++++----
 tests/TestSuite_fdir.py                       | 32 ++++++-------
 ...tSuite_fortville_rss_granularity_config.py |  2 +-
 tests/TestSuite_generic_filter.py             |  6 +--
 tests/TestSuite_ipgre.py                      |  2 +-
 tests/TestSuite_link_status_interrupt.py      |  2 +-
 tests/TestSuite_nvgre.py                      |  2 +-
 tests/TestSuite_pmdrss_hash.py                |  6 +--
 tests/TestSuite_ptype_mapping.py              |  2 +-
 tests/TestSuite_scatter.py                    |  2 +-
 tests/TestSuite_uni_pkt.py                    | 24 +++++-----
 tests/TestSuite_vlan.py                       |  2 +-
 tests/TestSuite_vlan_ethertype_config.py      |  2 +-
 tests/TestSuite_vxlan.py                      |  2 +-
 17 files changed, 113 insertions(+), 82 deletions(-)

-- 
2.17.1


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

* [dts] [PATCH 01/17] conf/test_case_checklist: add carlsville to checklist
  2019-08-19 11:06 [dts] [PATCH 00/17] enable carlsville qifu
@ 2019-08-19 11:06 ` qifu
  2019-08-29 11:44   ` [dts] [PATCH V2 01/17]conf/test_case_checklist: " qifu
  2019-08-19 11:06 ` [dts] [PATCH 02/17] framework/settings: add carlsville to settings qifu
                   ` (16 subsequent siblings)
  17 siblings, 1 reply; 33+ messages in thread
From: qifu @ 2019-08-19 11:06 UTC (permalink / raw)
  To: dts; +Cc: qifu

Add "carlsville" to some cases which it can not support in checklist.
Signed-off-by: qifu <qi.fu@intel.com>
---
 conf/test_case_checklist.json | 48 +++++++++++++++++++++++------------
 1 file changed, 32 insertions(+), 16 deletions(-)

diff --git a/conf/test_case_checklist.json b/conf/test_case_checklist.json
index 867d63e..a10e61b 100644
--- a/conf/test_case_checklist.json
+++ b/conf/test_case_checklist.json
@@ -18,7 +18,8 @@
                 "kawela_4",
                 "cavium_a034",
                 "cavium_a011",
-                "fortpark_TLV"
+                "fortpark_TLV",
+		"carlsville"
             ],
             "Target": [
                 "ALL"
@@ -65,7 +66,8 @@
                 "twinpond",
                 "cavium_a034",
                 "cavium_a011",
-                "fortpark_TLV"
+                "fortpark_TLV",
+		"carlsville"
             ],
             "Target": [
                 "ALL"
@@ -92,7 +94,8 @@
                 "twinpond",
                 "cavium_a034",
                 "cavium_a011",
-                "fortpark_TLV"
+                "fortpark_TLV",
+		"carlsville"
             ],
             "Target": [
                 "ALL"
@@ -112,7 +115,8 @@
                 "fortville_spirit_single",
                 "fortville_25g",
                 "springville",
-                "fortpark_TLV"
+                "fortpark_TLV",
+		"carlsville"
             ],
             "Target": [
                 "ALL"
@@ -140,7 +144,8 @@
                 "twinpond",
                 "cavium_a034",
                 "cavium_a011",
-                "fortpark_TLV"
+                "fortpark_TLV",
+		"carlsville"
             ],
             "Target": [
                 "ALL"
@@ -166,7 +171,8 @@
                 "twinpond",
                 "cavium_a034",
                 "cavium_a011",
-                "fortpark_TLV"
+                "fortpark_TLV",
+		"carlsville"
             ],
             "Target": [
                 "ALL"
@@ -191,7 +197,8 @@
                 "twinpond",
                 "cavium_a034",
                 "cavium_a011",
-                "fortpark_TLV"
+                "fortpark_TLV",
+		"carlsville"
             ],
             "Target": [
                 "ALL"
@@ -216,7 +223,8 @@
                 "twinpond",
                 "cavium_a034",
                 "cavium_a011",
-                "fortpark_TLV"
+                "fortpark_TLV",
+		"carlsville"
             ],
             "Target": [
                 "ALL"
@@ -243,7 +251,8 @@
                 "twinpond",
                 "cavium_a034",
                 "cavium_a011",
-                "fortpark_TLV"
+                "fortpark_TLV",
+		"carlsville"
             ],
             "Target": [
                 "ALL"
@@ -266,7 +275,8 @@
                 "springville",
                 "fortville_25g",
                 "fortpark_TLV",
-                "cavium_a063"
+                "cavium_a063",
+		"carlsville"
             ],
             "Target": [
                 "ALL"
@@ -286,7 +296,8 @@
                 "fortville_spirit_single",
                 "fortville_25g",
                 "fortpark_TLV",
-                "cavium_a063"
+                "cavium_a063",
+		"carlsville"
             ],
             "Target": [
                 "ALL"
@@ -400,7 +411,8 @@
                 "fortville_eagle",
                 "fortville_spirit",
                 "fortville_spirit_single",
-                "fortville_25g"
+                "fortville_25g",
+		"carlsville"
             ],
             "Target": [
                 "ALL"
@@ -435,7 +447,8 @@
                 "fortville_eagle",
                 "fortville_spirit",
                 "fortville_spirit_single",
-                "fortville_25g"
+                "fortville_25g",
+		"carlsville"
             ],
             "Target": [
                 "ALL"
@@ -495,7 +508,8 @@
                 "fortpark_TLV",
                 "sagepond",
                 "sageville",
-                "cavium_a063"
+                "cavium_a063",
+		"carlsville"
             ],
             "Target": [
                 "ALL"
@@ -516,7 +530,8 @@
                 "fortville_25g",
                 "fortpark_TLV",
                 "sagepond",
-                "sageville"
+                "sageville",
+		"carlsville"
             ],
             "Target": [
                 "ALL"
@@ -2101,7 +2116,8 @@
                 "cavium_a011",
                 "cavium_a063",
                 "fortville_25g",
-                "fortpark_TLV"
+                "fortpark_TLV",
+		"carlsville"
             ],
             "Target": [
                 "ALL"
-- 
2.17.1


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

* [dts] [PATCH 02/17] framework/settings: add carlsville to settings
  2019-08-19 11:06 [dts] [PATCH 00/17] enable carlsville qifu
  2019-08-19 11:06 ` [dts] [PATCH 01/17] conf/test_case_checklist: add carlsville to checklist qifu
@ 2019-08-19 11:06 ` qifu
  2019-08-29 11:46   ` [dts] [PATCH V2 02/17]framework/settings: " qifu
  2019-08-19 11:06 ` [dts] [PATCH 03/17] conf/test_case_supportlist: add carlsville to supportlist qifu
                   ` (15 subsequent siblings)
  17 siblings, 1 reply; 33+ messages in thread
From: qifu @ 2019-08-19 11:06 UTC (permalink / raw)
  To: dts; +Cc: qifu

Add carlsville to NICS and DRIVERS in settings.py.
Signed-off-by: qifu <qi.fu@intel.com>
---
 framework/settings.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/framework/settings.py b/framework/settings.py
index ea95b28..793c3e2 100644
--- a/framework/settings.py
+++ b/framework/settings.py
@@ -107,6 +107,7 @@ NICS = {
     'fastlinq_ql41000': 'qede',
     'fastlinq_ql45000_vf': 'qede',
     'fastlinq_ql41000_vf': 'qede',
+    'carlsville': '8086:15ff',
 }
 
 DRIVERS = {
@@ -168,6 +169,7 @@ DRIVERS = {
     'fastlinq_ql45000_vf': '1077:1664',
     'fastlinq_ql41000': '1077:8070',
     'fastlinq_ql41000_vf': '1077:8090',
+    'carlsville': 'i40e',
 }
 
 """
-- 
2.17.1


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

* [dts] [PATCH 03/17] conf/test_case_supportlist: add carlsville to supportlist
  2019-08-19 11:06 [dts] [PATCH 00/17] enable carlsville qifu
  2019-08-19 11:06 ` [dts] [PATCH 01/17] conf/test_case_checklist: add carlsville to checklist qifu
  2019-08-19 11:06 ` [dts] [PATCH 02/17] framework/settings: add carlsville to settings qifu
@ 2019-08-19 11:06 ` qifu
  2019-08-19 11:06 ` [dts] [PATCH 04/17] tests/TestSuite_dual_vlan: add carlsville to support nic of dual_vlan qifu
                   ` (14 subsequent siblings)
  17 siblings, 0 replies; 33+ messages in thread
From: qifu @ 2019-08-19 11:06 UTC (permalink / raw)
  To: dts; +Cc: qifu

Add carlsville to some cases which it can support in supportlist.
Signed-off-by: qifu <qi.fu@intel.com>
---
 conf/test_case_supportlist.json | 39 ++++++++++++++++++++++-----------
 1 file changed, 26 insertions(+), 13 deletions(-)

diff --git a/conf/test_case_supportlist.json b/conf/test_case_supportlist.json
index 0dbce8e..d5cbb01 100644
--- a/conf/test_case_supportlist.json
+++ b/conf/test_case_supportlist.json
@@ -133,7 +133,8 @@
                 "fortville_eagle",
                 "fortville_spirit",
                 "fortville_spirit_single",
-                "fortville_25g"
+                "fortville_25g",
+	        "carlsville"
             ],
             "Target": [
                 "ALL"
@@ -152,7 +153,8 @@
                 "fortville_eagle",
                 "fortville_spirit",
                 "fortville_spirit_single",
-                "fortville_25g"
+                "fortville_25g",
+		"carlsville"
             ],
             "Target": [
                 "ALL"
@@ -173,7 +175,8 @@
                 "fortville_eagle",
                 "fortville_spirit",
                 "fortville_spirit_single",
-		"fortpark_TLV"
+		"fortpark_TLV",
+	        "carlsville"
             ],
             "Target": [
                 "ALL"
@@ -192,7 +195,8 @@
                 "fortville_eagle",
                 "fortville_spirit",
                 "fortville_spirit_single",
-                "fortville_25g"
+                "fortville_25g",
+                "carlsville"
             ],
             "Target": [
                 "ALL"
@@ -211,7 +215,8 @@
                 "fortville_eagle",
                 "fortville_spirit",
                 "fortville_spirit_single",
-                "fortville_25g"
+                "fortville_25g",
+                "carlsville"
             ],
             "Target": [
                 "ALL"
@@ -230,7 +235,8 @@
                 "fortville_eagle",
                 "fortville_spirit",
                 "fortville_spirit_single",
-                "fortville_25g"
+                "fortville_25g",
+                "carlsville"
             ],
             "Target": [
                 "ALL"
@@ -249,7 +255,8 @@
                 "fortville_eagle",
                 "fortville_spirit",
                 "fortville_spirit_single",
-                "fortville_25g"
+                "fortville_25g",
+		"carlsville"
             ],
             "Target": [
                 "ALL"
@@ -268,7 +275,8 @@
                 "fortville_eagle",
                 "fortville_spirit",
                 "fortville_spirit_single",
-                "fortville_25g"
+                "fortville_25g",
+		"carlsville"
             ],
             "Target": [
                 "ALL"
@@ -502,7 +510,8 @@
                 "fortville_eagle",
                 "fortville_spirit",
                 "fortville_spirit_single",
-                "fortville_25g"
+                "fortville_25g",
+		"carlsville"
             ],
             "Target": [
                 "ALL"
@@ -520,7 +529,8 @@
                 "fortville_eagle",
                 "fortville_spirit",
                 "fortville_spirit_single",
-                "fortville_25g"
+                "fortville_25g",
+		"carlsville"
             ],
             "Target": [
                 "ALL"
@@ -538,7 +548,8 @@
                 "fortville_eagle",
                 "fortville_spirit",
                 "fortville_spirit_single",
-                "fortville_25g"
+                "fortville_25g",
+		"carlsville"
             ],
             "Target": [
                 "ALL"
@@ -560,7 +571,8 @@
                 "fortpark",
                 "fortpark_TLV",
                 "fortpark_TLV_vf",
-                "fvl10g_vf"
+                "fvl10g_vf",
+		"carlsville"
             ],
             "Target": [
                 "ALL"
@@ -883,7 +895,8 @@
                 "fortville_eagle",
                 "fortville_spirit",
                 "fortville_spirit_single",
-                "fortpark_TLV"
+                "fortpark_TLV",
+		"carlsville"
             ],
             "Target": [
                 "ALL"
-- 
2.17.1


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

* [dts] [PATCH 04/17] tests/TestSuite_dual_vlan: add carlsville to support nic of dual_vlan
  2019-08-19 11:06 [dts] [PATCH 00/17] enable carlsville qifu
                   ` (2 preceding siblings ...)
  2019-08-19 11:06 ` [dts] [PATCH 03/17] conf/test_case_supportlist: add carlsville to supportlist qifu
@ 2019-08-19 11:06 ` qifu
  2019-08-19 11:06 ` [dts] [PATCH 05/17] tests/TestSuite_fdir: add carlsville to support nic of fdir qifu
                   ` (13 subsequent siblings)
  17 siblings, 0 replies; 33+ messages in thread
From: qifu @ 2019-08-19 11:06 UTC (permalink / raw)
  To: dts; +Cc: qifu

Add carlsville to support nic of dual_vlan.
Signed-off-by: qifu <qi.fu@intel.com>
---
 tests/TestSuite_dual_vlan.py | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/tests/TestSuite_dual_vlan.py b/tests/TestSuite_dual_vlan.py
index a688096..1160ed3 100644
--- a/tests/TestSuite_dual_vlan.py
+++ b/tests/TestSuite_dual_vlan.py
@@ -104,7 +104,7 @@ class TestDualVlan(TestCase):
         self.pmdout = PmdOutput(self.dut)
         self.pmdout.start_testpmd("Default", "--portmask=%s" % portMask, socket=self.ports_socket)
 
-        if self.nic in ["fortville_eagle", "fortville_spirit", "fortville_spirit_single", "fortville_25g", "fortpark_TLV"]:
+        if self.nic in ["fortville_eagle", "fortville_spirit", "fortville_spirit_single", "fortville_25g", "fortpark_TLV", "carlsville"]:
             self.dut.send_expect("vlan set filter on all", "testpmd> ")
             self.dut.send_expect("set promisc all off", "testpmd> ")
 
@@ -149,7 +149,7 @@ class TestDualVlan(TestCase):
         """
 
         for mode in modeName:
-            if self.nic in ["fortville_eagle", "fortville_spirit", "fortville_spirit_single", "fortville_25g", "fortpark_TLV"]:
+            if self.nic in ["fortville_eagle", "fortville_spirit", "fortville_spirit_single", "fortville_25g", "fortpark_TLV", "carlsville"]:
                 # fortville NIC vlan filter can't close, if want close need remove rx_vlan
                 if mode == "filter":
                     if modeName[mode] == "off":
@@ -166,7 +166,7 @@ class TestDualVlan(TestCase):
 
         out = self.dut.send_expect("show port info %s" % dutRxPortId, "testpmd> ")
         for mode in modeName:
-            if self.nic in ["fortville_eagle", "fortville_spirit", "fortville_spirit_single", "fortville_25g","fortpark_TLV"]:
+            if self.nic in ["fortville_eagle", "fortville_spirit", "fortville_spirit_single", "fortville_25g","fortpark_TLV", "carlsville"]:
                 # fortville NIC vlan filter can't close, if want close need remove rx_vlan
                 if mode == "filter":
                     if modeName[mode] == "off":
@@ -283,7 +283,7 @@ class TestDualVlan(TestCase):
         print out
         self.verify(out is not None and "vlan %s" % outvlan not in out, "Vlan filter enable error: " + out)
 
-        if self.nic not in ["fortville_eagle", "fortville_spirit", "fortville_spirit_single", "fortville_25g", "fortpark_TLV"]:
+        if self.nic not in ["fortville_eagle", "fortville_spirit", "fortville_spirit_single", "fortville_25g", "fortpark_TLV", "carlsville"]:
             self.mode_config(filter="off")
             self.vlan_send_packet(outvlan)
             out = self.get_tcpdump_package()
@@ -322,7 +322,7 @@ class TestDualVlan(TestCase):
         self.mode_config(filter="off")
         self.mode_config(qinq="off")
         self.mode_config(strip="on")
-        if self.nic in ["fortville_eagle", "fortville_spirit", "fortville_spirit_single", "fortville_25g", "fortpark_TLV"]:
+        if self.nic in ["fortville_eagle", "fortville_spirit", "fortville_spirit_single", "fortville_25g", "fortpark_TLV", "carlsville"]:
             self.dut.send_expect('rx_vlan add %s %s' % (outvlan, dutRxPortId), "testpmd> ")
         self.vlan_send_packet(outvlan)
         out = self.get_tcpdump_package()
@@ -332,20 +332,20 @@ class TestDualVlan(TestCase):
         self.vlan_send_packet(outvlan)
         out = self.get_tcpdump_package()
         self.verify("vlan %s" % outvlan in out, "Vlan strip disable error: " + out)
-        if self.nic in ["fortville_eagle", "fortville_spirit", "fortville_spirit_single", "fortville_25g", "fortpark_TLV"]:
+        if self.nic in ["fortville_eagle", "fortville_spirit", "fortville_spirit_single", "fortville_25g", "fortpark_TLV", "carlsville"]:
             self.dut.send_expect('rx_vlan rm %s %s' % (outvlan, dutRxPortId), "testpmd> ")
 
     def test_vlan_stripq_config(self):
         """
         Enable/Disable VLAN packets strip on queue
         """
-        self.verify(self.nic not in ["fortville_eagle", "fortville_spirit", "fortville_spirit_single", "fortville_25g", "fortpark_TLV", "cavium_a063", "cavium_a064"], "%s NIC not support queue vlan strip " % self.nic)
+        self.verify(self.nic not in ["fortville_eagle", "fortville_spirit", "fortville_spirit_single", "fortville_25g", "fortpark_TLV", "cavium_a063", "cavium_a064", "carlsville"], "%s NIC not support queue vlan strip " % self.nic)
 
         self.mode_config(filter="off")
         self.mode_config(qinq="off")
         self.mode_config(strip="off")
         self.mode_config(stripq="off")
-        if self.nic in ["fortville_eagle", "fortville_spirit", "fortville_spirit_single", "fortville_25g", "fortpark_TLV"]:
+        if self.nic in ["fortville_eagle", "fortville_spirit", "fortville_spirit_single", "fortville_25g", "fortpark_TLV", "carlsville"]:
             self.dut.send_expect('rx_vlan add %s %s' % (outvlan, dutRxPortId), "testpmd> ") 
         self.vlan_send_packet(outvlan)
         out = self.get_tcpdump_package()
@@ -361,7 +361,7 @@ class TestDualVlan(TestCase):
         self.vlan_send_packet(outvlan)
         out = self.get_tcpdump_package()
         self.verify("vlan %s" % outvlan in out, "vlan strip queue disable error: " + out)
-        if self.nic in ["fortville_eagle", "fortville_spirit", "fortville_spirit_single", "fortville_25g", "fortpark_TLV"]:
+        if self.nic in ["fortville_eagle", "fortville_spirit", "fortville_spirit_single", "fortville_25g", "fortpark_TLV", "carlsville"]:
             self.dut.send_expect('rx_vlan rm %s %s' % (outvlan, dutRxPortId), "testpmd> ")
 
     def test_vlan_insert_config(self):
@@ -401,7 +401,7 @@ class TestDualVlan(TestCase):
         """
         Configure receive port out vlan TPID
         """
-        self.verify(self.nic not in ["fortville_eagle", "fortville_spirit", "fortville_spirit_single", "fortville_25g", "fortpark_TLV", "hartwell"], "%s NIC not support tcpid " % self.nic)
+        self.verify(self.nic not in ["fortville_eagle", "fortville_spirit", "fortville_spirit_single", "fortville_25g", "fortpark_TLV", "hartwell", "carlsville"], "%s NIC not support tcpid " % self.nic)
 
         self.mode_config(filter="on", strip="on", qinq="on")
         # nic only support inner model, except fortville nic
-- 
2.17.1


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

* [dts] [PATCH 05/17] tests/TestSuite_fdir: add carlsville to support nic of fdir
  2019-08-19 11:06 [dts] [PATCH 00/17] enable carlsville qifu
                   ` (3 preceding siblings ...)
  2019-08-19 11:06 ` [dts] [PATCH 04/17] tests/TestSuite_dual_vlan: add carlsville to support nic of dual_vlan qifu
@ 2019-08-19 11:06 ` qifu
  2019-08-19 11:06 ` [dts] [PATCH 06/17] tests/TestSuite_fortville_rss_granularity_config: add carlsville to support nic of fortville_rss_granularity_config qifu
                   ` (12 subsequent siblings)
  17 siblings, 0 replies; 33+ messages in thread
From: qifu @ 2019-08-19 11:06 UTC (permalink / raw)
  To: dts; +Cc: qifu

Add carlsville to support nic of fdir.
Signed-off-by: qifu <qi.fu@intel.com>
---
 tests/TestSuite_fdir.py | 32 ++++++++++++++++----------------
 1 file changed, 16 insertions(+), 16 deletions(-)

diff --git a/tests/TestSuite_fdir.py b/tests/TestSuite_fdir.py
index 14cc5c9..9f5a812 100644
--- a/tests/TestSuite_fdir.py
+++ b/tests/TestSuite_fdir.py
@@ -92,7 +92,7 @@ class TestFdir(TestCase, IxiaPacketGenerator):
         out = self.dut.get_session_output()
         self.dut.send_expect("stop", "testpmd>")
 
-        if(self.nic in ["kawela", "niantic", "fortville_eagle", "fortville_spirit", "fortville_spirit_single", "fortpark_TLV", "fortville_25g"]):
+        if(self.nic in ["kawela", "niantic", "fortville_eagle", "fortville_spirit", "fortville_spirit_single", "fortpark_TLV", "fortville_25g", "carlsville"]):
             if ("fwd" == self.fdir_type):
                 if condition:
                     self.queue = 2
@@ -221,7 +221,7 @@ class TestFdir(TestCase, IxiaPacketGenerator):
         Fdir Performance Benchmarking set rules
         """
         self.dut.send_expect("port stop %s" % self.dut_ports[0], "testpmd>")
-        if(self.nic in ["fortville_eagle", "fortville_spirit", "fortville_spirit_single", "fortpark_TLV", "fortville_25g"]):
+        if(self.nic in ["fortville_eagle", "fortville_spirit", "fortville_spirit_single", "fortpark_TLV", "fortville_25g", "carlsville"]):
             self.dut.send_expect("flow_director_flex_payload %s l2 (0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15)" % self.dut_ports[0], "testpmd>")
             self.dut.send_expect("flow_director_flex_payload %s l3 (0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15)" % self.dut_ports[0], "testpmd>")
             self.dut.send_expect("flow_director_flex_payload %s l4 (0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15)" % self.dut_ports[0], "testpmd>")
@@ -237,7 +237,7 @@ class TestFdir(TestCase, IxiaPacketGenerator):
         Fdir get flexbytes and payload according NIC
         """
 
-        if(self.nic in ["fortville_eagle", "fortville_spirit", "fortville_spirit_single", "fortpark_TLV", "fortville_25g"]):
+        if(self.nic in ["fortville_eagle", "fortville_spirit", "fortville_spirit_single", "fortpark_TLV", "fortville_25g", "carlsville"]):
             if not sctp:
                 self.flexbytes = "0x11,0x11,0x22,0x22,0x33,0x33,0x44,0x44,0x55,0x55,0x66,0x66,0x77,0x77,0x88,0x88"
             else:
@@ -313,7 +313,7 @@ class TestFdir(TestCase, IxiaPacketGenerator):
 
         # ipv4 frag
         # ip-frag only support in fortville
-        if (self.nic in ["fortville_eagle", "fortville_spirit", "fortville_spirit_single", "fortpark_TLV", "fortville_25g"]):
+        if (self.nic in ["fortville_eagle", "fortville_spirit", "fortville_spirit_single", "fortpark_TLV", "fortville_25g", "carlsville"]):
             self.dut.send_expect("flow_director_filter %s mode IP  add flow ipv4-other src 192.168.0.1 dst 192.168.0.2  tos 2 proto 20 ttl 40 vlan 0 flexbytes () fwd pf queue %d fd_id %d " % (self.dut_ports[0], 3, 1), "testpmd>")
             self.dut.send_expect("flow_director_filter %s mode IP  add flow ipv4-frag src 192.168.0.1 dst 192.168.0.2  tos 2   proto 20 ttl 40 vlan 0 flexbytes () fwd pf queue %d fd_id %d " % (self.dut_ports[0], 2, 1), "testpmd>")
             self.send_and_verify(True, 'sendp([Ether(src=get_if_hwaddr("%s"), dst="00:1B:21:8E:B2:30")/IP(src="192.168.0.1", dst="192.168.0.2", frag=1, flags="MF")/Raw(load="X"*46)], iface="%s")' % (self.dut_rx_interface, self.dut_rx_interface))
@@ -332,7 +332,7 @@ class TestFdir(TestCase, IxiaPacketGenerator):
         if self.nic in ["niantic"]:
             # Niantic ipv6 only support signature mode
             self.dut.send_expect("./%s/app/testpmd -c %s -n 4 -- -i --portmask=%s --disable-rss  --rxq=4 --txq=4 --nb-cores=4  --nb-ports=1 --pkt-filter-mode=signature" % (self.target, self.coreMask, utils.create_mask([self.dut_ports[0]])), "testpmd>", 120)
-        elif self.nic in ["fortville_eagle", "fortville_spirit", "fortville_spirit_single", "fortpark_TLV", "fortville_25g"]:
+        elif self.nic in ["fortville_eagle", "fortville_spirit", "fortville_spirit_single", "fortpark_TLV", "fortville_25g", "carlsville"]:
             # Fortville ipv6 support perfect mode
             self.dut.send_expect("./%s/app/testpmd -c %s -n 4 -- -i --portmask=%s --disable-rss  --rxq=4 --txq=4 --nb-cores=4  --nb-ports=1 --pkt-filter-mode=perfect" % (self.target, self.coreMask, utils.create_mask([self.dut_ports[0]])), "testpmd>", 120)
         self.dut.send_expect("set verbose 1", "testpmd>")
@@ -389,7 +389,7 @@ class TestFdir(TestCase, IxiaPacketGenerator):
 
         # ipv6 frag
         # ip-frag only support in fortville
-        if (self.nic in ["fortville_eagle", "fortville_spirit", "fortville_spirit_single", "fortpark_TLV", "fortville_25g"]):
+        if (self.nic in ["fortville_eagle", "fortville_spirit", "fortville_spirit_single", "fortpark_TLV", "fortville_25g", "carlsville"]):
             self.dut.send_expect("flow_director_filter %s mode IP  add flow ipv6-other src FE80:0:0:0:200:1FF:FE00:200 dst 3555:5555:6666:6666:7777:7777:8888:8888  tos 2 proto 20 ttl 40 vlan 0 flexbytes () fwd pf queue %d fd_id %d " % (self.dut_ports[0], 3, 1), "testpmd>")
             self.dut.send_expect("flow_director_filter %s mode IP  add flow ipv6-frag src FE80:0:0:0:200:1FF:FE00:200 dst 3555:5555:6666:6666:7777:7777:8888:8888  tos 2 proto 20 ttl 40 vlan 0 flexbytes () fwd pf queue %d fd_id %d " % (self.dut_ports[0], 2, 1), "testpmd>")
             self.send_and_verify(True, 'sendp([Ether(src=get_if_hwaddr("%s"), dst="00:1B:21:8E:B2:30")/IPv6(src="FE80:0:0:0:200:1FF:FE00:200", dst="3555:5555:6666:6666:7777:7777:8888:8888", nh=44)/IPv6ExtHdrFragment()/Raw(load="X"*46)], iface="%s")' % (self.dut_rx_interface, self.dut_rx_interface))
@@ -457,7 +457,7 @@ class TestFdir(TestCase, IxiaPacketGenerator):
 
         # ipv4 frag
         # ip-frag only support in fortville
-        if (self.nic in ["fortville_eagle", "fortville_spirit", "fortville_spirit_single", "fortpark_TLV", "fortville_25g"]):
+        if (self.nic in ["fortville_eagle", "fortville_spirit", "fortville_spirit_single", "fortpark_TLV", "fortville_25g", "carlsville"]):
             self.dut.send_expect("flow_director_filter %s mode IP  add flow ipv4-other src 192.168.0.1 dst 192.168.0.2  tos 2 proto 20 ttl 40 vlan 0 flexbytes () drop pf queue %d fd_id %d " % (self.dut_ports[0], 3, 1), "testpmd>")
             self.dut.send_expect("flow_director_filter %s mode IP  add flow ipv4-frag src 192.168.0.1 dst 192.168.0.2  tos 2 proto 20  ttl 40 vlan 0 flexbytes () drop pf queue %d fd_id %d " % (self.dut_ports[0], 2, 1), "testpmd>")
             self.dut.send_expect("flow_director_filter %s mode IP  add flow ipv4-frag src 192.168.0.1 dst 192.168.0.2  tos 2 proto 20  ttl 40 vlan 0 flexbytes () drop pf queue %d fd_id %d " % (self.dut_ports[0], 2, 1), "testpmd>")
@@ -476,7 +476,7 @@ class TestFdir(TestCase, IxiaPacketGenerator):
     def test_fdir_noflexword_drop_ipv6(self):
         # drop not support signature mode, niantic only can work in signature  mode with ipv6
         # Niantic is not support in drop ipv6
-        if self.nic in ["fortville_eagle", "fortville_spirit", "fortville_spirit_single", "fortpark_TLV", "fortville_25g"]:
+        if self.nic in ["fortville_eagle", "fortville_spirit", "fortville_spirit_single", "fortpark_TLV", "fortville_25g", "carlsville"]:
             # drop command testing
             self.dut.kill_all()
 
@@ -579,7 +579,7 @@ class TestFdir(TestCase, IxiaPacketGenerator):
 
         # ipv4 frag
         # ip-frag only support fortville
-        if (self.nic in ["fortville_eagle", "fortville_spirit", "fortville_spirit_single", "fortpark_TLV", "fortville_25g"]):
+        if (self.nic in ["fortville_eagle", "fortville_spirit", "fortville_spirit_single", "fortpark_TLV", "fortville_25g", "carlsville"]):
             self.dut.send_expect("flow_director_filter %s mode IP  add flow ipv4-other src 192.168.0.1 dst 192.168.0.2  tos 2 proto 20 ttl 40 vlan 0 flexbytes (%s) fwd pf queue %d fd_id %d " % (self.dut_ports[0], self.flexbytes, 3, 1), "testpmd>")
             self.dut.send_expect("flow_director_filter %s mode IP  add flow ipv4-frag src 192.168.0.1 dst 192.168.0.2  tos 2 proto 20  ttl 40 vlan 0 flexbytes (%s) fwd pf queue %d fd_id %d " % (self.dut_ports[0], self.flexbytes, 2, 1), "testpmd>")
             self.send_and_verify(True, 'sendp([Ether(src=get_if_hwaddr("%s"), dst="00:1B:21:8E:B2:30")/IP(src="192.168.0.1", dst="192.168.0.2", frag=1, flags="MF")/Raw(load="%s")], iface="%s")' % (self.dut_rx_interface, self.payload, self.dut_rx_interface))
@@ -617,7 +617,7 @@ class TestFdir(TestCase, IxiaPacketGenerator):
         if self.nic in ["niantic"]:
             # Niantic ipv6 only support signature mode
             self.dut.send_expect("./%s/app/testpmd -c %s -n 4 -- -i --portmask=%s --disable-rss  --rxq=4 --txq=4 --nb-cores=4  --nb-ports=1 --pkt-filter-mode=signature" % (self.target, self.coreMask, utils.create_mask([self.dut_ports[0]])), "testpmd>", 120)
-        elif self.nic in ["fortville_eagle", "fortville_spirit", "fortville_spirit_single", "fortpark_TLV", "fortville_25g"]:
+        elif self.nic in ["fortville_eagle", "fortville_spirit", "fortville_spirit_single", "fortpark_TLV", "fortville_25g", "carlsville"]:
             # fortville ipv6 support perfect mode
             self.dut.send_expect("./%s/app/testpmd -c %s -n 4 -- -i --portmask=%s --disable-rss --rxq=4 --txq=4 --nb-cores=4 --nb-ports=1 --pkt-filter-mode=perfect" % (self.target, self.coreMask, utils.create_mask([self.dut_ports[0]])), "testpmd>", 120)
         self.dut.send_expect("set verbose 1", "testpmd>")
@@ -673,7 +673,7 @@ class TestFdir(TestCase, IxiaPacketGenerator):
 
         # ipv6 frag
         # ip-frag only support fortville
-        if (self.nic in ["fortville_eagle", "fortville_spirit", "fortville_spirit_single", "fortpark_TLV", "fortville_25g"]):
+        if (self.nic in ["fortville_eagle", "fortville_spirit", "fortville_spirit_single", "fortpark_TLV", "fortville_25g", "carlsville"]):
             self.dut.send_expect("flow_director_filter %s mode IP  add flow ipv6-other src FE80:0:0:0:200:1FF:FE00:200 dst 3555:5555:6666:6666:7777:7777:8888:8888  tos 2 proto 20 ttl 40 vlan 0 flexbytes (%s) fwd pf queue %d fd_id %d " % (self.dut_ports[0], self.flexbytes, 3, 1), "testpmd>")
             self.dut.send_expect("flow_director_filter %s mode IP  add flow ipv6-frag src FE80:0:0:0:200:1FF:FE00:200 dst 3555:5555:6666:6666:7777:7777:8888:8888  tos 2 proto 20 ttl 40 vlan 0 flexbytes (%s) fwd pf queue %d fd_id %d " % (self.dut_ports[0], self.flexbytes, 2, 1), "testpmd>")
             self.send_and_verify(True, 'sendp([Ether(src=get_if_hwaddr("%s"), dst="00:1B:21:8E:B2:30")/IPv6(src="FE80:0:0:0:200:1FF:FE00:200", dst="3555:5555:6666:6666:7777:7777:8888:8888", nh=44)/IPv6ExtHdrFragment()/Raw(load="%s")], iface="%s")' % (self.dut_rx_interface, self.payload, self.dut_rx_interface))
@@ -723,7 +723,7 @@ class TestFdir(TestCase, IxiaPacketGenerator):
 
         # ipv4 frag
         # ip-frag only support fortville
-        if (self.nic in ["fortville_eagle", "fortville_spirit", "fortville_spirit_single", "fortpark_TLV", "fortville_25g"]):
+        if (self.nic in ["fortville_eagle", "fortville_spirit", "fortville_spirit_single", "fortpark_TLV", "fortville_25g", "carlsville"]):
             self.dut.send_expect("flow_director_filter %s mode IP  add flow ipv4-other src 192.168.0.1 dst 192.168.0.2  tos 2 proto 20 ttl 40 vlan 0 flexbytes (%s) drop pf queue %d fd_id %d " % (self.dut_ports[0], self.flexbytes, 3, 1), "testpmd>")
             self.dut.send_expect("flow_director_filter %s mode IP  add flow ipv4-frag src 192.168.0.1 dst 192.168.0.2  tos 2 proto 20  ttl 40 vlan 0 flexbytes (%s) drop pf queue %d fd_id %d " % (self.dut_ports[0], self.flexbytes, 2, 1), "testpmd>")
             self.dut.send_expect("flow_director_filter %s mode IP  add flow ipv4-frag src 192.168.0.1 dst 192.168.0.2  tos 2 proto 20  ttl 40 vlan 0 flexbytes (%s) drop pf queue %d fd_id %d " % (self.dut_ports[0], self.flexbytes, 2, 1), "testpmd>")
@@ -742,7 +742,7 @@ class TestFdir(TestCase, IxiaPacketGenerator):
     def test_fdir_flexword_drop_ipv6(self):
         # drop not support signature mode, niantic only can work in signature  mode with ipv6
         # Niantic is not support in drop ipv6
-        if (self.nic in ["fortville_eagle", "fortville_spirit", "fortville_spirit_single", "fortpark_TLV", "fortville_25g"]):
+        if (self.nic in ["fortville_eagle", "fortville_spirit", "fortville_spirit_single", "fortpark_TLV", "fortville_25g", "carlsville"]):
             # drop testing with flexword
             self.dut.send_expect("./%s/app/testpmd -c %s -n 4 -- -i --portmask=%s --disable-rss --rxq=4 --txq=4 --nb-cores=4 --nb-ports=1 --pkt-filter-mode=perfect" % (self.target, self.coreMask, utils.create_mask([self.dut_ports[0]])), "testpmd>", 120)
             self.dut.send_expect("set verbose 1", "testpmd>")
@@ -784,7 +784,7 @@ class TestFdir(TestCase, IxiaPacketGenerator):
         """
         Expand Flow Director for fortville to support ipv4 TOS, ipv4 PROTO, ipv4 TTL
         """
-        if not self.nic in ["fortville_eagle", "fortville_spirit", "fortville_spirit_single", "fortville_25g"]:
+        if not self.nic in ["fortville_eagle", "fortville_spirit", "fortville_spirit_single", "fortville_25g", "carlsville"]:
             self.verify(False, "This case only support fortville nic")
         self.dut.kill_all()
         self.dut.send_expect("./%s/app/testpmd -c %s -n 4 -- -i --portmask=%s --disable-rss --rxq=4 --txq=4 --nb-cores=4 --nb-ports=1 --pkt-filter-mode=perfect" % (self.target, self.coreMask, utils.create_mask([self.dut_ports[0]])), "testpmd>", 120)
@@ -905,7 +905,7 @@ class TestFdir(TestCase, IxiaPacketGenerator):
         """
         Expand Flow Director for fortville to support ipv6 TC, next-header, hop-limits
         """
-        if not self.nic in ["fortville_eagle", "fortville_spirit", "fortville_spirit_single", "fortville_25g"]:
+        if not self.nic in ["fortville_eagle", "fortville_spirit", "fortville_spirit_single", "fortville_25g", "carlsville"]:
             self.verify(False, "This case only support fortville nic")
         self.dut.kill_all()
         self.dut.send_expect("./%s/app/testpmd -c %s -n 4 -- -i --portmask=%s --disable-rss --rxq=4 --txq=4 --nb-cores=4 --nb-ports=1 --pkt-filter-mode=perfect" % (self.target, self.coreMask, utils.create_mask([self.dut_ports[0]])), "testpmd>", 120)
@@ -1026,7 +1026,7 @@ class TestFdir(TestCase, IxiaPacketGenerator):
         """
         Expand Flow Director for fortville to support ipv4 TOS, ipv4 PROTO, ipv4 TTL
         """
-        if not self.nic in ["fortville_eagle", "fortville_spirit", "fortville_spirit_single", "fortville_25g"]:
+        if not self.nic in ["fortville_eagle", "fortville_spirit", "fortville_spirit_single", "fortville_25g", "carlsville"]:
             self.verify(False, "This case only support fortville nic")
         self.dut.kill_all()
         self.dut.send_expect("./%s/app/testpmd -c %s -n 4 -- -i --portmask=%s --disable-rss --rxq=4 --txq=4 --nb-cores=4 --nb-ports=1 --pkt-filter-mode=perfect" % (self.target, self.coreMask, utils.create_mask([self.dut_ports[0]])), "testpmd>", 120)
-- 
2.17.1


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

* [dts] [PATCH 06/17] tests/TestSuite_fortville_rss_granularity_config: add carlsville to support nic of fortville_rss_granularity_config
  2019-08-19 11:06 [dts] [PATCH 00/17] enable carlsville qifu
                   ` (4 preceding siblings ...)
  2019-08-19 11:06 ` [dts] [PATCH 05/17] tests/TestSuite_fdir: add carlsville to support nic of fdir qifu
@ 2019-08-19 11:06 ` qifu
  2019-08-19 11:06 ` [dts] [PATCH 07/17] tests/TestSuite_generic_filter: add carlsville to support nic of generic_filter qifu
                   ` (11 subsequent siblings)
  17 siblings, 0 replies; 33+ messages in thread
From: qifu @ 2019-08-19 11:06 UTC (permalink / raw)
  To: dts; +Cc: qifu

Add carlsville to support nic of fortville_rss_granularity_config.
Signed-off-by: qifu <qi.fu@intel.com>
---
 tests/TestSuite_fortville_rss_granularity_config.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/TestSuite_fortville_rss_granularity_config.py b/tests/TestSuite_fortville_rss_granularity_config.py
index 6aaf857..0d19c93 100644
--- a/tests/TestSuite_fortville_rss_granularity_config.py
+++ b/tests/TestSuite_fortville_rss_granularity_config.py
@@ -78,7 +78,7 @@ class TestFortvilleRssGranularityConfig(TestCase):
         """
 
         self.verify(self.nic in ["fortville_eagle", "fortville_spirit",
-                    "fortville_spirit_single", "fortville_25g"],
+                    "fortville_spirit_single", "fortville_25g", "carlsville"],
                     "NIC Unsupported: " + str(self.nic))
         ports = self.dut.get_ports(self.nic)
         self.verify(len(ports) >= 1, "Not enough ports available")
-- 
2.17.1


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

* [dts] [PATCH 07/17] tests/TestSuite_generic_filter: add carlsville to support nic of generic_filter
  2019-08-19 11:06 [dts] [PATCH 00/17] enable carlsville qifu
                   ` (5 preceding siblings ...)
  2019-08-19 11:06 ` [dts] [PATCH 06/17] tests/TestSuite_fortville_rss_granularity_config: add carlsville to support nic of fortville_rss_granularity_config qifu
@ 2019-08-19 11:06 ` qifu
  2019-08-19 11:06 ` [dts] [PATCH 08/17] tests/TestSuite_ipgre: add carlsville to support nic of ipgre qifu
                   ` (10 subsequent siblings)
  17 siblings, 0 replies; 33+ messages in thread
From: qifu @ 2019-08-19 11:06 UTC (permalink / raw)
  To: dts; +Cc: qifu

Add carlsville to support nic of generic_filter.
Signed-off-by: qifu <qi.fu@intel.com>
---
 tests/TestSuite_generic_filter.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/tests/TestSuite_generic_filter.py b/tests/TestSuite_generic_filter.py
index 461db95..4f14fc1 100644
--- a/tests/TestSuite_generic_filter.py
+++ b/tests/TestSuite_generic_filter.py
@@ -81,7 +81,7 @@ class TestGeneric_filter(TestCase):
         """
          set port queue mapping, fortville not support this function
         """
-        if self.nic not in ["fortville_eagle", "fortville_spirit", "fortville_spirit_single", "fortville_25g", "fortpark_TLV"]:
+        if self.nic not in ["fortville_eagle", "fortville_spirit", "fortville_spirit_single", "fortville_25g", "fortpark_TLV", "carlsville"]:
             self.dut.send_expect(
                 "set stat_qmap rx %s 0 0" % valports[0], "testpmd> ")
             self.dut.send_expect(
@@ -372,7 +372,7 @@ class TestGeneric_filter(TestCase):
 
         self.verify(self.nic in ["niantic", "kawela_4", "bartonhills", 
                            "powerville", "fortville_eagle", "fortville_spirit",
-                           "fortville_spirit_single", "fortpark_TLV", "fortville_25g","cavium_a063"], "%s nic not support syn filter" % self.nic)
+                           "fortville_spirit_single", "fortpark_TLV", "fortville_25g","cavium_a063", "carlsville"], "%s nic not support syn filter" % self.nic)
         self.pmdout.start_testpmd(
             "%s" % self.cores, "--disable-rss --rxq=4 --txq=4 --portmask=%s --nb-cores=4 --nb-ports=1" % portMask)
         self.port_config()
@@ -633,7 +633,7 @@ class TestGeneric_filter(TestCase):
             self.verify(False, "%s nic not support this test" % self.nic)
     def test_jumbo_frame_size(self):
         
-        self.verify(self.nic not in ["fortville_eagle", "fortville_spirit", "fortville_spirit_single", "fortville_25g", "fortpark_TLV"], "%s nic not support this test" % self.nic)
+        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)
         port = self.tester.get_local_port(valports[0])
-- 
2.17.1


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

* [dts] [PATCH 08/17] tests/TestSuite_ipgre: add carlsville to support nic of ipgre
  2019-08-19 11:06 [dts] [PATCH 00/17] enable carlsville qifu
                   ` (6 preceding siblings ...)
  2019-08-19 11:06 ` [dts] [PATCH 07/17] tests/TestSuite_generic_filter: add carlsville to support nic of generic_filter qifu
@ 2019-08-19 11:06 ` qifu
  2019-08-19  5:05   ` Mo, YufengX
  2019-08-19 18:09   ` [dts] [PATCH V2 08/17]tests/TestSuite_ipgre: " qifu
  2019-08-19 11:06 ` [dts] [PATCH 09/17] tests/TestSuite_link_status_interrupt: add carlsville to support nic of link_status_interrupt qifu
                   ` (9 subsequent siblings)
  17 siblings, 2 replies; 33+ messages in thread
From: qifu @ 2019-08-19 11:06 UTC (permalink / raw)
  To: dts; +Cc: qifu

Add carlsville to support nic of ipgre.
Signed-off-by: qifu <qi.fu@intel.com>
---
 tests/TestSuite_ipgre.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/TestSuite_ipgre.py b/tests/TestSuite_ipgre.py
index 6f465fa..04fd651 100644
--- a/tests/TestSuite_ipgre.py
+++ b/tests/TestSuite_ipgre.py
@@ -63,7 +63,7 @@ class TestIpgre(TestCase):
         """
         self.printFlag = self._enable_debug
         ports = self.dut.get_ports()
-        self.verify(self.nic.startswith("fortville"),
+        self.verify(self.nic.startswith("fortville" and "carlsville"),
                     "GRE tunnel packet type only support by Fortville")
         self.verify(len(ports) >= 1, "Insufficient ports for testing")
         valports = [_ for _ in ports if self.tester.get_local_port(_) != -1]
-- 
2.17.1


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

* [dts] [PATCH 09/17] tests/TestSuite_link_status_interrupt: add carlsville to support nic of link_status_interrupt
  2019-08-19 11:06 [dts] [PATCH 00/17] enable carlsville qifu
                   ` (7 preceding siblings ...)
  2019-08-19 11:06 ` [dts] [PATCH 08/17] tests/TestSuite_ipgre: add carlsville to support nic of ipgre qifu
@ 2019-08-19 11:06 ` qifu
  2019-08-19 11:06 ` [dts] [PATCH 10/17] tests/TestSuite_nvgre: add carlsville to support nic of nvgre qifu
                   ` (8 subsequent siblings)
  17 siblings, 0 replies; 33+ messages in thread
From: qifu @ 2019-08-19 11:06 UTC (permalink / raw)
  To: dts; +Cc: qifu

Add carlsville to support nic of link_status_interrupt.
Signed-off-by: qifu <qi.fu@intel.com>
---
 tests/TestSuite_link_status_interrupt.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/TestSuite_link_status_interrupt.py b/tests/TestSuite_link_status_interrupt.py
index 82cefce..5e9e2e7 100644
--- a/tests/TestSuite_link_status_interrupt.py
+++ b/tests/TestSuite_link_status_interrupt.py
@@ -64,7 +64,7 @@ class TestLinkStatusInterrupt(TestCase):
         # from kernel 4.8+, kernel will not support legacy intr mode.
         # detailed info:https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/commit/drivers/pci/quirks.c?id=8bcf4525c5d43306c5fd07e132bc8650e3491aec
         if self.nic in ["fortville_eagle", "fortville_spirit",
-                        "fortville_spirt_single", "fortville_25g"]:
+                        "fortville_spirt_single", "fortville_25g", "carlsville"]:
             self.basic_intr_mode = ["msix"]
         else:
             self.basic_intr_mode = ["msix", "legacy"]
-- 
2.17.1


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

* [dts] [PATCH 10/17] tests/TestSuite_nvgre: add carlsville to support nic of nvgre
  2019-08-19 11:06 [dts] [PATCH 00/17] enable carlsville qifu
                   ` (8 preceding siblings ...)
  2019-08-19 11:06 ` [dts] [PATCH 09/17] tests/TestSuite_link_status_interrupt: add carlsville to support nic of link_status_interrupt qifu
@ 2019-08-19 11:06 ` qifu
  2019-08-19 11:06 ` [dts] [PATCH 11/17] tests/TestSuite_pmdrss_hash: add carlsville to support nic of pmdrss_hash qifu
                   ` (7 subsequent siblings)
  17 siblings, 0 replies; 33+ messages in thread
From: qifu @ 2019-08-19 11:06 UTC (permalink / raw)
  To: dts; +Cc: qifu

Add carlsville to support nic of nvgre.
Signed-off-by: qifu <qi.fu@intel.com>
---
 tests/TestSuite_nvgre.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/TestSuite_nvgre.py b/tests/TestSuite_nvgre.py
index 62aac3a..5efc7de 100644
--- a/tests/TestSuite_nvgre.py
+++ b/tests/TestSuite_nvgre.py
@@ -361,7 +361,7 @@ class TestNvgre(TestCase):
         nvgre Prerequisites
         """
         # this feature only enable in FVL now
-        if self.nic in ["fortville_eagle", "fortville_spirit", "fortville_spirit_single", "fortville_25g", "fortpark_TLV", "cavium_a063", "cavium_a064"]:
+        if self.nic in ["fortville_eagle", "fortville_spirit", "fortville_spirit_single", "fortville_25g", "fortpark_TLV", "cavium_a063", "cavium_a064", "carlsville"]:
             self.compile_switch = 'CONFIG_RTE_LIBRTE_I40E_INC_VECTOR'
         elif self.nic in ["sageville", "sagepond"]:
             self.compile_switch = 'CONFIG_RTE_IXGBE_INC_VECTOR'
-- 
2.17.1


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

* [dts] [PATCH 11/17] tests/TestSuite_pmdrss_hash: add carlsville to support nic of pmdrss_hash
  2019-08-19 11:06 [dts] [PATCH 00/17] enable carlsville qifu
                   ` (9 preceding siblings ...)
  2019-08-19 11:06 ` [dts] [PATCH 10/17] tests/TestSuite_nvgre: add carlsville to support nic of nvgre qifu
@ 2019-08-19 11:06 ` qifu
  2019-08-19 11:06 ` [dts] [PATCH 12/17] tests/TestSuite_ptype_mapping: add carlsville to support nic of ptype_mapping qifu
                   ` (6 subsequent siblings)
  17 siblings, 0 replies; 33+ messages in thread
From: qifu @ 2019-08-19 11:06 UTC (permalink / raw)
  To: dts; +Cc: qifu

Add carlsville to support nic of pmdrss_hash.
Signed-off-by: qifu <qi.fu@intel.com>
---
 tests/TestSuite_pmdrss_hash.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/tests/TestSuite_pmdrss_hash.py b/tests/TestSuite_pmdrss_hash.py
index 32dc263..72c4ef2 100644
--- a/tests/TestSuite_pmdrss_hash.py
+++ b/tests/TestSuite_pmdrss_hash.py
@@ -415,12 +415,12 @@ class TestPmdrssHash(TestCase):
 
         self.verify(self.nic in ["fortville_eagle", "fortville_spirit",
                     "fortville_spirit_single", "redrockcanyou", "atwood",
-                    "boulderrapid", "fortpark_TLV", "fortville_25g", "niantic"],
+                    "boulderrapid", "fortpark_TLV", "fortville_25g", "niantic", "carlsville"],
                     "NIC Unsupported: " + str(self.nic))
         global reta_num
         global iptypes
 
-        if self.nic in ["fortville_eagle", "fortville_spirit", "fortville_spirit_single", "fortpark_TLV", "fortville_25g"]:
+        if self.nic in ["fortville_eagle", "fortville_spirit", "fortville_spirit_single", "fortpark_TLV", "fortville_25g", "carlsville"]:
             reta_num = 512
         elif self.nic in ["niantic"]:
             reta_num = 128
@@ -614,7 +614,7 @@ class TestPmdrssHash(TestCase):
         
         # setup testpmd and finish bond config
         self.verify(self.nic in ["fortville_eagle", "fortville_spirit",
-                    "fortpark_TLV", "fortville_25g"],
+                    "fortpark_TLV", "fortville_25g", "carlsville"],
                     "NIC Unsupported: " + str(self.nic))
 
         self.dut.send_expect("./%s/app/testpmd -c %s -n %d -- -i" % (self.target, self.coremask, self.dut.get_memory_channels()), "testpmd> ", 120)
-- 
2.17.1


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

* [dts] [PATCH 12/17] tests/TestSuite_ptype_mapping: add carlsville to support nic of ptype_mapping
  2019-08-19 11:06 [dts] [PATCH 00/17] enable carlsville qifu
                   ` (10 preceding siblings ...)
  2019-08-19 11:06 ` [dts] [PATCH 11/17] tests/TestSuite_pmdrss_hash: add carlsville to support nic of pmdrss_hash qifu
@ 2019-08-19 11:06 ` qifu
  2019-08-19 11:06 ` [dts] [PATCH 13/17] tests/TestSuite_scatter: add carlsville to support nic of scatter qifu
                   ` (5 subsequent siblings)
  17 siblings, 0 replies; 33+ messages in thread
From: qifu @ 2019-08-19 11:06 UTC (permalink / raw)
  To: dts; +Cc: qifu

Add carlsville to support nic of ptype_mapping.
Signed-off-by: qifu <qi.fu@intel.com>
---
 tests/TestSuite_ptype_mapping.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/TestSuite_ptype_mapping.py b/tests/TestSuite_ptype_mapping.py
index c96bff6..d7af657 100644
--- a/tests/TestSuite_ptype_mapping.py
+++ b/tests/TestSuite_ptype_mapping.py
@@ -45,7 +45,7 @@ class TestPtype_Mapping(TestCase):
         Run at the start of each test suite.
         """
         self.verify(self.nic in ['fortville_eagle', 'fortville_spirit',
-            'fortville_spirit_single', 'fortville_25g', 'fortpark_TLV'],
+            'fortville_spirit_single', 'fortville_25g', 'fortpark_TLV', 'carlsville'],
             'ptype mapping test can not support %s nic' % self.nic)
         ports = self.dut.get_ports()
         self.verify(len(ports) >= 1, "Insufficient ports for testing")  
-- 
2.17.1


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

* [dts] [PATCH 13/17] tests/TestSuite_scatter: add carlsville to support nic of scatter
  2019-08-19 11:06 [dts] [PATCH 00/17] enable carlsville qifu
                   ` (11 preceding siblings ...)
  2019-08-19 11:06 ` [dts] [PATCH 12/17] tests/TestSuite_ptype_mapping: add carlsville to support nic of ptype_mapping qifu
@ 2019-08-19 11:06 ` qifu
  2019-08-19 11:06 ` [dts] [PATCH 14/17] tests/TestSuite_uni_pkt: add carlsville to support nic of uni_pkt qifu
                   ` (4 subsequent siblings)
  17 siblings, 0 replies; 33+ messages in thread
From: qifu @ 2019-08-19 11:06 UTC (permalink / raw)
  To: dts; +Cc: qifu

Add carlsville to support nic of scatter.
Signed-off-by: qifu <qi.fu@intel.com>
---
 tests/TestSuite_scatter.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/TestSuite_scatter.py b/tests/TestSuite_scatter.py
index 8977e1b..cc441df 100644
--- a/tests/TestSuite_scatter.py
+++ b/tests/TestSuite_scatter.py
@@ -66,7 +66,7 @@ class TestScatter(TestCase):
         if self.nic in ["magnolia_park", "niantic", "sageville", "fortpark", "fortville_eagle",
                         "fortville_spirit", "fortville_spirit_single", "fortville_25g",
                         "redrockcanyou", "atwood", "boulderrapid",
-                        "ironpond", "twinpond", "springfountain", "fortpark_TLV", "sagepond"]:
+                        "ironpond", "twinpond", "springfountain", "fortpark_TLV", "sagepond", "carlsville"]:
             self.mbsize = 2048
         else:
             self.mbsize = 1024
-- 
2.17.1


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

* [dts] [PATCH 14/17] tests/TestSuite_uni_pkt: add carlsville to support nic of uni_pkt
  2019-08-19 11:06 [dts] [PATCH 00/17] enable carlsville qifu
                   ` (12 preceding siblings ...)
  2019-08-19 11:06 ` [dts] [PATCH 13/17] tests/TestSuite_scatter: add carlsville to support nic of scatter qifu
@ 2019-08-19 11:06 ` qifu
  2019-08-19 11:06 ` [dts] [PATCH 15/17] tests/TestSuite_vlan_ethertype_config: add carlsville to support nic of vlan_ethertype_config qifu
                   ` (3 subsequent siblings)
  17 siblings, 0 replies; 33+ messages in thread
From: qifu @ 2019-08-19 11:06 UTC (permalink / raw)
  To: dts; +Cc: qifu

Add carlsville to support nic of uni_pkt.
Signed-off-by: qifu <qi.fu@intel.com>
---
 tests/TestSuite_uni_pkt.py | 24 ++++++++++++------------
 1 file changed, 12 insertions(+), 12 deletions(-)

diff --git a/tests/TestSuite_uni_pkt.py b/tests/TestSuite_uni_pkt.py
index 2b60320..e70bc0d 100644
--- a/tests/TestSuite_uni_pkt.py
+++ b/tests/TestSuite_uni_pkt.py
@@ -93,7 +93,7 @@ class TestUniPacket(TestCase):
         """
         Check whether L2 packet can be detected"
         """
-        self.verify(("fortville" in self.nic or "fortpark_TLV" in self.nic),
+        self.verify(("fortville" in self.nic or "fortpark_TLV" in self.nic or "carlsville" in self.nic),
                     "L2 packet detect only support by Fortville")
         self.L2_types = {
             "TIMESYNC": "L2_ETHER_TIMESYNC",
@@ -115,7 +115,7 @@ class TestUniPacket(TestCase):
         """
         checked that whether L3 and L4 packet can be normally detected.
         """
-        if "fortville" in self.nic or "fortpark_TLV" in self.nic:
+        if "fortville" in self.nic or "fortpark_TLV" in self.nic or "carlsville" in self.nic:
             outerL4Type = "L4_NONFRAG"
             ipv4_default_packet_type = ["L2_ETHER", "L3_IPV4_EXT_UNKNOWN"]
         elif "niantic" in self.nic.lower() or "powerville" in self.nic.lower() or "cavium" in self.nic.lower() or "twinpond" in self.nic.lower() or "twinville" in self.nic.lower() or "sageville" in self.nic.lower() or "sagepond" in self.nic.lower() or "springville" in self.nic.lower():
@@ -133,7 +133,7 @@ class TestUniPacket(TestCase):
         }
 
         # delete the unsupported packet based on nic type
-        if "fortville" in self.nic or "fortpark_TLV" in self.nic:
+        if "fortville" in self.nic or "fortpark_TLV" in self.nic or "carlsville" in self.nic:
             pktType.pop("MAC_IPihl_PKT")
             pktType.pop("MAC_IPihl_SCTP_PKT")
         elif "niantic" in self.nic.lower() or "powerville" in self.nic.lower() or "cavium" in self.nic.lower() or "twinpond" in self.nic.lower() or "twinville" in self.nic.lower() or "sageville" in self.nic.lower() or "sagepond" in self.nic.lower() or "springville" in self.nic.lower():
@@ -146,7 +146,7 @@ class TestUniPacket(TestCase):
         """
         checked that whether IPv6 and L4 packet can be normally detected.
         """
-        if "fortville" in self.nic or "fortpark_TLV" in self.nic:
+        if "fortville" in self.nic or "fortpark_TLV" in self.nic or "carlsville" in self.nic:
             outerL4Type = "L4_NONFRAG"
             ipv6_default_packet_type = ["L2_ETHER", "L3_IPV6_EXT_UNKNOWN"]
         elif "niantic" in self.nic.lower() or "powerville" in self.nic.lower() or "cavium" in self.nic.lower() or "twinpond" in self.nic.lower() or "twinville" in self.nic.lower() or "sageville" in self.nic.lower() or "sagepond" in self.nic.lower() or "springville" in self.nic.lower():
@@ -162,7 +162,7 @@ class TestUniPacket(TestCase):
         }
 
         # delete the unsupported packet based on nic type
-        if "fortville" in self.nic or "fortpark_TLV" in self.nic:
+        if "fortville" in self.nic or "fortpark_TLV" in self.nic or "carlsville" in self.nic:
             pktType.pop("MAC_IPv6FRAG_PKT_N")
         elif "niantic" in self.nic.lower() or "powerville" in self.nic.lower() or "cavium" in self.nic.lower() or "twinpond" in self.nic.lower() or "twinville" in self.nic.lower() or "sageville" in self.nic.lower() or "sagepond" in self.nic.lower() or "springville" in self.nic.lower():
             pktType.pop("MAC_IPv6FRAG_PKT_F")
@@ -174,7 +174,7 @@ class TestUniPacket(TestCase):
         checked that whether IP in IPv4 tunnel packet can be normally
         detected by Fortville.
         """
-        self.verify(("fortville" in self.nic or "fortpark_TLV" in self.nic),
+        self.verify(("fortville" in self.nic or "fortpark_TLV" in self.nic or "carlsville" in self.nic),
                     "IP in IPv4 tunnel packet type detect only support by Fortville")
         ipv4_in_ipv4_packet_type = ["L2_ETHER", "L3_IPV4_EXT_UNKNOWN", "TUNNEL_IP", "INNER_L3_IPV4_EXT_UNKNOWN"]
         ipv6_in_ipv4_packet_type = ["L2_ETHER", "L3_IPV4_EXT_UNKNOWN", "TUNNEL_IP", "INNER_L3_IPV6_EXT_UNKNOWN"]
@@ -202,7 +202,7 @@ class TestUniPacket(TestCase):
         detected.
         """
         self.verify(self.nic in ["niantic", "fortville_eagle", "fortville_spirit","powerville", "fortpark_TLV",
-            "fortville_25g", "fortville_spirit_single"], "not support %s" % self.nic)
+            "fortville_25g", "fortville_spirit_single", "carlsville"], "not support %s" % self.nic)
         pktType = {
             "MAC_IP_IPv6_PKT":            ["L2_ETHER", "L3_IPV4", "TUNNEL_IP",  "INNER_L3_IPV6"],
             "MAC_IP_IPv6EXT2_PKT":        ["L2_ETHER", "L3_IPV4", "TUNNEL_IP",  "INNER_L3_IPV6_EXT"],
@@ -218,7 +218,7 @@ class TestUniPacket(TestCase):
         checked that whether IP in IPv6 tunnel packet can be normally
         detected by Fortville.
         """
-        self.verify(("fortville" in self.nic or "fortpark_TLV" in self.nic),
+        self.verify(("fortville" in self.nic or "fortpark_TLV" in self.nic or "carlsville" in self.nic),
                     "IP in IPv6 tunnel packet type detect only support by Fortville")
         ipv4_in_ipv6_packet_type = ["L2_ETHER", "L3_IPV4_EXT_UNKNOWN", "TUNNEL_IP", "INNER_L3_IPV4_EXT_UNKNOWN"]
         ipv6_in_ipv6_packet_type = ["L2_ETHER", "L3_IPV4_EXT_UNKNOWN", "TUNNEL_IP", "INNER_L3_IPV6_EXT_UNKNOWN"]
@@ -244,7 +244,7 @@ class TestUniPacket(TestCase):
         checked that whether NVGRE tunnel packet can be normally detected
         by Fortville.
         """
-        self.verify(("fortville" in self.nic or "fortpark_TLV" in self.nic),
+        self.verify(("fortville" in self.nic or "fortpark_TLV" in self.nic or "carlsville" in self.nic),
                     "NVGRE tunnel packet type detect only support by Fortville")
         nvgre_base_packet_type = ["L2_ETHER", "L3_IPV4_EXT_UNKNOWN", "TUNNEL_GRENAT"]
         # INNER IPV4 not with vlan
@@ -281,7 +281,7 @@ class TestUniPacket(TestCase):
         checked that whether NVGRE in IPv6 tunnel packet can be normally
         detected by Fortville.
         """
-        self.verify(("fortville" in self.nic or "fortpark_TLV" in self.nic),
+        self.verify(("fortville" in self.nic or "fortpark_TLV" in self.nic or "carlsville" in self.nic),
                     "NVGRE in IPv6 detect only support by Fortville")
         nvgre_base_packet_type = ["L2_ETHER", "L3_IPV6_EXT_UNKNOWN", "TUNNEL_GRENAT"]
         # INNER IPV4 not with vlan
@@ -352,7 +352,7 @@ class TestUniPacket(TestCase):
         """
         checked that whether GRE tunnel packet can be normally detected by Fortville.
         """
-        self.verify(("fortville" in self.nic or "fortpark_TLV" in self.nic),
+        self.verify(("fortville" in self.nic or "fortpark_TLV" in self.nic or "carlsville" in self.nic),
                     "GRE tunnel packet type detect only support by Fortville")
         base_packet_type = [" L2_ETHER", " L3_IPV4_EXT_UNKNOWN", "TUNNEL_GRENAT"]
         pktType = {
@@ -371,7 +371,7 @@ class TestUniPacket(TestCase):
         checked that whether Vxlan tunnel packet can be normally detected by
         Fortville.
         """
-        self.verify(("fortville" in self.nic or "fortpark_TLV" in self.nic),
+        self.verify(("fortville" in self.nic or "fortpark_TLV" in self.nic or "carlsville" in self.nic),
                     "Vxlan tunnel packet type detect only support by Fortville")
 
         self.dut.send_expect("rx_vxlan_port add 4789 0", "testpmd>", 10)
-- 
2.17.1


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

* [dts] [PATCH 15/17] tests/TestSuite_vlan_ethertype_config: add carlsville to support nic of vlan_ethertype_config
  2019-08-19 11:06 [dts] [PATCH 00/17] enable carlsville qifu
                   ` (13 preceding siblings ...)
  2019-08-19 11:06 ` [dts] [PATCH 14/17] tests/TestSuite_uni_pkt: add carlsville to support nic of uni_pkt qifu
@ 2019-08-19 11:06 ` qifu
  2019-08-19 11:06 ` [dts] [PATCH 16/17] tests/TestSuite_vlan: add carlsville to support nic of vlan qifu
                   ` (2 subsequent siblings)
  17 siblings, 0 replies; 33+ messages in thread
From: qifu @ 2019-08-19 11:06 UTC (permalink / raw)
  To: dts; +Cc: qifu

Add carlsville to support nic of vlan_ethertype_config.
Signed-off-by: qifu <qi.fu@intel.com>
---
 tests/TestSuite_vlan_ethertype_config.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/TestSuite_vlan_ethertype_config.py b/tests/TestSuite_vlan_ethertype_config.py
index 1cb1083..610d623 100644
--- a/tests/TestSuite_vlan_ethertype_config.py
+++ b/tests/TestSuite_vlan_ethertype_config.py
@@ -338,7 +338,7 @@ class TestVlanEthertypeConfig(TestCase):
         It need be tested in nonvector mode.
         """
         self.verify(
-            self.nic in ["fortville_eagle", "fortville_spirit", "fortville_spirit_single"], "%s NIC not support QinQ " % self.nic)
+            self.nic in ["fortville_eagle", "fortville_spirit", "fortville_spirit_single", "carlsville"], "%s NIC not support QinQ " % self.nic)
         rx_mode = load_global_setting(DPDK_RXMODE_SETTING)
         self.verify(rx_mode == 'novector',
                     "The case must by tested in novector mode")
-- 
2.17.1


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

* [dts] [PATCH 16/17] tests/TestSuite_vlan: add carlsville to support nic of vlan
  2019-08-19 11:06 [dts] [PATCH 00/17] enable carlsville qifu
                   ` (14 preceding siblings ...)
  2019-08-19 11:06 ` [dts] [PATCH 15/17] tests/TestSuite_vlan_ethertype_config: add carlsville to support nic of vlan_ethertype_config qifu
@ 2019-08-19 11:06 ` qifu
  2019-08-19 11:06 ` [dts] [PATCH 17/17] tests/TestSuite_vxlan: add carlsville to support nic of vxlan qifu
  2019-08-28 10:36 ` [dts] [PATCH 00/17] enable carlsville Tu, Lijuan
  17 siblings, 0 replies; 33+ messages in thread
From: qifu @ 2019-08-19 11:06 UTC (permalink / raw)
  To: dts; +Cc: qifu

Add carlsville to support nic of vlan.
Signed-off-by: qifu <qi.fu@intel.com>
---
 tests/TestSuite_vlan.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/TestSuite_vlan.py b/tests/TestSuite_vlan.py
index 86e7eb5..f09fe2d 100644
--- a/tests/TestSuite_vlan.py
+++ b/tests/TestSuite_vlan.py
@@ -75,7 +75,7 @@ class TestVlan(TestCase):
         self.dut.send_expect("set verbose 1", "testpmd> ")
         out = self.dut.send_expect("set fwd mac", "testpmd> ")
 
-        if self.nic in ["fortville_eagle", "fortville_spirit", "fortville_spirit_single", "fortpark_TLV", "fortville_25g", "hi1822", "fastlinq_ql41000", "fastlinq_ql45000"]:
+        if self.nic in ["fortville_eagle", "fortville_spirit", "fortville_spirit_single", "fortpark_TLV", "fortville_25g", "hi1822", "fastlinq_ql41000", "fastlinq_ql45000", "carlsville"]:
             self.dut.send_expect("vlan set filter on %s" % dutRxPortId, "testpmd> ")
             self.dut.send_expect("set promisc all off",  "testpmd> ")
 
-- 
2.17.1


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

* [dts] [PATCH 17/17] tests/TestSuite_vxlan: add carlsville to support nic of vxlan
  2019-08-19 11:06 [dts] [PATCH 00/17] enable carlsville qifu
                   ` (15 preceding siblings ...)
  2019-08-19 11:06 ` [dts] [PATCH 16/17] tests/TestSuite_vlan: add carlsville to support nic of vlan qifu
@ 2019-08-19 11:06 ` qifu
  2019-08-28 10:36 ` [dts] [PATCH 00/17] enable carlsville Tu, Lijuan
  17 siblings, 0 replies; 33+ messages in thread
From: qifu @ 2019-08-19 11:06 UTC (permalink / raw)
  To: dts; +Cc: qifu

Add carlsville to support nic of vxlan.
Signed-off-by: qifu <qi.fu@intel.com>
---
 tests/TestSuite_vxlan.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/TestSuite_vxlan.py b/tests/TestSuite_vxlan.py
index 4183169..ecc3f3a 100644
--- a/tests/TestSuite_vxlan.py
+++ b/tests/TestSuite_vxlan.py
@@ -262,7 +262,7 @@ class TestVxlan(TestCase, IxiaPacketGenerator):
         vxlan Prerequisites
         """
         # this feature only enable in FVL now
-        if self.nic in ["fortville_eagle", "fortville_spirit", "fortville_spirit_single", "fortville_25g", "fortpark_TLV"]:
+        if self.nic in ["fortville_eagle", "fortville_spirit", "fortville_spirit_single", "fortville_25g", "fortpark_TLV", "carlsville"]:
             self.compile_switch = 'CONFIG_RTE_LIBRTE_I40E_INC_VECTOR'
         elif self.nic in ["sageville", "sagepond"]:
             self.compile_switch = 'CONFIG_RTE_IXGBE_INC_VECTOR'
-- 
2.17.1


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

* [dts] [PATCH V2 08/17]tests/TestSuite_ipgre: add carlsville to support nic of ipgre
  2019-08-19 11:06 ` [dts] [PATCH 08/17] tests/TestSuite_ipgre: add carlsville to support nic of ipgre qifu
  2019-08-19  5:05   ` Mo, YufengX
@ 2019-08-19 18:09   ` " qifu
  2019-08-20 11:02     ` [dts] [PATCH V3 " qifu
  1 sibling, 1 reply; 33+ messages in thread
From: qifu @ 2019-08-19 18:09 UTC (permalink / raw)
  To: dts; +Cc: qifu

Add carlsville to support nic of ipgre.
Signed-off-by: qifu <qi.fu@intel.com>
---
 tests/TestSuite_ipgre.py | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/tests/TestSuite_ipgre.py b/tests/TestSuite_ipgre.py
index 6f465fa..2a66928 100644
--- a/tests/TestSuite_ipgre.py
+++ b/tests/TestSuite_ipgre.py
@@ -63,8 +63,9 @@ class TestIpgre(TestCase):
         """
         self.printFlag = self._enable_debug
         ports = self.dut.get_ports()
-        self.verify(self.nic.startswith("fortville"),
-                    "GRE tunnel packet type only support by Fortville")
+        if self.nic != "carlsville":
+            self.verify(self.nic.startswith("fortville"),
+                        "GRE tunnel packet type only support by Fortville and carlsville")
         self.verify(len(ports) >= 1, "Insufficient ports for testing")
         valports = [_ for _ in ports if self.tester.get_local_port(_) != -1]
         # start testpmd
-- 
2.17.1


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

* [dts] [PATCH V3 08/17]tests/TestSuite_ipgre: add carlsville to support nic of ipgre
  2019-08-19 18:09   ` [dts] [PATCH V2 08/17]tests/TestSuite_ipgre: " qifu
@ 2019-08-20 11:02     ` " qifu
  2019-08-28 10:39       ` Tu, Lijuan
  0 siblings, 1 reply; 33+ messages in thread
From: qifu @ 2019-08-20 11:02 UTC (permalink / raw)
  To: dts; +Cc: qifu

Add carlsville to support nic of ipgre.
Signed-off-by: qifu <qi.fu@intel.com>
---
 tests/TestSuite_ipgre.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/TestSuite_ipgre.py b/tests/TestSuite_ipgre.py
index 6f465fa..7fbddf1 100644
--- a/tests/TestSuite_ipgre.py
+++ b/tests/TestSuite_ipgre.py
@@ -63,8 +63,8 @@ class TestIpgre(TestCase):
         """
         self.printFlag = self._enable_debug
         ports = self.dut.get_ports()
-        self.verify(self.nic.startswith("fortville"),
-                    "GRE tunnel packet type only support by Fortville")
+        self.verify(self.nic in ["fortville_eagle", "fortville_spirit", "fortville_spirit_single", "fortville_25g", "carlsville"],
+                    "GRE tunnel packet type only support by fortville and carlsville")
         self.verify(len(ports) >= 1, "Insufficient ports for testing")
         valports = [_ for _ in ports if self.tester.get_local_port(_) != -1]
         # start testpmd
-- 
2.17.1


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

* Re: [dts] [PATCH 00/17] enable carlsville
  2019-08-19 11:06 [dts] [PATCH 00/17] enable carlsville qifu
                   ` (16 preceding siblings ...)
  2019-08-19 11:06 ` [dts] [PATCH 17/17] tests/TestSuite_vxlan: add carlsville to support nic of vxlan qifu
@ 2019-08-28 10:36 ` Tu, Lijuan
  17 siblings, 0 replies; 33+ messages in thread
From: Tu, Lijuan @ 2019-08-28 10:36 UTC (permalink / raw)
  To: Fu, Qi, dts; +Cc: Fu, Qi

Applied the series except 01, 02, 08, 16, because of code base changed, please rework them and submit V2, thanks 

> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of qifu
> Sent: Monday, August 19, 2019 7:06 PM
> To: dts@dpdk.org
> Cc: Fu, Qi <qi.fu@intel.com>
> Subject: [dts] [PATCH 00/17] enable carlsville
> 
> Add carlsville to settings.py, checklist, supportlist and other testsuits to
> enable it in dpdk.
> 
> qifu (17):
>   conf/test_case_checklist: add carlsville to checklist
>   framework/settings: add carlsville to settings
>   conf/test_case_supportlist: add carlsville to supportlist
>   tests/TestSuite_dual_vlan: add carlsville to support nic of dual_vlan
>   tests/TestSuite_fdir: add carlsville to support nic of fdir
>   tests/TestSuite_fortville_rss_granularity_config: add carlsville to
>     support nic of fortville_rss_granularity_config
>   tests/TestSuite_generic_filter: add carlsville to support nic of
>     generic_filter
>   tests/TestSuite_ipgre: add carlsville to support nic of ipgre
>   tests/TestSuite_link_status_interrupt: add carlsville to support nic
>     of link_status_interrupt
>   tests/TestSuite_nvgre: add carlsville to support nic of nvgre
>   tests/TestSuite_pmdrss_hash: add carlsville to support nic of
>     pmdrss_hash
>   tests/TestSuite_ptype_mapping: add carlsville to support nic of
>     ptype_mapping
>   tests/TestSuite_scatter: add carlsville to support nic of scatter
>   tests/TestSuite_uni_pkt: add carlsville to support nic of uni_pkt
>   tests/TestSuite_vlan_ethertype_config: add carlsville to support nic
>     of vlan_ethertype_config
>   tests/TestSuite_vlan: add carlsville to support nic of vlan
>   tests/TestSuite_vxlan: add carlsville to support nic of vxlan
> 
>  conf/test_case_checklist.json                 | 48 ++++++++++++-------
>  conf/test_case_supportlist.json               | 39 ++++++++++-----
>  framework/settings.py                         |  2 +
>  tests/TestSuite_dual_vlan.py                  | 20 ++++----
>  tests/TestSuite_fdir.py                       | 32 ++++++-------
>  ...tSuite_fortville_rss_granularity_config.py |  2 +-
>  tests/TestSuite_generic_filter.py             |  6 +--
>  tests/TestSuite_ipgre.py                      |  2 +-
>  tests/TestSuite_link_status_interrupt.py      |  2 +-
>  tests/TestSuite_nvgre.py                      |  2 +-
>  tests/TestSuite_pmdrss_hash.py                |  6 +--
>  tests/TestSuite_ptype_mapping.py              |  2 +-
>  tests/TestSuite_scatter.py                    |  2 +-
>  tests/TestSuite_uni_pkt.py                    | 24 +++++-----
>  tests/TestSuite_vlan.py                       |  2 +-
>  tests/TestSuite_vlan_ethertype_config.py      |  2 +-
>  tests/TestSuite_vxlan.py                      |  2 +-
>  17 files changed, 113 insertions(+), 82 deletions(-)
> 
> --
> 2.17.1


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

* Re: [dts] [PATCH V3 08/17]tests/TestSuite_ipgre: add carlsville to support nic of ipgre
  2019-08-20 11:02     ` [dts] [PATCH V3 " qifu
@ 2019-08-28 10:39       ` Tu, Lijuan
  0 siblings, 0 replies; 33+ messages in thread
From: Tu, Lijuan @ 2019-08-28 10:39 UTC (permalink / raw)
  To: Fu, Qi, dts; +Cc: Fu, Qi

Applied, thanks

> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of qifu
> Sent: Tuesday, August 20, 2019 7:02 PM
> To: dts@dpdk.org
> Cc: Fu, Qi <qi.fu@intel.com>
> Subject: [dts] [PATCH V3 08/17]tests/TestSuite_ipgre: add carlsville to
> support nic of ipgre
> 
> Add carlsville to support nic of ipgre.
> Signed-off-by: qifu <qi.fu@intel.com>
> ---
>  tests/TestSuite_ipgre.py | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/tests/TestSuite_ipgre.py b/tests/TestSuite_ipgre.py index
> 6f465fa..7fbddf1 100644
> --- a/tests/TestSuite_ipgre.py
> +++ b/tests/TestSuite_ipgre.py
> @@ -63,8 +63,8 @@ class TestIpgre(TestCase):
>          """
>          self.printFlag = self._enable_debug
>          ports = self.dut.get_ports()
> -        self.verify(self.nic.startswith("fortville"),
> -                    "GRE tunnel packet type only support by Fortville")
> +        self.verify(self.nic in ["fortville_eagle", "fortville_spirit",
> "fortville_spirit_single", "fortville_25g", "carlsville"],
> +                    "GRE tunnel packet type only support by fortville
> + and carlsville")
>          self.verify(len(ports) >= 1, "Insufficient ports for testing")
>          valports = [_ for _ in ports if self.tester.get_local_port(_) != -1]
>          # start testpmd
> --
> 2.17.1


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

* [dts] [PATCH V2 01/17]conf/test_case_checklist: add carlsville to checklist
  2019-08-19 11:06 ` [dts] [PATCH 01/17] conf/test_case_checklist: add carlsville to checklist qifu
@ 2019-08-29 11:44   ` " qifu
  2019-08-30  2:55     ` Tu, Lijuan
  0 siblings, 1 reply; 33+ messages in thread
From: qifu @ 2019-08-29 11:44 UTC (permalink / raw)
  To: dts; +Cc: qifu

Add carlsville to some cases which it can not support in checklist.
Signed-off-by: qifu <qi.fu@intel.com>
---
 conf/test_case_checklist.json | 48 +++++++++++++++++++++++------------
 1 file changed, 32 insertions(+), 16 deletions(-)

diff --git a/conf/test_case_checklist.json b/conf/test_case_checklist.json
index 2b4905e..ca9c65f 100644
--- a/conf/test_case_checklist.json
+++ b/conf/test_case_checklist.json
@@ -18,7 +18,8 @@
                 "kawela_4",
                 "cavium_a034",
                 "cavium_a011",
-                "fortpark_TLV"
+                "fortpark_TLV",
+		"carlsville"
             ],
             "Target": [
                 "ALL"
@@ -65,7 +66,8 @@
                 "twinpond",
                 "cavium_a034",
                 "cavium_a011",
-                "fortpark_TLV"
+                "fortpark_TLV",
+		"carlsville"
             ],
             "Target": [
                 "ALL"
@@ -92,7 +94,8 @@
                 "twinpond",
                 "cavium_a034",
                 "cavium_a011",
-                "fortpark_TLV"
+                "fortpark_TLV",
+		"carlsville"
             ],
             "Target": [
                 "ALL"
@@ -112,7 +115,8 @@
                 "fortville_spirit_single",
                 "fortville_25g",
                 "springville",
-                "fortpark_TLV"
+                "fortpark_TLV",
+		"carlsville"
             ],
             "Target": [
                 "ALL"
@@ -140,7 +144,8 @@
                 "twinpond",
                 "cavium_a034",
                 "cavium_a011",
-                "fortpark_TLV"
+                "fortpark_TLV",
+		"carlsville"
             ],
             "Target": [
                 "ALL"
@@ -166,7 +171,8 @@
                 "twinpond",
                 "cavium_a034",
                 "cavium_a011",
-                "fortpark_TLV"
+                "fortpark_TLV",
+		"carlsville"
             ],
             "Target": [
                 "ALL"
@@ -191,7 +197,8 @@
                 "twinpond",
                 "cavium_a034",
                 "cavium_a011",
-                "fortpark_TLV"
+                "fortpark_TLV",
+		"carlsville"
             ],
             "Target": [
                 "ALL"
@@ -216,7 +223,8 @@
                 "twinpond",
                 "cavium_a034",
                 "cavium_a011",
-                "fortpark_TLV"
+                "fortpark_TLV",
+		"carlsville"
             ],
             "Target": [
                 "ALL"
@@ -243,7 +251,8 @@
                 "twinpond",
                 "cavium_a034",
                 "cavium_a011",
-                "fortpark_TLV"
+                "fortpark_TLV",
+		"carlsville"
             ],
             "Target": [
                 "ALL"
@@ -267,7 +276,8 @@
                 "fortville_25g",
                 "fortpark_TLV",
                 "cavium_a063",
-                "cavium_a064"
+                "cavium_a064",
+		"carlsville"
             ],
             "Target": [
                 "ALL"
@@ -288,7 +298,8 @@
                 "fortville_25g",
                 "fortpark_TLV",
                 "cavium_a063",
-                "cavium_a064"
+                "cavium_a064",
+		"carlsville"
             ],
             "Target": [
                 "ALL"
@@ -402,7 +413,8 @@
                 "fortville_eagle",
                 "fortville_spirit",
                 "fortville_spirit_single",
-                "fortville_25g"
+                "fortville_25g",
+		"carlsville"
             ],
             "Target": [
                 "ALL"
@@ -437,7 +449,8 @@
                 "fortville_eagle",
                 "fortville_spirit",
                 "fortville_spirit_single",
-                "fortville_25g"
+                "fortville_25g",
+		"carlsville"
             ],
             "Target": [
                 "ALL"
@@ -498,7 +511,8 @@
                 "sagepond",
                 "sageville",
                 "cavium_a063",
-                "cavium_a064"
+                "cavium_a064",
+		"carlsville"
             ],
             "Target": [
                 "ALL"
@@ -519,7 +533,8 @@
                 "fortville_25g",
                 "fortpark_TLV",
                 "sagepond",
-                "sageville"
+                "sageville",
+		"carlsville"
             ],
             "Target": [
                 "ALL"
@@ -2105,7 +2120,8 @@
                 "cavium_a063",
                 "fortville_25g",
                 "fortpark_TLV",
-                "cavium_a064"
+                "cavium_a064",
+		"carlsville"
             ],
             "Target": [
                 "ALL"
-- 
2.17.1


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

* [dts] [PATCH V2 02/17]framework/settings: add carlsville to settings
  2019-08-19 11:06 ` [dts] [PATCH 02/17] framework/settings: add carlsville to settings qifu
@ 2019-08-29 11:46   ` " qifu
  2019-08-30  2:53     ` Tu, Lijuan
  0 siblings, 1 reply; 33+ messages in thread
From: qifu @ 2019-08-29 11:46 UTC (permalink / raw)
  To: dts; +Cc: qifu

Add carlsville to NICS and DRIVERS in settings.py.
Signed-off-by: qifu <qi.fu@intel.com>
---
 framework/settings.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/framework/settings.py b/framework/settings.py
index 4f0368b..fbff7db 100644
--- a/framework/settings.py
+++ b/framework/settings.py
@@ -107,6 +107,7 @@ NICS = {
     'fastlinq_ql45000_vf': '1077:1664',
     'fastlinq_ql41000': '1077:8070',
     'fastlinq_ql41000_vf': '1077:8090',
+    'carlsville': '8086:15ff',
 }
 
 DRIVERS = {
@@ -168,6 +169,7 @@ DRIVERS = {
     'fastlinq_ql41000': 'qede',
     'fastlinq_ql45000_vf': 'qede',
     'fastlinq_ql41000_vf': 'qede',
+    'carlsville': 'i40e',
 }
 
 """
-- 
2.17.1


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

* Re: [dts] [PATCH V2 02/17]framework/settings: add carlsville to settings
  2019-08-29 11:46   ` [dts] [PATCH V2 02/17]framework/settings: " qifu
@ 2019-08-30  2:53     ` Tu, Lijuan
  0 siblings, 0 replies; 33+ messages in thread
From: Tu, Lijuan @ 2019-08-30  2:53 UTC (permalink / raw)
  To: Fu, Qi, dts; +Cc: Fu, Qi

Applied, thanks

> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of qifu
> Sent: Thursday, August 29, 2019 7:47 PM
> To: dts@dpdk.org
> Cc: Fu, Qi <qi.fu@intel.com>
> Subject: [dts] [PATCH V2 02/17]framework/settings: add carlsville to settings
> 
> Add carlsville to NICS and DRIVERS in settings.py.
> Signed-off-by: qifu <qi.fu@intel.com>
> ---
>  framework/settings.py | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/framework/settings.py b/framework/settings.py index
> 4f0368b..fbff7db 100644
> --- a/framework/settings.py
> +++ b/framework/settings.py
> @@ -107,6 +107,7 @@ NICS = {
>      'fastlinq_ql45000_vf': '1077:1664',
>      'fastlinq_ql41000': '1077:8070',
>      'fastlinq_ql41000_vf': '1077:8090',
> +    'carlsville': '8086:15ff',
>  }
> 
>  DRIVERS = {
> @@ -168,6 +169,7 @@ DRIVERS = {
>      'fastlinq_ql41000': 'qede',
>      'fastlinq_ql45000_vf': 'qede',
>      'fastlinq_ql41000_vf': 'qede',
> +    'carlsville': 'i40e',
>  }
> 
>  """
> --
> 2.17.1


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

* Re: [dts] [PATCH V2 01/17]conf/test_case_checklist: add carlsville to checklist
  2019-08-29 11:44   ` [dts] [PATCH V2 01/17]conf/test_case_checklist: " qifu
@ 2019-08-30  2:55     ` Tu, Lijuan
  0 siblings, 0 replies; 33+ messages in thread
From: Tu, Lijuan @ 2019-08-30  2:55 UTC (permalink / raw)
  To: Fu, Qi, dts; +Cc: Fu, Qi

Applied, thanks

> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of qifu
> Sent: Thursday, August 29, 2019 7:44 PM
> To: dts@dpdk.org
> Cc: Fu, Qi <qi.fu@intel.com>
> Subject: [dts] [PATCH V2 01/17]conf/test_case_checklist: add carlsville to
> checklist
> 
> Add carlsville to some cases which it can not support in checklist.
> Signed-off-by: qifu <qi.fu@intel.com>
> ---
>  conf/test_case_checklist.json | 48 +++++++++++++++++++++++------------
>  1 file changed, 32 insertions(+), 16 deletions(-)
> 
> diff --git a/conf/test_case_checklist.json b/conf/test_case_checklist.json
> index 2b4905e..ca9c65f 100644
> --- a/conf/test_case_checklist.json
> +++ b/conf/test_case_checklist.json
> @@ -18,7 +18,8 @@
>                  "kawela_4",
>                  "cavium_a034",
>                  "cavium_a011",
> -                "fortpark_TLV"
> +                "fortpark_TLV",
> +		"carlsville"
>              ],
>              "Target": [
>                  "ALL"
> @@ -65,7 +66,8 @@
>                  "twinpond",
>                  "cavium_a034",
>                  "cavium_a011",
> -                "fortpark_TLV"
> +                "fortpark_TLV",
> +		"carlsville"
>              ],
>              "Target": [
>                  "ALL"
> @@ -92,7 +94,8 @@
>                  "twinpond",
>                  "cavium_a034",
>                  "cavium_a011",
> -                "fortpark_TLV"
> +                "fortpark_TLV",
> +		"carlsville"
>              ],
>              "Target": [
>                  "ALL"
> @@ -112,7 +115,8 @@
>                  "fortville_spirit_single",
>                  "fortville_25g",
>                  "springville",
> -                "fortpark_TLV"
> +                "fortpark_TLV",
> +		"carlsville"
>              ],
>              "Target": [
>                  "ALL"
> @@ -140,7 +144,8 @@
>                  "twinpond",
>                  "cavium_a034",
>                  "cavium_a011",
> -                "fortpark_TLV"
> +                "fortpark_TLV",
> +		"carlsville"
>              ],
>              "Target": [
>                  "ALL"
> @@ -166,7 +171,8 @@
>                  "twinpond",
>                  "cavium_a034",
>                  "cavium_a011",
> -                "fortpark_TLV"
> +                "fortpark_TLV",
> +		"carlsville"
>              ],
>              "Target": [
>                  "ALL"
> @@ -191,7 +197,8 @@
>                  "twinpond",
>                  "cavium_a034",
>                  "cavium_a011",
> -                "fortpark_TLV"
> +                "fortpark_TLV",
> +		"carlsville"
>              ],
>              "Target": [
>                  "ALL"
> @@ -216,7 +223,8 @@
>                  "twinpond",
>                  "cavium_a034",
>                  "cavium_a011",
> -                "fortpark_TLV"
> +                "fortpark_TLV",
> +		"carlsville"
>              ],
>              "Target": [
>                  "ALL"
> @@ -243,7 +251,8 @@
>                  "twinpond",
>                  "cavium_a034",
>                  "cavium_a011",
> -                "fortpark_TLV"
> +                "fortpark_TLV",
> +		"carlsville"
>              ],
>              "Target": [
>                  "ALL"
> @@ -267,7 +276,8 @@
>                  "fortville_25g",
>                  "fortpark_TLV",
>                  "cavium_a063",
> -                "cavium_a064"
> +                "cavium_a064",
> +		"carlsville"
>              ],
>              "Target": [
>                  "ALL"
> @@ -288,7 +298,8 @@
>                  "fortville_25g",
>                  "fortpark_TLV",
>                  "cavium_a063",
> -                "cavium_a064"
> +                "cavium_a064",
> +		"carlsville"
>              ],
>              "Target": [
>                  "ALL"
> @@ -402,7 +413,8 @@
>                  "fortville_eagle",
>                  "fortville_spirit",
>                  "fortville_spirit_single",
> -                "fortville_25g"
> +                "fortville_25g",
> +		"carlsville"
>              ],
>              "Target": [
>                  "ALL"
> @@ -437,7 +449,8 @@
>                  "fortville_eagle",
>                  "fortville_spirit",
>                  "fortville_spirit_single",
> -                "fortville_25g"
> +                "fortville_25g",
> +		"carlsville"
>              ],
>              "Target": [
>                  "ALL"
> @@ -498,7 +511,8 @@
>                  "sagepond",
>                  "sageville",
>                  "cavium_a063",
> -                "cavium_a064"
> +                "cavium_a064",
> +		"carlsville"
>              ],
>              "Target": [
>                  "ALL"
> @@ -519,7 +533,8 @@
>                  "fortville_25g",
>                  "fortpark_TLV",
>                  "sagepond",
> -                "sageville"
> +                "sageville",
> +		"carlsville"
>              ],
>              "Target": [
>                  "ALL"
> @@ -2105,7 +2120,8 @@
>                  "cavium_a063",
>                  "fortville_25g",
>                  "fortpark_TLV",
> -                "cavium_a064"
> +                "cavium_a064",
> +		"carlsville"
>              ],
>              "Target": [
>                  "ALL"
> --
> 2.17.1


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

* [dts] [PATCH V2 08/17]tests/TestSuite_ipgre: add carlsville to support nic of ipgre
@ 2019-08-19 17:57 qifu
  2019-08-19  9:41 ` Lin, Xueqin
  0 siblings, 1 reply; 33+ messages in thread
From: qifu @ 2019-08-19 17:57 UTC (permalink / raw)
  To: dts; +Cc: qifu

Add carlsville to support nic of ipgre.
Signed-off-by: qifu <qi.fu@intel.com>
---
 tests/TestSuite_ipgre.py | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/tests/TestSuite_ipgre.py b/tests/TestSuite_ipgre.py
index 6f465fa..2a66928 100644
--- a/tests/TestSuite_ipgre.py
+++ b/tests/TestSuite_ipgre.py
@@ -63,8 +63,9 @@ class TestIpgre(TestCase):
         """
         self.printFlag = self._enable_debug
         ports = self.dut.get_ports()
-        self.verify(self.nic.startswith("fortville"),
-                    "GRE tunnel packet type only support by Fortville")
+        if self.nic != "carlsville":
+            self.verify(self.nic.startswith("fortville"),
+                        "GRE tunnel packet type only support by Fortville and carlsville")
         self.verify(len(ports) >= 1, "Insufficient ports for testing")
         valports = [_ for _ in ports if self.tester.get_local_port(_) != -1]
         # start testpmd
-- 
2.17.1


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

* Re: [dts] [PATCH V2 08/17]tests/TestSuite_ipgre: add carlsville to support nic of ipgre
  2019-08-19  9:41 ` Lin, Xueqin
@ 2019-08-19 10:07   ` Lin, Xueqin
  0 siblings, 0 replies; 33+ messages in thread
From: Lin, Xueqin @ 2019-08-19 10:07 UTC (permalink / raw)
  To: Lin, Xueqin, 20190819110625.73544-9-qi.fu, dts; +Cc: Fu, Qi

Sorry, wrong for the verify function, or just simple to list supported nic list. 

self.verify(self.nic in ["fortville_eagle", "fortville_spirit", "fortville_spirit_single", "fortville_25g", "carlsville"], "GRE tunnel packet type only support by fortville and carlsville")

Best regards,
Xueqin


> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Lin, Xueqin
> Sent: Monday, August 19, 2019 5:41 PM
> To: 20190819110625.73544-9-qi.fu@intel.com; dts@dpdk.org
> Cc: Fu, Qi <qi.fu@intel.com>
> Subject: Re: [dts] [PATCH V2 08/17]tests/TestSuite_ipgre: add carlsville to
> support nic of ipgre
> 
> Strange for the change, you can try below.
> 
> +            self.verify(self.nic.startswith("fortville") or
> + self.nic.startswith("carlsville "), "GRE tunnel packet type only
> + support by Fortville and carlsville")
> 
> Best regards,
> Xueqin
> 
> 
> > -----Original Message-----
> > From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of qifu
> > Sent: Tuesday, August 20, 2019 1:58 AM
> > To: dts@dpdk.org
> > Cc: Fu, Qi <qi.fu@intel.com>
> > Subject: [dts] [PATCH V2 08/17]tests/TestSuite_ipgre: add carlsville
> > to support nic of ipgre
> >
> > Add carlsville to support nic of ipgre.
> > Signed-off-by: qifu <qi.fu@intel.com>
> > ---
> >  tests/TestSuite_ipgre.py | 5 +++--
> >  1 file changed, 3 insertions(+), 2 deletions(-)
> >
> > diff --git a/tests/TestSuite_ipgre.py b/tests/TestSuite_ipgre.py index
> > 6f465fa..2a66928 100644
> > --- a/tests/TestSuite_ipgre.py
> > +++ b/tests/TestSuite_ipgre.py
> > @@ -63,8 +63,9 @@ class TestIpgre(TestCase):
> >          """
> >          self.printFlag = self._enable_debug
> >          ports = self.dut.get_ports()
> > -        self.verify(self.nic.startswith("fortville"),
> > -                    "GRE tunnel packet type only support by Fortville")
> > +        if self.nic != "carlsville":
> > +            self.verify(self.nic.startswith("fortville"),
> > +                        "GRE tunnel packet type only support by
> > + Fortville and carlsville")
> >          self.verify(len(ports) >= 1, "Insufficient ports for testing")
> >          valports = [_ for _ in ports if self.tester.get_local_port(_) != -1]
> >          # start testpmd
> > --
> > 2.17.1


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

* Re: [dts] [PATCH V2 08/17]tests/TestSuite_ipgre: add carlsville to support nic of ipgre
  2019-08-19 17:57 [dts] [PATCH V2 08/17]tests/TestSuite_ipgre: add carlsville to support nic of ipgre qifu
@ 2019-08-19  9:41 ` Lin, Xueqin
  2019-08-19 10:07   ` Lin, Xueqin
  0 siblings, 1 reply; 33+ messages in thread
From: Lin, Xueqin @ 2019-08-19  9:41 UTC (permalink / raw)
  To: 20190819110625.73544-9-qi.fu, dts; +Cc: Fu, Qi

Strange for the change, you can try below.

+            self.verify(self.nic.startswith("fortville") or self.nic.startswith("carlsville "), "GRE tunnel packet type only support by Fortville and carlsville")

Best regards,
Xueqin


> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of qifu
> Sent: Tuesday, August 20, 2019 1:58 AM
> To: dts@dpdk.org
> Cc: Fu, Qi <qi.fu@intel.com>
> Subject: [dts] [PATCH V2 08/17]tests/TestSuite_ipgre: add carlsville to
> support nic of ipgre
> 
> Add carlsville to support nic of ipgre.
> Signed-off-by: qifu <qi.fu@intel.com>
> ---
>  tests/TestSuite_ipgre.py | 5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)
> 
> diff --git a/tests/TestSuite_ipgre.py b/tests/TestSuite_ipgre.py index
> 6f465fa..2a66928 100644
> --- a/tests/TestSuite_ipgre.py
> +++ b/tests/TestSuite_ipgre.py
> @@ -63,8 +63,9 @@ class TestIpgre(TestCase):
>          """
>          self.printFlag = self._enable_debug
>          ports = self.dut.get_ports()
> -        self.verify(self.nic.startswith("fortville"),
> -                    "GRE tunnel packet type only support by Fortville")
> +        if self.nic != "carlsville":
> +            self.verify(self.nic.startswith("fortville"),
> +                        "GRE tunnel packet type only support by
> + Fortville and carlsville")
>          self.verify(len(ports) >= 1, "Insufficient ports for testing")
>          valports = [_ for _ in ports if self.tester.get_local_port(_) != -1]
>          # start testpmd
> --
> 2.17.1


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

end of thread, back to index

Thread overview: 33+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-19 11:06 [dts] [PATCH 00/17] enable carlsville qifu
2019-08-19 11:06 ` [dts] [PATCH 01/17] conf/test_case_checklist: add carlsville to checklist qifu
2019-08-29 11:44   ` [dts] [PATCH V2 01/17]conf/test_case_checklist: " qifu
2019-08-30  2:55     ` Tu, Lijuan
2019-08-19 11:06 ` [dts] [PATCH 02/17] framework/settings: add carlsville to settings qifu
2019-08-29 11:46   ` [dts] [PATCH V2 02/17]framework/settings: " qifu
2019-08-30  2:53     ` Tu, Lijuan
2019-08-19 11:06 ` [dts] [PATCH 03/17] conf/test_case_supportlist: add carlsville to supportlist qifu
2019-08-19 11:06 ` [dts] [PATCH 04/17] tests/TestSuite_dual_vlan: add carlsville to support nic of dual_vlan qifu
2019-08-19 11:06 ` [dts] [PATCH 05/17] tests/TestSuite_fdir: add carlsville to support nic of fdir qifu
2019-08-19 11:06 ` [dts] [PATCH 06/17] tests/TestSuite_fortville_rss_granularity_config: add carlsville to support nic of fortville_rss_granularity_config qifu
2019-08-19 11:06 ` [dts] [PATCH 07/17] tests/TestSuite_generic_filter: add carlsville to support nic of generic_filter qifu
2019-08-19 11:06 ` [dts] [PATCH 08/17] tests/TestSuite_ipgre: add carlsville to support nic of ipgre qifu
2019-08-19  5:05   ` Mo, YufengX
2019-08-19  5:23     ` Fu, Qi
2019-08-19  5:28       ` Mo, YufengX
2019-08-19  5:40         ` Fu, Qi
2019-08-19 18:09   ` [dts] [PATCH V2 08/17]tests/TestSuite_ipgre: " qifu
2019-08-20 11:02     ` [dts] [PATCH V3 " qifu
2019-08-28 10:39       ` Tu, Lijuan
2019-08-19 11:06 ` [dts] [PATCH 09/17] tests/TestSuite_link_status_interrupt: add carlsville to support nic of link_status_interrupt qifu
2019-08-19 11:06 ` [dts] [PATCH 10/17] tests/TestSuite_nvgre: add carlsville to support nic of nvgre qifu
2019-08-19 11:06 ` [dts] [PATCH 11/17] tests/TestSuite_pmdrss_hash: add carlsville to support nic of pmdrss_hash qifu
2019-08-19 11:06 ` [dts] [PATCH 12/17] tests/TestSuite_ptype_mapping: add carlsville to support nic of ptype_mapping qifu
2019-08-19 11:06 ` [dts] [PATCH 13/17] tests/TestSuite_scatter: add carlsville to support nic of scatter qifu
2019-08-19 11:06 ` [dts] [PATCH 14/17] tests/TestSuite_uni_pkt: add carlsville to support nic of uni_pkt qifu
2019-08-19 11:06 ` [dts] [PATCH 15/17] tests/TestSuite_vlan_ethertype_config: add carlsville to support nic of vlan_ethertype_config qifu
2019-08-19 11:06 ` [dts] [PATCH 16/17] tests/TestSuite_vlan: add carlsville to support nic of vlan qifu
2019-08-19 11:06 ` [dts] [PATCH 17/17] tests/TestSuite_vxlan: add carlsville to support nic of vxlan qifu
2019-08-28 10:36 ` [dts] [PATCH 00/17] enable carlsville Tu, Lijuan
2019-08-19 17:57 [dts] [PATCH V2 08/17]tests/TestSuite_ipgre: add carlsville to support nic of ipgre qifu
2019-08-19  9:41 ` Lin, Xueqin
2019-08-19 10:07   ` Lin, Xueqin

test suite reviews and discussions

Archives are clonable:
	git clone --mirror http://inbox.dpdk.org/dts/0 dts/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 dts dts/ http://inbox.dpdk.org/dts \
		dts@dpdk.org
	public-inbox-index dts


Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.dts


AGPL code for this site: git clone https://public-inbox.org/ public-inbox