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 76F88430E2; Wed, 23 Aug 2023 10:33:22 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E5C05410F1; Wed, 23 Aug 2023 10:33:21 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.31]) by mails.dpdk.org (Postfix) with ESMTP id 2C41540ED6; Wed, 23 Aug 2023 10:33:19 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1692779600; x=1724315600; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=Tay1m84QcV0foZlVsoT6/0sVMe9E10RRw7bEfMU36ec=; b=X/jCuW6nxylpXJSK1pRtttkFfeJ9/BnWZwUzrBUY90mwrXLqkN5UZrL4 1Ii/G12uITw1OTyfBnQmo4bkwmuBKsHFV9gc87w4l6gFqDDip+orXcYon Qn8Qaf617AeXpqCFpjHRyyoHcVhqhvFDvUCXKqykJvAIZevXvFG1y7jDx +YBMGsuBriPFDuqdP9eCLksnwnlXF/u/19Gjga3aiYyYJbRYtESPfX53f VdHCCUeDuSoczTrfbTfuF7wNiojIH9uCVeaZ9N9GNXFF7gooYiQWxNXuY Ia8117fRi8fOooUiDrb+cJvjZ2GjbsjzwfnE1brytyQpVQ6lTmrLVOUZw A==; X-IronPort-AV: E=McAfee;i="6600,9927,10810"; a="438038398" X-IronPort-AV: E=Sophos;i="6.01,195,1684825200"; d="scan'208";a="438038398" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Aug 2023 01:33:18 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10810"; a="730143221" X-IronPort-AV: E=Sophos;i="6.01,195,1684825200"; d="scan'208";a="730143221" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by orsmga007.jf.intel.com with ESMTP; 23 Aug 2023 01:33:18 -0700 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) by ORSMSX603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Wed, 23 Aug 2023 01:33:18 -0700 Received: from orsedg603.ED.cps.intel.com (10.7.248.4) by orsmsx610.amr.corp.intel.com (10.22.229.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27 via Frontend Transport; Wed, 23 Aug 2023 01:33:18 -0700 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (104.47.58.169) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.27; Wed, 23 Aug 2023 01:33:17 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nbYR3ZzhpzvH5OqEouMaKF8gBLNMOO3zFSnF6JVJocKJEcA1ffqak/sdruRxiOFgeSVhZ8zyQddl/uH8ZQwDaNpa678UW5ZCodHru2+AjvULFEpmVMuB4oYTga8LAAFuG1hpuBQS9gQG9GYXIMT5RcbgoIVA1OzfLBRZpvWspmHySmJPMV9zkg/b2SNbiuHOUFlQuYCfz3C+rHon7NMWe0jWhjhNnYUc0lM/mpaaAHaEYF6grvqajQYUV65CMqDY0wQhULaidbQ8NB/vPGL4O276ccue+s/rU0EVrBG2EGrnhA/6mYgQ3AN250JSByjzbgTxM8/hWRoA6fZNcZFmiw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=Tay1m84QcV0foZlVsoT6/0sVMe9E10RRw7bEfMU36ec=; b=cZl02fGgde6u2tu4vt906paUExQvsoO0qZg/IFno0f9iFAr3vaVsCrq0eqlaKcKbcBfXJ7QJtsqCo8Z9YXOrig8+H+8TBt2zWXZdgK5Si5xKvwQ6XhFZljWvs/sp/V3+qdJqPmIm6oyRbUzRphwibI0GIbGNvKCVOFsKoE8vrKnGJVLPi0Lc1VZSPxw270YDWsUGa+ewOVinfGmjJFQlYAVRBBpDsyms+nJFn8oy1sVQlVhRE2j0MVk/ZgpDSwBMVKlMSi5lz6HC/4GrjN4Wc1IJ+bWLkjCkVYToa/xVulfuOVZP92f29N1cuYVGou+h4h2LT2SF/ag0VVuU56z73Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Received: from DM4PR11MB5994.namprd11.prod.outlook.com (2603:10b6:8:5d::20) by DM4PR11MB5326.namprd11.prod.outlook.com (2603:10b6:5:391::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6699.24; Wed, 23 Aug 2023 08:33:11 +0000 Received: from DM4PR11MB5994.namprd11.prod.outlook.com ([fe80::8a49:15a2:ab69:91c3]) by DM4PR11MB5994.namprd11.prod.outlook.com ([fe80::8a49:15a2:ab69:91c3%4]) with mapi id 15.20.6699.020; Wed, 23 Aug 2023 08:33:11 +0000 From: "Zhang, Qi Z" To: David Marchand , "dev@dpdk.org" CC: "echaudro@redhat.com" , "mkp@redhat.com" , "stable@dpdk.org" , "Wu, Jingjing" , "Xing, Beilei" , "Sinha, Abhijit" , "Doherty, Declan" , "Nicolau, Radu" Subject: RE: [PATCH v2] net/iavf: fix checksum offloading Thread-Topic: [PATCH v2] net/iavf: fix checksum offloading Thread-Index: AQHZ1YstKup8d3v+LUykzvRDA34AEq/3jalQ Date: Wed, 23 Aug 2023 08:33:10 +0000 Message-ID: References: <20230818090351.2402519-1-david.marchand@redhat.com> <20230823062911.2483926-1-david.marchand@redhat.com> In-Reply-To: <20230823062911.2483926-1-david.marchand@redhat.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: DM4PR11MB5994:EE_|DM4PR11MB5326:EE_ x-ms-office365-filtering-correlation-id: 8d3b09bb-58a8-4433-7a7a-08dba3b395b2 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: YxfXV5/VIyRM/1JkfqyPaNh63t9yIHCdCW7DkhDz+vjKM3QNNrDrxGXAc/MkVsS0gG+TnghOg7zK3EvWqOgS0UmBKYukY710C6Tm+kHWPYdTVNV2rz4Axfm0xpAe9UMTDkt6pP//tOpdVfscNjxy/kV1dIrDGRGpIQuXGem3ROgbnEA7Q7+dvMgIWlrTdbTdztZIgNxRbFOtItnxBR6bcmgawFsQ9NRubXjmqzru6+UQjAr5NVplktXQhoCEvC1vQ57+s35rz0DWtOsvjsziLd9jxNT7y+/b99Ebo1Mygx31fCbV1LXmpYzgN6/DJEuQOCyKyf5vq6YZqqNa9GK5wsWt2LEYPIUFMLWWRmYmE82ZHKZ9Xk8q9p4y94Jp1gzwYq5oIIFbcL31XtHodWFH/E3bEvfGK5ZpG4Fk876VioaOeuUdfNC/Z+djyPp/4I9y1WxNWAyKDwDcFuHQv4oTtePAO9rbHXu3kJ6XdX9mbha7CJMJuGyFmdvjgTymBbodGcpmdEIdLINATf9q1zwNiK3fHOVWr8udvRmMOGYcQgR19HMkFnnBGYIStftq7uvYqQnvQnN2cU7O7Z421iBynb8NxvFeG92up6CC633sW9A= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM4PR11MB5994.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(376002)(396003)(136003)(346002)(366004)(39860400002)(186009)(1800799009)(451199024)(54906003)(66946007)(66556008)(76116006)(64756008)(66446008)(316002)(66476007)(110136005)(8936002)(8676002)(4326008)(82960400001)(107886003)(9686003)(41300700001)(122000001)(478600001)(55016003)(71200400001)(52536014)(7696005)(38070700005)(38100700002)(6506007)(53546011)(83380400001)(2906002)(4744005)(86362001)(5660300002)(26005)(33656002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?zzNZTteDNtexmZ28fqgjWoWLMR6cAYDX6+Cv6ploSPH3Nxp5pj4rs1+U/qS2?= =?us-ascii?Q?7R1ri5DnZiB5Vu+wYm1CUFYNs1+ZSbiYYAGGe1LlzI+BPXASFVRE14xDf/uD?= =?us-ascii?Q?0dWHivjZlgXLONt+810/XjvqhN6DefIjWp/oNa+knxi67Fn3TZkUnQ+P84g9?= =?us-ascii?Q?Bzh3EuMSHagwxdILJMmt1f0AbPtLVSHJO5MemNoldvctBD/91cjjiXRgcqz8?= =?us-ascii?Q?eTNIrv7b8/s2U7QdgnKaQCZoKnvD/GvbldI4bIXe90RDzpbAoi25DK5hP1/L?= =?us-ascii?Q?F4pF0uCHKezquGkIKc3wlqNZYrzn7yA+0MyffxBR5kdEccYlGuQW0AcfJBhI?= =?us-ascii?Q?MhGeqFnENwGvPjr1cPHwEKbLfrh3SqlbuFhsPYE9mo4ye3s3HGPnxJgEWtxg?= =?us-ascii?Q?zXc4atbf5Sa0pGS7q0NbMydo8+39/tlriSw8ik6IYKLTzcGMmyJNlPizIukY?= =?us-ascii?Q?dO++slf7JWIDPuBlELZJX0luTmM+sKr2EY2MNdYM/SZHdhtDqiCdUrljtJcb?=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q7tAQxyPtYZmYCxuVAuEo/WrQP1efjwIHHFLXM?= =?us-ascii?Q?IQ6UVVuftAruW7GZv5iB5/bMW14HGFxQ333ligTV3O2dYm5tbo4A/XflPNKy?= =?us-ascii?Q?ruILwWZpHXbcgUOF8j+/O3eLy9ZQaiJalL/gWiuk10H8HaumjtweMJ2tLP8Y?= =?us-ascii?Q?br7DwIgdHIarPY2tgKzUfxA6mQOzS6pKWVXIlW1e?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM4PR11MB5994.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8d3b09bb-58a8-4433-7a7a-08dba3b395b2 X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Aug 2023 08:33:10.8653 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 8Bb+EGbUIniDnywRMttMFuBx3CcMYk6SP+FQCfSUXXlMqpSLeIxwTDVOSi55YRoIExjoiW5bT4Ie0IsUjI8qzg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR11MB5326 X-OriginatorOrg: intel.com 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 > -----Original Message----- > From: David Marchand > Sent: Wednesday, August 23, 2023 2:29 PM > To: dev@dpdk.org > Cc: echaudro@redhat.com; mkp@redhat.com; Zhang, Qi Z > ; stable@dpdk.org; Wu, Jingjing > ; Xing, Beilei ; Sinha, Abh= ijit > ; Doherty, Declan ; > Nicolau, Radu > Subject: [PATCH v2] net/iavf: fix checksum offloading >=20 > l2_len and l3_len fields are related to Tx offloading features. >=20 > It is undefined in the DPDK API what those fields may contain if an appli= cation > did not request a Tx offload. >=20 > Skip reading them if no Tx offloads has been requested. >=20 > Fixes: 1e728b01120c ("net/iavf: rework Tx path") > Cc: stable@dpdk.org >=20 > Signed-off-by: David Marchand Acked-by: Qi Zhang Applied to dpdk-next-net-intel. Thanks Qi