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 93AB6A054A for ; Fri, 19 Feb 2021 07:20:51 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6D63F40042; Fri, 19 Feb 2021 07:20:51 +0100 (CET) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mails.dpdk.org (Postfix) with ESMTP id BEB1E40042 for ; Fri, 19 Feb 2021 07:20:49 +0100 (CET) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id EEBDB1FB; Thu, 18 Feb 2021 22:20:48 -0800 (PST) Received: from net-x86-dell-8268.shanghai.arm.com (net-x86-dell-8268.shanghai.arm.com [10.169.210.127]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 562983F73B; Thu, 18 Feb 2021 22:20:47 -0800 (PST) From: Feifei Wang To: feifei.wang2@arm.com, ruifeng.wang@arm.com, stable@dpdk.org Cc: nd@arm.com Date: Fri, 19 Feb 2021 14:20:37 +0800 Message-Id: <20210219062041.2015421-1-feifei.wang2@arm.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-stable] [PATCH 19.11 0/4] Enable Checksum Offloading for NEON vector X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" This patch series are mainly to enable checksum offloading for IXGBE NEON vector PMD, including good and bad checksum flags. In the meanwhile, the first patch enable VLAN stripping flag for Arm. Following are the test results for the patches: NICs: 82599(igb) Driver: ixgbe(vector) $:./app/dpdk-testpmd -c 0x3 -w 0002:f9:00.0 -- -i --port-topology=chained test-pmd> set fwd rxonly test-pmd> set verbose 1 test-pmd> start With Patch a: enable vlan stripping: src=00:00:00:00:00:02 - dst=00:00:00:00:00:01 - type=0x0800 - length=70 - nb_segs=1 - VLAN tci=0x1 ol_flags: PKT_RX_VLAN PKT_RX_VLAN_STRIPPED With Patch b: Packet: IPv4_checksum = 0xee && UDP_checksum = 0xee src=00:00:00:00:00:02 - dst=00:00:00:00:00:01 - type=0x0800 - length=70 - nb_segs=1 ol_flags: PKT_RX_L4_CKSUM_BAD PKT_RX_IP_CKSUM_BAD With Patch c: Packet: IPv4_checksum = correct value && UDP_checksum = correct value ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD Feifei Wang (4): a). net/ixgbe: add new flag of stripped VLAN for NEON vector b). net/ixgbe: support bad checksum flag for NEON vector c). net/ixgbe: support good checksum flag for NEON vector d). net/ixgbe: enable IXGBE NEON vector PMD when CHECKSUM need to checksum drivers/net/ixgbe/ixgbe_rxtx_vec_neon.c | 94 ++++++++++++++++++------- 1 file changed, 68 insertions(+), 26 deletions(-) -- 2.25.1