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 21206A0547; Thu, 2 Sep 2021 08:54:27 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id AB4F840041; Thu, 2 Sep 2021 08:54:26 +0200 (CEST) Received: from inbox.dpdk.org (inbox.dpdk.org [95.142.172.178]) by mails.dpdk.org (Postfix) with ESMTP id 23E774003C for ; Thu, 2 Sep 2021 08:54:25 +0200 (CEST) Received: by inbox.dpdk.org (Postfix, from userid 33) id F33EBA0C47; Thu, 2 Sep 2021 08:54:24 +0200 (CEST) From: bugzilla@dpdk.org To: dev@dpdk.org Date: Thu, 02 Sep 2021 06:54:24 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: DPDK X-Bugzilla-Component: core X-Bugzilla-Version: 21.11 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: leweix.yang@intel.com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: dev@dpdk.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.dpdk.org/ Auto-Submitted: auto-generated X-Auto-Response-Suppress: All MIME-Version: 1.0 Subject: [dpdk-dev] [Bug 803] [dpdk-21.11]vxlan/vxlan_ipv6_checksum_offload:After dut sets the vxlan ports and receives the ipv6 packet, the packet is not forwarded X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" https://bugs.dpdk.org/show_bug.cgi?id=3D803 Bug ID: 803 Summary: [dpdk-21.11]vxlan/vxlan_ipv6_checksum_offload:After dut sets the vxlan ports and receives the ipv6 packet, the packet is not forwarded Product: DPDK Version: 21.11 Hardware: All OS: All Status: UNCONFIRMED Severity: normal Priority: Normal Component: core Assignee: dev@dpdk.org Reporter: leweix.yang@intel.com Target Milestone: --- Environment Fill in all the following as completely as possible. Use "Unknown" or "N/A"= if required. Use {{braces}} to create fixed width text like this: braces. DPDK version: Use make showversion or for a non-released version: git remot= e -v && git show-ref --heads 21.11.0-rc0:eeedef704c11bd74c367d62838700bdb8e5b573f Other software versions: name/version for QEMU, OVS, etc. Repeat as require= d. OS: Red Hat Enterprise Linux 8.3 4.18.0-240.el8.x86_64 Compiler: gcc (GCC) 8.4.1 20200928 (Red Hat 8.4.1-1) Hardware platform: Intel(R) Xeon(R) Gold 6252N CPU @ 2.30GHz. NIC hardware: fortville_25G NIC firmware: 2.8.20-k NIC firmware: 8.00 0x80008bb1 1.2766.0 Test Setup Steps to reproduce List the steps to reproduce the issue: 1. build dpdk # rm -rf x86_64-native-linuxapp-gcc # CC=3Dgcc meson --werror -Denable_kmods=3DTrue -Dlibdir=3Dlib -Dc_args=3D'-DRTE_EAL_IGB_UIO=3D1' --default-library=3Dstatic x86_64-native-linuxapp-gcc # ninja -C x86_64-native-linuxapp-gcc -j 70 2.lanch app ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 32,33,34,35,18 -n 4=20=20 --file-prefix=3Ddpdk_28921_20210902221900 -- -i --portmask=3D0x3 --enable-rx-cksum 3. dut set vlan set filter off 0 set fwd csum port stop all csum set outer-ip hw 1 port start all port stop all csum set udp hw 1 port start all port stop all csum set tcp hw 1 port start all port stop all csum set sctp hw 1 port start all csum parse-tunnel on 1 rx_vxlan_port add 4789 0 rx_vxlan_port add 4789 1 port stop all csum set outer-ip sw 0 port start all port stop all csum set outer-ip sw 1 port start all start 4. tester send packet sendp([Ether(src=3D'00:00:10:00:00:00', dst=3D'3c:fd:fe:b8:97:64')/IPv6(src=3D'fe80::', dst=3D'fe80::1')/UDP(sport= =3D63, dport=3D4789)/VXLAN(vni=3D1)/Ether(src=3D'00:00:20:00:00:00', dst=3D'00:00:20:00:00:01')/IP(src=3D'192.168.2.1', dst=3D'192.168.2.2')/UDP()/Raw(load=3Db'XXXXXXXXXXXXXXXXXX')],iface=3D"ens2= f0",count=3D1,inter=3D0,verbose=3DFalse) Show the output from the previous commands: After the dut receives the packet, it does not forward=20 testpmd> stop Telling cores to stop... Waiting for lcores to finish... ---------------------- Forward statistics = for port 0 ---------------------- RX-packets: 1 RX-dropped: 0 RX-total: 1 Bad-ipcsum: 0 Bad-l4csum: 0 Bad-outer-l4csum: 0 Bad-outer-ipcsum: 0 TX-packets: 0 TX-dropped: 0 TX-total: 0 -------------------------------------------------------------------------= ---=20 ---------------------- Forward statistics for port 1 ---------------------- RX-packets: 0 RX-dropped: 0 RX-total: 0 Bad-ipcsum: 0 Bad-l4csum: 0 Bad-outer-l4csum: 0 Bad-outer-ipcsum: 0 TX-packets: 0 TX-dropped: 0 TX-total: 0 -------------------------------------------------------------------------= ---=20 +++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++ RX-packets: 1 RX-dropped: 0 RX-total: 1 TX-packets: 0 TX-dropped: 1 TX-total: 1 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= +++ Expected Result:=20=20 testpmd> stop Telling cores to stop... Waiting for lcores to finish... ---------------------- Forward statistics = for port 0 ---------------------- RX-packets: 1 RX-dropped: 0 RX-total: 1 Bad-ipcsum: 0 Bad-l4csum: 0 Bad-outer-l4csum: 0 Bad-outer-ipcsum: 0 TX-packets: 0 TX-dropped: 0 TX-total: 0 -------------------------------------------------------------------------= ---=20 ---------------------- Forward statistics for port 1 ---------------------- RX-packets: 0 RX-dropped: 0 RX-total: 0 Bad-ipcsum: 0 Bad-l4csum: 0 Bad-outer-l4csum: 0 Bad-outer-ipcsum: 0 TX-packets: 1 TX-dropped: 0 TX-total: 1 -------------------------------------------------------------------------= ---=20 +++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++ RX-packets: 1 RX-dropped: 0 RX-total: 1 TX-packets: 1 TX-dropped: 0 TX-total: 1 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= +++ Regression Is this issue a regression: (Y/N)Y git show 4219d7670e8535e7d4b43233866a587b015e3f43 commit 4219d7670e8535e7d4b43233866a587b015e3f43 Author: Nithin Dabilpuram Date: Mon Aug 16 12:39:41 2021 +0530 app/testpmd: fix check without outer checksum Donot use outer metadata when neither outer ip checksum nor outer udp checksum is enabled. PMD's will ignore the outer_l2_len and outer_l3_len in cases where none of the outer checksum is enabled and hence only l2_len and l3_len will be used to calculate the offsets for L2 or L3 header. Fixes: 3c32113a1aac ("app/testpmd: fix IPv6 tunnel checksum") Cc: stable@dpdk.org Signed-off-by: Nithin Dabilpuram Acked-by: Xiaoyun Li --=20 You are receiving this mail because: You are the assignee for the bug.=