* [dts] [PATCH V1] tests/uni_pkt:Add support Nic in uin_pkt.
@ 2019-07-01 9:40 zhu,shuai
2019-07-01 9:42 ` Yao, BingX Y
2019-07-03 5:52 ` Tu, Lijuan
0 siblings, 2 replies; 3+ messages in thread
From: zhu,shuai @ 2019-07-01 9:40 UTC (permalink / raw)
To: dts; +Cc: zhu,shuai
Add support Nic:
twinpond,
twinville,
sageville,
sagepond,
springville
Signed-off-by: zhu,shuai <shuaix.zhu@intel.com>
---
tests/TestSuite_uni_pkt.py | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/tests/TestSuite_uni_pkt.py b/tests/TestSuite_uni_pkt.py
index 5d09fc1..2b60320 100644
--- a/tests/TestSuite_uni_pkt.py
+++ b/tests/TestSuite_uni_pkt.py
@@ -118,7 +118,7 @@ class TestUniPacket(TestCase):
if "fortville" in self.nic or "fortpark_TLV" 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():
+ 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():
outerL4Type = ""
ipv4_default_packet_type = ["L2_ETHER", "L3_IPV4"]
pktType = {
@@ -136,7 +136,7 @@ class TestUniPacket(TestCase):
if "fortville" in self.nic or "fortpark_TLV" 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():
+ 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_IP_ICMP_PKT")
pktType.pop("MAC_IPFRAG_TCP_PKT")
@@ -149,7 +149,7 @@ class TestUniPacket(TestCase):
if "fortville" in self.nic or "fortpark_TLV" 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():
+ 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():
outerL4Type = ""
ipv6_default_packet_type = ["L2_ETHER", "L3_IPV6"]
@@ -164,7 +164,7 @@ class TestUniPacket(TestCase):
# delete the unsupported packet based on nic type
if "fortville" in self.nic or "fortpark_TLV" 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():
+ 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")
self.run_test(pktType)
--
2.17.2
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [dts] [PATCH V1] tests/uni_pkt:Add support Nic in uin_pkt.
2019-07-01 9:40 [dts] [PATCH V1] tests/uni_pkt:Add support Nic in uin_pkt zhu,shuai
@ 2019-07-01 9:42 ` Yao, BingX Y
2019-07-03 5:52 ` Tu, Lijuan
1 sibling, 0 replies; 3+ messages in thread
From: Yao, BingX Y @ 2019-07-01 9:42 UTC (permalink / raw)
To: Zhu, ShuaiX, dts; +Cc: Zhu, ShuaiX
Tested-by: Yao, BingX Y <bingx.y.yao@intel.com>
-----Original Message-----
From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of zhu,shuai
Sent: Monday, July 1, 2019 5:41 PM
To: dts@dpdk.org
Cc: Zhu, ShuaiX <shuaix.zhu@intel.com>
Subject: [dts] [PATCH V1] tests/uni_pkt:Add support Nic in uin_pkt.
Add support Nic:
twinpond,
twinville,
sageville,
sagepond,
springville
Signed-off-by: zhu,shuai <shuaix.zhu@intel.com>
---
tests/TestSuite_uni_pkt.py | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/tests/TestSuite_uni_pkt.py b/tests/TestSuite_uni_pkt.py index 5d09fc1..2b60320 100644
--- a/tests/TestSuite_uni_pkt.py
+++ b/tests/TestSuite_uni_pkt.py
@@ -118,7 +118,7 @@ class TestUniPacket(TestCase):
if "fortville" in self.nic or "fortpark_TLV" 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():
+ 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():
outerL4Type = ""
ipv4_default_packet_type = ["L2_ETHER", "L3_IPV4"]
pktType = {
@@ -136,7 +136,7 @@ class TestUniPacket(TestCase):
if "fortville" in self.nic or "fortpark_TLV" 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():
+ 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_IP_ICMP_PKT")
pktType.pop("MAC_IPFRAG_TCP_PKT")
@@ -149,7 +149,7 @@ class TestUniPacket(TestCase):
if "fortville" in self.nic or "fortpark_TLV" 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():
+ 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():
outerL4Type = ""
ipv6_default_packet_type = ["L2_ETHER", "L3_IPV6"]
@@ -164,7 +164,7 @@ class TestUniPacket(TestCase):
# delete the unsupported packet based on nic type
if "fortville" in self.nic or "fortpark_TLV" 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():
+ 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")
self.run_test(pktType)
--
2.17.2
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [dts] [PATCH V1] tests/uni_pkt:Add support Nic in uin_pkt.
2019-07-01 9:40 [dts] [PATCH V1] tests/uni_pkt:Add support Nic in uin_pkt zhu,shuai
2019-07-01 9:42 ` Yao, BingX Y
@ 2019-07-03 5:52 ` Tu, Lijuan
1 sibling, 0 replies; 3+ messages in thread
From: Tu, Lijuan @ 2019-07-03 5:52 UTC (permalink / raw)
To: Zhu, ShuaiX, dts; +Cc: Zhu, ShuaiX
Applied, thanks
> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of zhu,shuai
> Sent: Monday, July 1, 2019 5:41 PM
> To: dts@dpdk.org
> Cc: Zhu, ShuaiX <shuaix.zhu@intel.com>
> Subject: [dts] [PATCH V1] tests/uni_pkt:Add support Nic in uin_pkt.
>
> Add support Nic:
> twinpond,
> twinville,
> sageville,
> sagepond,
> springville
>
> Signed-off-by: zhu,shuai <shuaix.zhu@intel.com>
> ---
> tests/TestSuite_uni_pkt.py | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/tests/TestSuite_uni_pkt.py b/tests/TestSuite_uni_pkt.py index
> 5d09fc1..2b60320 100644
> --- a/tests/TestSuite_uni_pkt.py
> +++ b/tests/TestSuite_uni_pkt.py
> @@ -118,7 +118,7 @@ class TestUniPacket(TestCase):
> if "fortville" in self.nic or "fortpark_TLV" 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():
> + 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():
> outerL4Type = ""
> ipv4_default_packet_type = ["L2_ETHER", "L3_IPV4"]
> pktType = {
> @@ -136,7 +136,7 @@ class TestUniPacket(TestCase):
> if "fortville" in self.nic or "fortpark_TLV" 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():
> + 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_IP_ICMP_PKT")
> pktType.pop("MAC_IPFRAG_TCP_PKT")
>
> @@ -149,7 +149,7 @@ class TestUniPacket(TestCase):
> if "fortville" in self.nic or "fortpark_TLV" 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():
> + 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():
> outerL4Type = ""
> ipv6_default_packet_type = ["L2_ETHER", "L3_IPV6"]
>
> @@ -164,7 +164,7 @@ class TestUniPacket(TestCase):
> # delete the unsupported packet based on nic type
> if "fortville" in self.nic or "fortpark_TLV" 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():
> + 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")
>
> self.run_test(pktType)
> --
> 2.17.2
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-07-03 5:52 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-01 9:40 [dts] [PATCH V1] tests/uni_pkt:Add support Nic in uin_pkt zhu,shuai
2019-07-01 9:42 ` Yao, BingX Y
2019-07-03 5:52 ` Tu, Lijuan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).