From patchwork Wed Dec 29 09:37:00 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kevin Liu X-Patchwork-Id: 108383 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 1B826A0350; Mon, 28 Feb 2022 04:27:33 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0943240DDB; Mon, 28 Feb 2022 04:27:33 +0100 (CET) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mails.dpdk.org (Postfix) with ESMTP id 5FE2A4068A for ; Mon, 28 Feb 2022 04:27:31 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1646018851; x=1677554851; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=CojYEPk82d7bHkO5SnJsg66fCffoS9k8a6IGQOu8KoM=; b=Zvg6ubyen5ZlkkbVjUm9NL6szaoSH+dYjF5k/6di469z60qrzghBPQmi UFWHL2ykjnafLBVb4kfkjrnJuWj3JRsF7ublp2v7ChF7U2qqyGlLgmx4O Svtrdklde5spjcMIeWXOyJIhbvihHueMGyy8Bfon9LHR42ssVEAQ2G+9O S+IKebBJCzbd6olAWLUoniro6XIOu4uqSlAyQzr+uxxq1Ik7ZBXNe7F7p BsWQj2m5U5ORG2zvr9uNQ5y4f1k4WMwQ/fA6tVDUSk2jbHx2XwFKA9uU5 vgnwPmswyLFDW3XD5/1SrovO4w/e/Cu0r/SwnFNxfbJJJnMdtAIhAZb/c g==; X-IronPort-AV: E=McAfee;i="6200,9189,10271"; a="240203485" X-IronPort-AV: E=Sophos;i="5.90,142,1643702400"; d="scan'208";a="240203485" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Feb 2022 19:27:30 -0800 X-IronPort-AV: E=Sophos;i="5.90,142,1643702400"; d="scan'208";a="550057515" Received: from intel-cd-odc-kevin.cd.intel.com ([10.240.178.191]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Feb 2022 19:27:26 -0800 From: Kevin Liu To: dev@dpdk.org Cc: qiming.yang@intel.com, qi.z.zhang@intel.com, stevex.yang@intel.com, ferruh.yigit@intel.com, Kevin Liu Subject: [PATCH v2 0/2] fix udp checksum error Date: Wed, 29 Dec 2021 09:37:00 +0000 Message-Id: <20211229093702.1930214-1-kevinx.liu@intel.com> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20211224150925.3296471-1-kevinx.liu@intel.com> References: <20211224150925.3296471-1-kevinx.liu@intel.com> MIME-Version: 1.0 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 This patchset fixes two related issues: * When outer UDP uses HW to calculate the checksum, select basic path to process the package. * Correctly modify the calculation method of inner and outer L4 offset. v2: - Separate testpmd fix and pmd fix into two patches. Kevin Liu (2): net/ice: fix Tx offload path choice app/testpmd: fix SW L4 checksum in multi-segments app/test-pmd/csumonly.c | 6 +-- drivers/net/ice/ice_rxtx.c | 41 ++++++------------- drivers/net/ice/ice_rxtx_vec_common.h | 59 +++++++++------------------ 3 files changed, 34 insertions(+), 72 deletions(-) Tested-by: Zhimin Huang