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 32324A04A7 for ; Mon, 10 Jan 2022 10:36:36 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1E561426D7; Mon, 10 Jan 2022 10:36:36 +0100 (CET) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mails.dpdk.org (Postfix) with ESMTP id 31AC94013F; Mon, 10 Jan 2022 10:36:33 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1641807393; x=1673343393; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=szAZck3AFGdV0pxMN1xep86JEL6JBN+OW7zQlSchz+I=; b=RWU6x76V5VLn3ipZsX+a6/hsXd5pl6xcrZTnzbbST45+2qb7W9KPPamh DYEAAv9hbbYjweQuESfsvVWbDQ5QmkKFw8e/nv/fqCGM4iRPhSSMDEamG L95YAN8CRdHa2WuTteJO93kuWtqQg/BCV7xysiJKrLnT5n7jtgci0ObWy 31mvBE6zzSaUoQfpFFIO6H4pVdt42cF1eDXec+jq1G+IWb6KTz2Mry3gQ uWwliUBm1W4ci4ZwsteTUFx3EAz8QgY2OJ2C+JieGvLuY+ai/fOVzucnV k2gEaMvay6zrvFFns8+/N429NrS1zEg1s7Ly84EzboTNgie6nVLuznmhH g==; X-IronPort-AV: E=McAfee;i="6200,9189,10222"; a="242987112" X-IronPort-AV: E=Sophos;i="5.88,276,1635231600"; d="scan'208";a="242987112" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Jan 2022 01:36:32 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,276,1635231600"; d="scan'208";a="472017645" Received: from fmsmsx605.amr.corp.intel.com ([10.18.126.85]) by orsmga003.jf.intel.com with ESMTP; 10 Jan 2022 01:36:32 -0800 Received: from shsmsx601.ccr.corp.intel.com (10.109.6.141) by fmsmsx605.amr.corp.intel.com (10.18.126.85) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Mon, 10 Jan 2022 01:36:31 -0800 Received: from shsmsx601.ccr.corp.intel.com (10.109.6.141) by SHSMSX601.ccr.corp.intel.com (10.109.6.141) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Mon, 10 Jan 2022 17:36:29 +0800 Received: from shsmsx601.ccr.corp.intel.com ([10.109.6.141]) by SHSMSX601.ccr.corp.intel.com ([10.109.6.141]) with mapi id 15.01.2308.020; Mon, 10 Jan 2022 17:36:29 +0800 From: "Zhang, Qi Z" To: "Liu, KevinX" , "dev@dpdk.org" CC: "Yang, Qiming" , "Yang, SteveX" , "stable@dpdk.org" Subject: RE: [PATCH v2] net/ice: fix Tx Checksum offload Thread-Topic: [PATCH v2] net/ice: fix Tx Checksum offload Thread-Index: AQHYAUlgHvsQ2XNe6UKR/44AwaqJ8KxcCF7Q Date: Mon, 10 Jan 2022 09:36:29 +0000 Message-ID: <51bfe86190e64e0ea4cb80735eb8ea22@intel.com> References: <20211208095626.85026-1-kevinx.liu@intel.com> <20211212143520.2356157-1-kevinx.liu@intel.com> In-Reply-To: <20211212143520.2356157-1-kevinx.liu@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-reaction: no-action dlp-version: 11.6.200.16 dlp-product: dlpe-windows x-originating-ip: [10.239.127.36] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 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 > -----Original Message----- > From: Liu, KevinX > Sent: Sunday, December 12, 2021 10:35 PM > To: dev@dpdk.org > Cc: Yang, Qiming ; Zhang, Qi Z > ; Yang, SteveX ; Liu, KevinX > ; stable@dpdk.org > Subject: [PATCH v2] net/ice: fix Tx Checksum offload >=20 > The tunnel packets is missing some information after Tx forwarding. >=20 > In ice_txd_enable_offload, when set tunnel packet Tx checksum offload ena= ble, > td_offset should be set with outer l2/l3 len instead of inner l2/l3 len. >=20 > In ice_txd_enable_checksum, td_offset should also be set with outer > l3 len. >=20 > This patch fix the bug that the checksum engine can forward Ipv4/Ipv6 tun= nel > packets. >=20 > Fixes: 28f9002ab67f ("net/ice: add Tx AVX512 offload path") > Fixes: 17c7d0f9d6a4 ("net/ice: support basic Rx/Tx") > Cc: stable@dpdk.org >=20 > Signed-off-by: Kevin Liu Acked-by: Qi Zhang Applied to dpdk-next-net-intel. Thanks Qi