[v2,0/4] Enable Checksum Offloading for NEON vector
Message ID | 20201118104859.29047-1-feifei.wang2@arm.com (mailing list archive) |
---|---|
Headers |
Return-Path: <dev-bounces@dpdk.org> X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id EFDD1A04E6; Wed, 18 Nov 2020 11:49:39 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 59F85592C; Wed, 18 Nov 2020 11:49:38 +0100 (CET) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by dpdk.org (Postfix) with ESMTP id 7D1B737B1 for <dev@dpdk.org>; Wed, 18 Nov 2020 11:49:36 +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 D84A3D6E; Wed, 18 Nov 2020 02:49:34 -0800 (PST) Received: from net-arm-n1sdp.shanghai.arm.com (net-arm-n1sdp.shanghai.arm.com [10.169.208.219]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 774F73F719; Wed, 18 Nov 2020 02:49:33 -0800 (PST) From: Feifei Wang <feifei.wang2@arm.com> To: Cc: dev@dpdk.org, nd@arm.com, Feifei Wang <feifei.wang2@arm.com> Date: Wed, 18 Nov 2020 04:48:55 -0600 Message-Id: <20201118104859.29047-1-feifei.wang2@arm.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20201118073524.25646-1-feifei.wang2@arm.com> References: <20201118073524.25646-1-feifei.wang2@arm.com> Subject: [dpdk-dev] [PATCH v2 0/4] Enable Checksum Offloading for NEON vector X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions <dev.dpdk.org> List-Unsubscribe: <https://mails.dpdk.org/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://mails.dpdk.org/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <https://mails.dpdk.org/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org Sender: "dev" <dev-bounces@dpdk.org> |
Message
Feifei Wang
Nov. 18, 2020, 10:48 a.m. UTC
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 v2: 1. update the commit message title to align the design (Wang, Haiyue) 2. make the commit message more descriptive and move the test results to the cover letter (Wang, Haiyue) 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 when need to checksum drivers/net/ixgbe/ixgbe_rxtx_vec_neon.c | 94 ++++++++++++++++++------- 1 file changed, 68 insertions(+), 26 deletions(-)