* [dts] [PATCH V1] tests/fdir: fix fdir case on sagepond
@ 2018-01-25 8:43 lu,peipei
2018-01-25 8:51 ` Liu, Yong
0 siblings, 1 reply; 3+ messages in thread
From: lu,peipei @ 2018-01-25 8:43 UTC (permalink / raw)
To: dts; +Cc: lu,peipei
Add sagepond nic to test fdir, fix fdir case on sagepind.
Signed-off-by: lu,peipei <peipeix.lu@intel.com>
---
conf/test_case_checklist.json | 9 ++++++---
tests/TestSuite_fdir.py | 6 +++---
2 files changed, 9 insertions(+), 6 deletions(-)
diff --git a/conf/test_case_checklist.json b/conf/test_case_checklist.json
index 38cca5a..860485f 100644
--- a/conf/test_case_checklist.json
+++ b/conf/test_case_checklist.json
@@ -1754,7 +1754,8 @@
"ALL"
],
"NIC": [
- "niantic"
+ "niantic",
+ "sagepond"
],
"Target": [
"ALL"
@@ -1769,7 +1770,8 @@
"ALL"
],
"NIC": [
- "niantic"
+ "niantic",
+ "sagepond"
],
"Target": [
"ALL"
@@ -1784,7 +1786,8 @@
"ALL"
],
"NIC": [
- "niantic"
+ "niantic",
+ "sagepond"
],
"Target": [
"ALL"
diff --git a/tests/TestSuite_fdir.py b/tests/TestSuite_fdir.py
index 44f1e96..80593e3 100644
--- a/tests/TestSuite_fdir.py
+++ b/tests/TestSuite_fdir.py
@@ -223,7 +223,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", "sagepond"]):
if not sctp:
self.flexbytes = "0x11,0x11,0x22,0x22,0x33,0x33,0x44,0x44,0x55,0x55,0x66,0x66,0x77,0x77,0x88,0x88"
else:
@@ -318,7 +318,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", "sagepond"]:
# 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>")
@@ -603,7 +603,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", "sagepond"]:
# 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>")
--
1.9.3
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [dts] [PATCH V1] tests/fdir: fix fdir case on sagepond
2018-01-25 8:43 [dts] [PATCH V1] tests/fdir: fix fdir case on sagepond lu,peipei
@ 2018-01-25 8:51 ` Liu, Yong
0 siblings, 0 replies; 3+ messages in thread
From: Liu, Yong @ 2018-01-25 8:51 UTC (permalink / raw)
To: Lu, PeipeiX, dts; +Cc: Lu, PeipeiX
Peipei,
Please modify your commit log for make it clear. Like which case not support on sagepond and which case is supported.
Thanks,
Marvin
> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of lu,peipei
> Sent: Thursday, January 25, 2018 4:44 PM
> To: dts@dpdk.org
> Cc: Lu, PeipeiX <peipeix.lu@intel.com>
> Subject: [dts] [PATCH V1] tests/fdir: fix fdir case on sagepond
>
> Add sagepond nic to test fdir, fix fdir case on sagepind.
>
> Signed-off-by: lu,peipei <peipeix.lu@intel.com>
> ---
> conf/test_case_checklist.json | 9 ++++++---
> tests/TestSuite_fdir.py | 6 +++---
> 2 files changed, 9 insertions(+), 6 deletions(-)
>
> diff --git a/conf/test_case_checklist.json b/conf/test_case_checklist.json
> index 38cca5a..860485f 100644
> --- a/conf/test_case_checklist.json
> +++ b/conf/test_case_checklist.json
> @@ -1754,7 +1754,8 @@
> "ALL"
> ],
> "NIC": [
> - "niantic"
> + "niantic",
> + "sagepond"
> ],
> "Target": [
> "ALL"
> @@ -1769,7 +1770,8 @@
> "ALL"
> ],
> "NIC": [
> - "niantic"
> + "niantic",
> + "sagepond"
> ],
> "Target": [
> "ALL"
> @@ -1784,7 +1786,8 @@
> "ALL"
> ],
> "NIC": [
> - "niantic"
> + "niantic",
> + "sagepond"
> ],
> "Target": [
> "ALL"
> diff --git a/tests/TestSuite_fdir.py b/tests/TestSuite_fdir.py
> index 44f1e96..80593e3 100644
> --- a/tests/TestSuite_fdir.py
> +++ b/tests/TestSuite_fdir.py
> @@ -223,7 +223,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", "sagepond"]):
> if not sctp:
> self.flexbytes =
> "0x11,0x11,0x22,0x22,0x33,0x33,0x44,0x44,0x55,0x55,0x66,0x66,0x77,0x77,0x8
> 8,0x88"
> else:
> @@ -318,7 +318,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", "sagepond"]:
> # 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>")
> @@ -603,7 +603,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", "sagepond"]:
> # 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>")
> --
> 1.9.3
^ permalink raw reply [flat|nested] 3+ messages in thread
* [dts] [PATCH V1] tests/fdir: fix fdir case on sagepond
@ 2018-01-25 9:05 lu,peipei
0 siblings, 0 replies; 3+ messages in thread
From: lu,peipei @ 2018-01-25 9:05 UTC (permalink / raw)
To: dts; +Cc: lu,peipei
Add sagepond nic to test fdir,ipv4_tos_proto_ttl,fdir_ipv6_tc,fdir_ivlan were not support
the others were support.
Signed-off-by: lu,peipei <peipeix.lu@intel.com>
---
conf/test_case_checklist.json | 9 ++++++---
tests/TestSuite_fdir.py | 6 +++---
2 files changed, 9 insertions(+), 6 deletions(-)
diff --git a/conf/test_case_checklist.json b/conf/test_case_checklist.json
index 38cca5a..860485f 100644
--- a/conf/test_case_checklist.json
+++ b/conf/test_case_checklist.json
@@ -1754,7 +1754,8 @@
"ALL"
],
"NIC": [
- "niantic"
+ "niantic",
+ "sagepond"
],
"Target": [
"ALL"
@@ -1769,7 +1770,8 @@
"ALL"
],
"NIC": [
- "niantic"
+ "niantic",
+ "sagepond"
],
"Target": [
"ALL"
@@ -1784,7 +1786,8 @@
"ALL"
],
"NIC": [
- "niantic"
+ "niantic",
+ "sagepond"
],
"Target": [
"ALL"
diff --git a/tests/TestSuite_fdir.py b/tests/TestSuite_fdir.py
index 44f1e96..80593e3 100644
--- a/tests/TestSuite_fdir.py
+++ b/tests/TestSuite_fdir.py
@@ -223,7 +223,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", "sagepond"]):
if not sctp:
self.flexbytes = "0x11,0x11,0x22,0x22,0x33,0x33,0x44,0x44,0x55,0x55,0x66,0x66,0x77,0x77,0x88,0x88"
else:
@@ -318,7 +318,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", "sagepond"]:
# 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>")
@@ -603,7 +603,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", "sagepond"]:
# 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>")
--
1.9.3
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-01-25 9:03 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-25 8:43 [dts] [PATCH V1] tests/fdir: fix fdir case on sagepond lu,peipei
2018-01-25 8:51 ` Liu, Yong
2018-01-25 9:05 lu,peipei
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).