* Re: [dts] [PATCH V1] tests/TestSuite_iavf:Modify syntax error
2019-09-12 8:12 [dts] [PATCH V1] tests/TestSuite_iavf:Modify syntax error zhang,yan
@ 2019-09-12 8:11 ` Zhu, WenhuiX
2019-09-20 6:22 ` Tu, Lijuan
1 sibling, 0 replies; 3+ messages in thread
From: Zhu, WenhuiX @ 2019-09-12 8:11 UTC (permalink / raw)
To: Zhang, YanX A, dts; +Cc: Zhang, YanX A
[-- Attachment #1: Type: text/plain, Size: 1244 bytes --]
Tested-by: Zhu, WenhuiX <wenhuix.zhu@intel.com>
-----Original Message-----
From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of zhang,yan
Sent: Thursday, September 12, 2019 4:12 PM
To: dts@dpdk.org
Cc: Zhang, YanX A <yanx.a.zhang@intel.com>
Subject: [dts] [PATCH V1] tests/TestSuite_iavf:Modify syntax error
Modify syntax error.
Signed-off-by: zhang,yan <yanx.a.zhang@intel.com>
---
tests/TestSuite_iavf.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/TestSuite_iavf.py b/tests/TestSuite_iavf.py index 1ee5f77..9395555 100644
--- a/tests/TestSuite_iavf.py
+++ b/tests/TestSuite_iavf.py
@@ -588,7 +588,7 @@ class TestIavf(TestCase):
self.tester.scapy_execute()
rec_pkt = self.tester.load_tcpdump_sniff_packets(inst)
# collect checksum values for received packet
- chksum = rec_pkt[0].pktgen.pkt.s("%IP.chksum%;%TCP.chksum%;%UDP.chksum%;%SCTP.chksum%").split(";")
+ chksum =
+ rec_pkt[0].pktgen.pkt.sprintf("%IP.chksum%;%TCP.chksum%;%UDP.chksum%;%
+ SCTP.chksum%").split(";")
chksum = list(set(chksum))
chksum.remove("??")
corrected_checksum_values[packet] = chksum
--
2.17.2
[-- Attachment #2: TestIavf.log --]
[-- Type: application/octet-stream, Size: 495784 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* [dts] [PATCH V1] tests/TestSuite_iavf:Modify syntax error
@ 2019-09-12 8:12 zhang,yan
2019-09-12 8:11 ` Zhu, WenhuiX
2019-09-20 6:22 ` Tu, Lijuan
0 siblings, 2 replies; 3+ messages in thread
From: zhang,yan @ 2019-09-12 8:12 UTC (permalink / raw)
To: dts; +Cc: zhang,yan
Modify syntax error.
Signed-off-by: zhang,yan <yanx.a.zhang@intel.com>
---
tests/TestSuite_iavf.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/TestSuite_iavf.py b/tests/TestSuite_iavf.py
index 1ee5f77..9395555 100644
--- a/tests/TestSuite_iavf.py
+++ b/tests/TestSuite_iavf.py
@@ -588,7 +588,7 @@ class TestIavf(TestCase):
self.tester.scapy_execute()
rec_pkt = self.tester.load_tcpdump_sniff_packets(inst)
# collect checksum values for received packet
- chksum = rec_pkt[0].pktgen.pkt.s("%IP.chksum%;%TCP.chksum%;%UDP.chksum%;%SCTP.chksum%").split(";")
+ chksum = rec_pkt[0].pktgen.pkt.sprintf("%IP.chksum%;%TCP.chksum%;%UDP.chksum%;%SCTP.chksum%").split(";")
chksum = list(set(chksum))
chksum.remove("??")
corrected_checksum_values[packet] = chksum
--
2.17.2
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [dts] [PATCH V1] tests/TestSuite_iavf:Modify syntax error
2019-09-12 8:12 [dts] [PATCH V1] tests/TestSuite_iavf:Modify syntax error zhang,yan
2019-09-12 8:11 ` Zhu, WenhuiX
@ 2019-09-20 6:22 ` Tu, Lijuan
1 sibling, 0 replies; 3+ messages in thread
From: Tu, Lijuan @ 2019-09-20 6:22 UTC (permalink / raw)
To: Zhang, YanX A, dts; +Cc: Zhang, YanX A
Applied, thanks
> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of zhang,yan
> Sent: Thursday, September 12, 2019 4:12 PM
> To: dts@dpdk.org
> Cc: Zhang, YanX A <yanx.a.zhang@intel.com>
> Subject: [dts] [PATCH V1] tests/TestSuite_iavf:Modify syntax error
>
> Modify syntax error.
>
> Signed-off-by: zhang,yan <yanx.a.zhang@intel.com>
> ---
> tests/TestSuite_iavf.py | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tests/TestSuite_iavf.py b/tests/TestSuite_iavf.py index
> 1ee5f77..9395555 100644
> --- a/tests/TestSuite_iavf.py
> +++ b/tests/TestSuite_iavf.py
> @@ -588,7 +588,7 @@ class TestIavf(TestCase):
> self.tester.scapy_execute()
> rec_pkt = self.tester.load_tcpdump_sniff_packets(inst)
> # collect checksum values for received packet
> - chksum =
> rec_pkt[0].pktgen.pkt.s("%IP.chksum%;%TCP.chksum%;%UDP.chksum%;%SCTP
> .chksum%").split(";")
> + chksum =
> +
> rec_pkt[0].pktgen.pkt.sprintf("%IP.chksum%;%TCP.chksum%;%UDP.chksum%;%
> + SCTP.chksum%").split(";")
> chksum = list(set(chksum))
> chksum.remove("??")
> corrected_checksum_values[packet] = chksum
> --
> 2.17.2
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-09-20 6:22 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-12 8:12 [dts] [PATCH V1] tests/TestSuite_iavf:Modify syntax error zhang,yan
2019-09-12 8:11 ` Zhu, WenhuiX
2019-09-20 6:22 ` 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).