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 324614334B; Fri, 17 Nov 2023 03:52:19 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C43A040271; Fri, 17 Nov 2023 03:52:18 +0100 (CET) Received: from szxga08-in.huawei.com (szxga08-in.huawei.com [45.249.212.255]) by mails.dpdk.org (Postfix) with ESMTP id EB0C34014F; Fri, 17 Nov 2023 03:52:16 +0100 (CET) Received: from kwepemm000004.china.huawei.com (unknown [172.30.72.57]) by szxga08-in.huawei.com (SkyGuard) with ESMTP id 4SWhDg50rhz1P7ry; Fri, 17 Nov 2023 10:48:51 +0800 (CST) Received: from [10.67.121.59] (10.67.121.59) by kwepemm000004.china.huawei.com (7.193.23.18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.31; Fri, 17 Nov 2023 10:52:13 +0800 Message-ID: <03bd6496-5c3b-26e5-82d6-c2af71fe17f9@huawei.com> Date: Fri, 17 Nov 2023 10:52:12 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.2.0 Subject: Re: [Bug 1327] [dpdk-23.11] tso/tso_tunneling: tunnel tso setting to not take effect To: "Jiale, SongX" References: CC: Ferruh Yigit , "Huang, ZhiminX" , , , From: "lihuisong (C)" In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-Originating-IP: [10.67.121.59] X-ClientProxiedBy: dggems703-chm.china.huawei.com (10.3.19.180) To kwepemm000004.china.huawei.com (7.193.23.18) X-CFilter-Loop: Reflected 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 Hi SongX, I've replied to you. Please confirm and try it again. 在 2023/11/17 10:35, bugzilla@dpdk.org 写道: > Bug ID 1327 > Summary [dpdk-23.11] tso/tso_tunneling: tunnel tso setting to not > take effect > Product DPDK > Version 23.11 > Hardware x86 > OS Linux > Status UNCONFIRMED > Severity normal > Priority Normal > Component testpmd > Assignee dev@dpdk.org > Reporter songx.jiale@intel.com > Target Milestone --- > > [Environment] > DPDK version: > dpdk-23.11-rc3: 92d7ce4afc4a558f27bbc8368823c625f4e0f9dc > Other software versions: name/version for QEMU, OVS, etc. Repeat as required. > OS: Ubuntu 22.04.3 LTS/5.15.0-82-generic > Compiler: gcc version 11.4.0 > Hardware platform: Intel(R) Xeon(R) Gold 6140M CPU @ 2.30GHz > NIC hardware: > Intel Corporation Ethernet Controller E810-C for SFP [8086:1593] (rev 02) > NIC firmware: > driver: ice-1.13.0_rc99_4_gb8ad35697 > firmware-version: 4.40 0x8001c2f8 1.3492.0 > pkg: ice os default 1.3.36.0 > > [Test Setup] > 1. Blind pf to vfio-pci > ./usertools/dpdk-devbind.py -b vfio-pci 0000:05:00.0 0000:08:00.0 > 2. Launch testpmd > x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 -a 0000:05:00.0 -a > 0000:08:00.0 --file-prefix=dpdk_302219_20231116020458 -- -i > 3. Set tunnel tso > testpmd> set verbose 1 > testpmd> port stop all > testpmd> csum set ip hw 1 > testpmd> csum set udp hw 1 > testpmd> csum set tcp hw 1 > testpmd> csum set sctp hw 1 > testpmd> csum set outer-ip hw 1 > testpmd> csum set outer-udp hw 1 > testpmd> csum parse-tunnel on 1 > testpmd> tunnel_tso set 800 1 > testpmd> rx_vxlan_port add 4789 0 > testpmd> set fwd csum > testpmd> port start all > testpmd> set promisc all off > testpmd> start > 4. Send vxlan packet > sendp([Ether(dst="40:a6:b7:7b:3f:00",src="52:00:00:00:00:00")/IP(src="192.168.1.1",dst="192.168.1.2")/UDP(sport=1021,dport=4789)/VXLAN()/Ether(dst="40:a6:b7:7b:3f:00",src="52:00:00:00:00:00")/IP(src="192.168.1.1",dst="192.168.1.2")/TCP(sport=1021,dport=1021)/("X"*801)], > iface="ens2f1") > 5. show port status > testpmd> show port stats all > > [Show the output from the previous commands.] > Vxlan package not segmented. > ######################## NIC statistics for port 0 ######################## > RX-packets: 1 RX-missed: 0 RX-bytes: 905 > RX-errors: 0 > RX-nombuf: 0 > TX-packets: 0 TX-errors: 0 TX-bytes: 0 > Throughput (since last show) > Rx-pps: 0 Rx-bps: 0 > Tx-pps: 0 Tx-bps: 0 > ############################################################################ > ######################## NIC statistics for port 1 ######################## > RX-packets: 0 RX-missed: 0 RX-bytes: 0 > RX-errors: 0 > RX-nombuf: 0 > TX-packets: 1 TX-errors: 0 TX-bytes: 905 > Throughput (since last show) > Rx-pps: 0 Rx-bps: 0 > Tx-pps: 0 Tx-bps: 0 > ############################################################################ > > [Expected Result] > The vxlan packet is divided into 2 segments to TX. > ######################## NIC statistics for port 0 ######################## > RX-packets: 1 RX-missed: 0 RX-bytes: 905 > RX-errors: 0 > RX-nombuf: 0 > TX-packets: 0 TX-errors: 0 TX-bytes: 0 > Throughput (since last show) > Rx-pps: 0 Rx-bps: 0 > Tx-pps: 0 Tx-bps: 0 > ############################################################################ > ######################## NIC statistics for port 1 ######################## > RX-packets: 0 RX-missed: 0 RX-bytes: 0 > RX-errors: 0 > RX-nombuf: 0 > TX-packets: 2 TX-errors: 0 TX-bytes: 1009 > Throughput (since last show) > Rx-pps: 0 Rx-bps: 0 > Tx-pps: 0 Tx-bps: 80 > ############################################################################ > > [Regression] > Is this issue a regression: (Y/N)Y > 90052c6536a5bcdca120315(app/testpmd: fix UDP checksum for UFO): tunnel tso > setting to not take effect. > > 33156a6bc61560e74a12(app/testpmd: add explicit check for tunnel TSO): Error > reporting "Error: port=1 don't support tunnel TSO offloads." > > ------------------------------------------------------------------------ > You are receiving this mail because: > > * You are the assignee for the bug. >