[V1,1/4] tests/vf_offload: fix a typo.

Message ID 20221209093821.341263-2-ke1.xu@intel.com (mailing list archive)
State Superseded
Headers
Series add vf checksum offload and tso case for tunnel packets. |

Commit Message

Ke Xu Dec. 9, 2022, 9:38 a.m. UTC
  Checksum is wrongly spelled as checksup.

Signed-off-by: Ke Xu <ke1.xu@intel.com>
---
 tests/TestSuite_vf_offload.py | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
  

Patch

diff --git a/tests/TestSuite_vf_offload.py b/tests/TestSuite_vf_offload.py
index 75c75f05..c7f618e3 100644
--- a/tests/TestSuite_vf_offload.py
+++ b/tests/TestSuite_vf_offload.py
@@ -265,7 +265,7 @@  class TestVfOffload(TestCase):
             (
                 ip_checksum,
                 tcp_checksum,
-                udp_checksup,
+                udp_checksum,
                 sctp_checksum,
             ) = packet_received.split(";")
             print(
@@ -273,8 +273,8 @@  class TestVfOffload(TestCase):
                 ip_checksum,
                 "tcp_checksum:, ",
                 tcp_checksum,
-                "udp_checksup: ",
-                udp_checksup,
+                "udp_checksum: ",
+                udp_checksum,
                 "sctp_checksum: ",
                 sctp_checksum,
             )
@@ -284,9 +284,9 @@  class TestVfOffload(TestCase):
             if tcp_checksum != "??":
                 packet_type = "TCP"
                 l4_checksum = tcp_checksum
-            elif udp_checksup != "??":
+            elif udp_checksum != "??":
                 packet_type = "UDP"
-                l4_checksum = udp_checksup
+                l4_checksum = udp_checksum
             elif sctp_checksum != "??":
                 packet_type = "SCTP"
                 l4_checksum = sctp_checksum