From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id A7F90A034F; Thu, 11 Nov 2021 07:00:21 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7058A40E28; Thu, 11 Nov 2021 07:00:21 +0100 (CET) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mails.dpdk.org (Postfix) with ESMTP id 4389340E03 for ; Thu, 11 Nov 2021 07:00:20 +0100 (CET) X-IronPort-AV: E=McAfee;i="6200,9189,10164"; a="256558068" X-IronPort-AV: E=Sophos;i="5.87,225,1631602800"; d="scan'208";a="256558068" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Nov 2021 22:00:19 -0800 X-IronPort-AV: E=Sophos;i="5.87,225,1631602800"; d="scan'208";a="452608897" Received: from unknown (HELO DPDK-CVL-tetser102.icx.intel.com) ([10.240.183.102]) by orsmga006-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Nov 2021 22:00:17 -0800 From: Lewei Yang To: dts@dpdk.org Cc: YangLewei Subject: [PATCH V1] tests/vxlan:Vxlan ipv6 checksum offload add set outer-udp Date: Thu, 11 Nov 2021 14:27:54 +0000 Message-Id: <20211111142754.18841-1-leweix.yang@intel.com> X-Mailer: git-send-email 2.17.1 X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dts-bounces@dpdk.org From: YangLewei According to dpdk commit 8cc79a1636cd("net/i40e: fix forward outer IPv6 VXLAN"), this patch added outer UDP checksum,so need set csum hw outer-udp to forward outer IPv6 VXLAN packets. Signed-off-by: YangLewei --- test_plans/vxlan_test_plan.rst | 1 + tests/TestSuite_vxlan.py | 1 + 2 files changed, 2 insertions(+) diff --git a/test_plans/vxlan_test_plan.rst b/test_plans/vxlan_test_plan.rst index 8af3d8b4..1db5b488 100644 --- a/test_plans/vxlan_test_plan.rst +++ b/test_plans/vxlan_test_plan.rst @@ -240,6 +240,7 @@ Enable IP,UDP,TCP,SCTP,VXLAN checksum offload:: csum set tcp hw 0 csum set stcp hw 0 csum set outer-ip hw 0 + csum set outer-udp hw 0 Send ipv6 packet with valid checksum and check there's no chksum error counter increased. diff --git a/tests/TestSuite_vxlan.py b/tests/TestSuite_vxlan.py index 1442578d..75b890ee 100644 --- a/tests/TestSuite_vxlan.py +++ b/tests/TestSuite_vxlan.py @@ -754,6 +754,7 @@ class TestVxlan(TestCase): self.dut.send_expect("set fwd csum", "testpmd>", 10) self.csum_set_type('outer-ip', self.recv_port) self.csum_set_type('udp', self.recv_port) + self.csum_set_type('outer-udp', self.recv_port) self.csum_set_type('tcp', self.recv_port) self.csum_set_type('sctp', self.recv_port) self.dut.send_expect("csum parse-tunnel on %d" % -- 2.33.1