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 F0DE7A0543; Thu, 22 Sep 2022 11:03:21 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 02DC7427F0; Thu, 22 Sep 2022 11:03:18 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by mails.dpdk.org (Postfix) with ESMTP id D319E410E8 for ; Thu, 22 Sep 2022 11:03:15 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1663837396; x=1695373396; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=OTFMc6prwtoHV+PbIo1Rjor6OD35iipnKryrcZwALSY=; b=Ewc1WS8NZfwtGJqe60HcrtjVMrcadMZAIxMLM1/hncwBYHw/0nfC8eZ8 N9n6kHEAw04ammPUwBbwkaJGtf5x3bomy642S7YW+/fn6XRIcBPrK29Tg mjcFrq2/+IV2hCJAittybogCjXj+n0VUtDN3aGP9+iO5pCIZyRK02bEQW I16IKljPp+B55HUyxZNnEC4lCnYrIvKzUnGrXgLQSUmeWGpV8JLA1pFK2 hZlEU6MUmwXoEJ4xKwydNNg2gvq3ZJHwOeUjHGFMJ8KaUXnWTlGXW2QP8 pMLaJQunWJLwQZx48otafd4J9xFOJvaBdycSeXYcdYFgBS3PY2tV8PLXm A==; X-IronPort-AV: E=McAfee;i="6500,9779,10477"; a="300229905" X-IronPort-AV: E=Sophos;i="5.93,335,1654585200"; d="scan'208";a="300229905" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Sep 2022 02:02:58 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,335,1654585200"; d="scan'208";a="723578534" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by fmsmga002.fm.intel.com with ESMTP; 22 Sep 2022 02:02:58 -0700 Received: from orsmsx608.amr.corp.intel.com (10.22.229.21) 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.2375.31; Thu, 22 Sep 2022 02:02:58 -0700 Received: from orsmsx607.amr.corp.intel.com (10.22.229.20) by ORSMSX608.amr.corp.intel.com (10.22.229.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Thu, 22 Sep 2022 02:02:57 -0700 Received: from orsedg603.ED.cps.intel.com (10.7.248.4) by orsmsx607.amr.corp.intel.com (10.22.229.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31 via Frontend Transport; Thu, 22 Sep 2022 02:02:57 -0700 Received: from NAM02-SN1-obe.outbound.protection.outlook.com (104.47.57.40) 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.2375.31; Thu, 22 Sep 2022 02:02:57 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QNe9xQlj4O8zZsHptpSWkb+/ZhtzKMbgfAZjVNdKHR8wxRQZSg1M+ryr+2pyE+KVfj/S6yP6WDA+TfsWsjL0HiPjC+6uRMgrD+1NFn8SK5kZ0NaCZv7zRuYUq/3tYnLjOsRE7DBb1EFcjXVVVFQsChyRWdowBsLQ7sjJH0cGF/RJtDUtic4mp94dbZPTeDTW1fZD1y7yilWA1DhuYE/vnPck5bAsHhWrpel0+oggtTxcWG/K/LrJUOafJq72Wwipvs3Pp+jGufOYh8k9icoK64d6KRtHiZAP4nnjvAcxW8aAnNyS4B5a1Ys41hHIkAv2z0pJyohn7t6AoUsZs6DL/A== 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=h136+bfjYL9qOv2FeqEoCXm8aEhbVWIE4Y0SvruqxAk=; b=dK5qGvE1VXfgCSCtARbOJSXVjKF8qWYraACif9e//96NHlZVP9PqCg4WhP8uBwSi36ytd8zivb0vgU7K4XvyFkjuXZ/JKq3b7sDkA+0d4eHjKlhgnAism61Fg7qzBrxlQ0twp7/BD9MuZf+owuSuOwjtVwsM1/OnWFROQANXyvDvjTwnWRikA5lYNcOxqIT2asStn/3x0Ld+p6F/AJ71jy+St4sjGY/A870J7FNUVaMDB4rDu7C8bws802kG6wArHihjhwryL+XcseOhEVzUAM7GDbiXa2UMFrkxfLcxozAb/gr4cJOZOyj7G2TeVr1W1liK3ZfdViqwhWwWfyNSwQ== 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 PH7PR11MB6056.namprd11.prod.outlook.com (2603:10b6:510:1d4::20) by PH0PR11MB5904.namprd11.prod.outlook.com (2603:10b6:510:14e::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5612.22; Thu, 22 Sep 2022 09:02:55 +0000 Received: from PH7PR11MB6056.namprd11.prod.outlook.com ([fe80::7508:c5b7:79df:bd21]) by PH7PR11MB6056.namprd11.prod.outlook.com ([fe80::7508:c5b7:79df:bd21%5]) with mapi id 15.20.5654.019; Thu, 22 Sep 2022 09:02:55 +0000 From: "Xu, Ke1" To: "Zeng, ZhichaoX" , "dev@dpdk.org" CC: "Yang, Qiming" , "Zhou, YidingX" , "Zhang, Qi Z" , "Zeng, ZhichaoX" , "Zhang, Peng1X" , "Wu, Jingjing" , "Xing, Beilei" Subject: RE: [PATCH v3] net/iavf: enable inner and outer Tx checksum offload Thread-Topic: [PATCH v3] net/iavf: enable inner and outer Tx checksum offload Thread-Index: AQHYzNGPUATEmmA0bEmUtL6yrUz4mq3rKYzw Date: Thu, 22 Sep 2022 09:02:55 +0000 Message-ID: References: <20220901093307.284903-1-peng1x.zhang@intel.com> <20220920091452.188014-1-zhichaox.zeng@intel.com> In-Reply-To: <20220920091452.188014-1-zhichaox.zeng@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.6.500.17 dlp-reaction: no-action 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: PH7PR11MB6056:EE_|PH0PR11MB5904:EE_ x-ms-office365-filtering-correlation-id: fe53c8df-95e2-4484-fb9a-08da9c793d17 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: wBIA1QRxc3iDf+wRJ2IWNNxeoMu3aP1krd1euh5YWSHR4zfBSZ7I1GXvMKBEsErA59N7BqIbzUMYLRMByzVgOQYaH5UDFfNZVDCbV5U+gf7CrMX6CYFsNx1H+LbVFIHG6wD2Z5pYl0ZKO3Vlj4vaH6j0I1vZIbNRU+FOnStm5Osu4UjFlLWTbe3dyRivEcxs/fmtlhlhaQhOzLS6FfOKaW/pOsg7Tfs33wanX4v30n0T3rfUer9mo/+JHKnSFoITN+zZ+wFVtZZICcXTRyxXgiuMAG6F9hlbcP1P6lCdZNP0WRAvOtqtahLq2OV28KfAd37d0ZJKaMdAtE2n+D1pE07GJ2k++sPo3BBD8oVbAcF3vFTj97ZKxrz/+SQXRSzi1PBtPsODr2ll9L0yxE1kIpqXkgnbyxr8NDFSkuag5HM7R8f8Ml+avIZPHSOsgH7g7MBl3Z4cCRjjoXxQ97926iL5I1E7h+WtrWHKqcB/eKnKeTvM+tSj3sNScGjzE4NGOqEwvhJuKEdxsfcS9acUzsLXv9ED+O3O2IQgylxX1B5xpLKchpSQJoVmotAGY5vHVtQSffaUQibvG10qgUls9nfGqgFESHo4FybEqJYh/e8RcnLL2wPi4Hdiy5XB14LM5bxR1+CNcPvJJufbPghMR4D5RL4hA0lBYQAYSNbwLWEsWn+NPYdLOAI5X2EhX3GoWpmxxHaertGWp51aRJPjCrnHDStUDNHDiLAnNH5xHS2ctGmXIO7nPdHrDS7N24Ca6UB2szwny1E/Cw8a1lBNew== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH7PR11MB6056.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(366004)(136003)(346002)(376002)(39860400002)(396003)(451199015)(26005)(66556008)(76116006)(38070700005)(186003)(7696005)(478600001)(66946007)(8936002)(83380400001)(2906002)(4326008)(122000001)(52536014)(64756008)(66476007)(5660300002)(8676002)(66446008)(6506007)(82960400001)(71200400001)(316002)(9686003)(55016003)(86362001)(54906003)(53546011)(110136005)(38100700002)(33656002)(107886003)(41300700001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?y5iXbUWwWZo3eTMymNTXSOm51SOA1iRHKT7dOHXVrzgmWrUiWAMn5WIzF0mD?= =?us-ascii?Q?xfQaluruqytoBngxp0FUPsh6TL21Lb/T+GlJ2ITg8mU/QkBFQskjrFSif7OI?= =?us-ascii?Q?7Q/fG7tq8hfOD1zxYmQj0/nxNZz7pnHUpQkEVmOZDG2YNUqVYG8kW1VlFRHW?= =?us-ascii?Q?ZTRcAUNF2lfLUvdr9InbngT9l85jg0ul2V12RDauIV/5JTRx73/ItCN/HCzM?= =?us-ascii?Q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vjQDKiKg8hTLotl?= =?us-ascii?Q?79RveM0Qr2TIaS/Rs8Sh/iUdvhnq+i0QjgBc56xY0jDWcOftpi8N67E2ErlM?= =?us-ascii?Q?pZ/FSnmgow5KHMOsyyomncU+3PEI8UK3+O5pRDgJ4VZRq4FmVmM5N1YG6ydq?= =?us-ascii?Q?j9DLTraUVecbdJZr5Faefjl3LuW26W8WQuvFnEs+/VysT2FNpI8nWl/zXqcz?= =?us-ascii?Q?Y6mzgllMdoCLZwp1CswQOoivdYNLKJJ8ESeEQaYXcSYndfpR47bNv7jAeMc/?= =?us-ascii?Q?f4u53WnQzUrsA4jMw60VK3Dtn0ZdcSV6rDSyPQO0yLoXefs4BIXKp5H8Al9x?= =?us-ascii?Q?kzpBeMcs5P97B7dlC6NjPejInVLHP3hcWkQhfBQGvzFodzolH6lyHHbLd/9a?= =?us-ascii?Q?ryxMvBCDcFVit05xaWAxJ5BxkAOM9KSz5rXkZ0jBNpVnlgxtif6ykUpuLOYk?= =?us-ascii?Q?oj6oTsDQK99cjZT3Jlo=3D?= 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: PH7PR11MB6056.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: fe53c8df-95e2-4484-fb9a-08da9c793d17 X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Sep 2022 09:02:55.5668 (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: C7IJVY9B+EgpLHT+/yXh33srm0VUva9K7POybkbg7YAEurJu6IVmWqPdS6Fkhga2sMSvpUiyqYEmNjjVCELcLg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR11MB5904 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: Zhichao Zeng > Sent: Tuesday, September 20, 2022 5:15 PM > To: dev@dpdk.org > Cc: Yang, Qiming ; Zhou, YidingX > ; Zhang, Qi Z ; Zeng, > ZhichaoX ; Zhang, Peng1X > ; Wu, Jingjing ; Xing, > Beilei > Subject: [PATCH v3] net/iavf: enable inner and outer Tx checksum offload >=20 > This patch is to enable scalar path inner and outer Tx checksum offload f= or > tunnel packet by configure ol_flags. >=20 > Signed-off-by: Peng Zhang > Signed-off-by: Zhichao Zeng >=20 > --- > v2: add outer udp cksum flag and remove unrelated code > --- > v3: specify the patch scope and update document > --- TX Vector path is not covered in this patch; VXLAN needs port config, can only be covered by DCF, not a bug; TSO not implemented yet, which will be tracked in another story. Functions in this patch is validated and passed. Tested-by: Ke Xu > doc/guides/nics/features/iavf.ini | 2 ++ > drivers/net/iavf/iavf_ethdev.c | 1 + > drivers/net/iavf/iavf_rxtx.c | 48 +++++++++++++++++++++++++++++-- > drivers/net/iavf/iavf_rxtx.h | 9 +++++- > 4 files changed, 57 insertions(+), 3 deletions(-) >=20