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 6AC1BA034C; Tue, 30 Aug 2022 04:22:29 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 76A2541181; Tue, 30 Aug 2022 04:22:28 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by mails.dpdk.org (Postfix) with ESMTP id 3D2ED41140 for ; Tue, 30 Aug 2022 04:22:25 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1661826145; x=1693362145; h=from:to:cc:subject:date:message-id: content-transfer-encoding:mime-version; bh=JAfm3tjwBjmGZ2vzbV4qkr7OVdysNgNru6j1mR6VYVE=; b=G3MUB+WdBvlJBl2wcNC8ofrMJQwAnZfAA1EnBo2PWZ3MHlCHGJG3IuCA Cu4qtNSLzMVEa5FnDMGSGBWx/gEsDJ1t7AFe4PvsfVlU1tuoDzSVJNToi CyMbdOJXQXT75IY48CTt6cf3e1UtAMK4r3wYyl7HLcDqzaoYuXnz7iNzd hZ6v8gKmNsdTtd9OUnWuqH1u6Kj/DoBI2x5bKi2Y4TB0bXm+G6dygrDcW 5r3xcUHzgU6iB8orNPNUwJ1bllOcoqNhKJAuRfJVdnWo/oxGB/6jhNctS lul0WbmScqfvZE+FemRnaP3/wTsVv76ZlaMckyj7ZoDT6nnt8prQeIC9I Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10454"; a="381354394" X-IronPort-AV: E=Sophos;i="5.93,274,1654585200"; d="scan'208";a="381354394" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Aug 2022 19:22:24 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,274,1654585200"; d="scan'208";a="679856245" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by fmsmga004.fm.intel.com with ESMTP; 29 Aug 2022 19:22:24 -0700 Received: from fmsmsx608.amr.corp.intel.com (10.18.126.88) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Mon, 29 Aug 2022 19:22:24 -0700 Received: from fmsmsx608.amr.corp.intel.com (10.18.126.88) by fmsmsx608.amr.corp.intel.com (10.18.126.88) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Mon, 29 Aug 2022 19:22:24 -0700 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx608.amr.corp.intel.com (10.18.126.88) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31 via Frontend Transport; Mon, 29 Aug 2022 19:22:24 -0700 Received: from NAM02-BN1-obe.outbound.protection.outlook.com (104.47.51.46) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2375.31; Mon, 29 Aug 2022 19:22:23 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ELo0vtXv7W7arjuzCkXIVnEOoytF46DvvSoB3Ps8mNGYZeWptWeyZJ/8Ti5Q9m9ggb2bAtgoOvegAJlKv+bqIeMn3o3UTSXjuhOF/ZzJfE9wRS1KOd10RRdrpMR2MZvYrjojUqMu/L76CUvUU2Lp1sqkRzjGdGt2YxI3Fvvx6inPvxv38lc3zifx3yQStoGUAwyjtETeLwKPyEXP4Mpw8CUZ6yMl2D3JYTG51X2Rw096Gfzeh34I/ed/8FLgKNvOwl9uI+1KbOpO5VovnAHV4Y5KcYQ+GO0fqy1kXOSxvwzGIs4h+XQfUGglWVnAS967sH/xL+8ToYErPUc4wUBOew== 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=llO/fyoUq7xsq0cl7IqvIB8NJz8yrx83Sf9APEd/cgQ=; b=j6Yg88mW6mImfDbmvV3cPoFf1zvbBw5zmPQbdyYINrHx4BqlVWRAG/DSoT3nncRMlztUFdXZVhMCKrZUWP7bxn3yZrtBiO2c4Q2dKmdp1iaOrpGGfboyyfeOBM/hg0DsCI0ov8uty5bRjRacYOA1Xxb0GQYwDrUuXbOtmG+0xzF9HFJlbdaY064yJfp4QXmkwBIL8ujYf1XA4oXnCtS4U026zftHwZCcBakWLIfwl6Fecf08FCkgXMb11SDZy9Cg8JtDG4ucF84c5K1+ZPbtkgxB+hO0I6U5VBsrlZEgbPXuo7U+rTa0+6l76+rDYfOvrEnrr6Zqo+uHIeoqpJELXw== 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 BY5PR11MB4087.namprd11.prod.outlook.com (2603:10b6:a03:18f::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5566.15; Tue, 30 Aug 2022 02:22:22 +0000 Received: from PH7PR11MB6056.namprd11.prod.outlook.com ([fe80::1822:806b:977e:158e]) by PH7PR11MB6056.namprd11.prod.outlook.com ([fe80::1822:806b:977e:158e%5]) with mapi id 15.20.5566.021; Tue, 30 Aug 2022 02:22:22 +0000 From: "Xu, Ke1" To: "Zhang, Peng1X" CC: "Xing, Beilei" , "dev@dpdk.org" , "Wu, Jingjing" Subject: Re: [PATCH 2/2] net/iavf: support inner and outer checksum offload Thread-Topic: Re: [PATCH 2/2] net/iavf: support inner and outer checksum offload Thread-Index: Adi7xZOqOanZOkH+SFixfZn1s2segA== Date: Tue, 30 Aug 2022 02:22:22 +0000 Message-ID: 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-office365-filtering-correlation-id: f4123f60-fa01-4e75-d4e4-08da8a2e788c x-ms-traffictypediagnostic: BY5PR11MB4087:EE_ x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: LTB+qnU2DsrDllchS0XC9HkjAfYaEGTpc0xDxW65b65x6jwhTUvjNDe0fjtaU8hsz2D+9UpnRvpOc3VnyF+FPvCQlAFajZctZPbGacvMZumn/xxxPSauh3kYLCqtZPjMrjFxywcJkx6XH9YR+D1SMyYBKU8Po2QHDy7DxBNdY4CIiSvhF0VVVnAWPdDzjGd4eduvO3niyjMmbtFr498ZHsv7zr9KKhiGMZlDLtSApSLyTrqVlHP5pPWXEOkyPLdgPKVLez6XcPqc7MLU/eITaeWsVRjyU74QxBYNyop4aZgx5DKmwR6caU+N3BKhBJsBAtUqaYFlVmf0c8SjhDoPrZdjU8BglFFgC1CYc8l6Pouse1y6Qi8VRPCz09ttHvNgkF6O1P8vjLnkLInegw9rtSiIk4XqEXXABx//uBlneK3wUrE4EOLWR6BQdy2lF/LKt1QR6/jjldbzBDG4Xk8KcTn7qrdv49WBD4sgTROsf5wLjihQTJTJHQDeDvpjLANA0ZMFx9uX+sygzmA47c6d1m+3g698YCyztcTuqirkXI3HkyRPjIy83n2OVhG79gOVdS40PUZBpqNDTWvrgDZfVXyENchdYaNuYDXNvdYxuz/CG+kNfAkCbLA6adVR4mMAc74tyCVl/BnhljhV/i6u6UNdrHsgyEs/vq/+N99PMAlYpxx66vAawztUkzCAM0jaNnNB6/UesY/adneKaMd3ys9C9NAxqfW3jz3D4iO3Bu2p/flLaBi/Fj3ZW+GWrDPU65gDYM6gHI1giGn9YfruDg== 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:(13230016)(366004)(376002)(396003)(136003)(346002)(39860400002)(76116006)(478600001)(5660300002)(4744005)(41300700001)(66446008)(64756008)(66946007)(66476007)(4326008)(8676002)(6506007)(66556008)(7696005)(107886003)(8936002)(6862004)(52536014)(33656002)(86362001)(55016003)(122000001)(83380400001)(186003)(26005)(38070700005)(9686003)(2906002)(38100700002)(82960400001)(6636002)(54906003)(316002)(71200400001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?kueyPYrFHbvePS84qhqvs2SSuDmkaLy7tz9hGrjNvSLagphPwa6VuNXnfwNr?= =?us-ascii?Q?0tOrbU9xhAV0mBkiPxi20Y+5Fx9w6QhbIJYEE8RuqCxa+nvLvN7KpT/zYo7t?= =?us-ascii?Q?UtB9rotQxNDDuUo7g/MrxJmTKTyMH0oQNwp24bOTluXrnBp6jh0gLru2uWyY?= =?us-ascii?Q?EOQjCMPqg6uwj7CESrzXyQqmXbgpq0tjOUpUmlEFbs80wOHZStUsvsYYztAj?= =?us-ascii?Q?wpxIvqfLYPCYzBbSCKuddmcosUqmypaKVA9U6Z2HzU0ULwgLd4tF5YM6G+EU?= =?us-ascii?Q?TQn0w3ysgVEiKiPerqeyQv4fngERcKWf6X7xDxjRxDHYo2LE8d3jt56ZD/6U?= =?us-ascii?Q?9MvF5q8k2mzjeCMPoYHHLQX3I8jI9VRMjJbGzJ5RmpxccOqjAGn52uNFp3N1?= =?us-ascii?Q?qrvJYPTQyy2aX2OzPY87rWGZmOp71dAG5611xNVaROV1EABwpklPppsO4hKT?= =?us-ascii?Q?oTZQzyi5xE/V/fY7oT0thekwwYhLOf7HbYziipM2HigXUY8i3V4d4J0DjWb1?= =?us-ascii?Q?kPPARr5N+pFLlNAtZVyOJp386+S1/nnCG2sJElr5CHeCSbbgFCUUQHDI0LgL?= =?us-ascii?Q?ntWoHzDJVbOigxYk6YQ3MFbmuvigT82qv0vX1BUw5XrGGiFduepvEhOb7mBX?= =?us-ascii?Q?nvRIbiR6Tx1w/QEcUISU/OvKxnV8prajwcgL41aZ3wKveK+wfhOv5Y5OH2qY?= =?us-ascii?Q?QOnH8hPHalpb+k71UBSJrIzfGhWaZ9Zn3dCeDXc4z8OV040ASH3dFQpTKNZX?= =?us-ascii?Q?dWCaNoBvehPG9uYk+CRL76QNfIMxLND53unJaio0XEm/T+nO/95q1AoZyJgU?= =?us-ascii?Q?Ye6wrQ1LR++iyUDGFUzVYg2YPSBz5EjBN8hkCf5n6UhSuo5cMxd/QYdnTbYA?= =?us-ascii?Q?/JAuzh9HnUypcu1ZkfdMQQv/oCEGkH41iB+v8YllBAV0Ho01EHGfDYLRCE+I?= =?us-ascii?Q?DCuObwOyehK7UsFf49QtwAQ3NdU7g+FkiD7J4yqb0Y3IGDcL5mzqqE1JMSUI?= =?us-ascii?Q?8z487H0xe/VvtMVwNFuybRjKk9JsoRetvovjyEAnM96W4k/VOab64knRh9mf?= =?us-ascii?Q?1GmyirIsrL6Qc+8bfShy3KPylcFBOt97IdklZhifJlbGDOGqzucn+0ittGSv?= =?us-ascii?Q?SKydvPT5e7rL84z0WZYDwJHP3ZFCtLBya+R77MjejdBwDG5j4h7c0c6DWXMo?= =?us-ascii?Q?Te3uRQvHSxivSuKYbnxmsBAORANedvs2XuhipSKnTT6KJWjHdRAzBZh5rKx9?= =?us-ascii?Q?3iUwgPe207x6EhhxUUI+71Q0+WdOjzXpwWeP2XFtPre/8vqnoRNv8EyEcBfu?= =?us-ascii?Q?dMaRItSTWgC2QbPlFnd4ALqa+KsNDVkK+boFh/GCirtR5jvb7Ufww3Vjbzk1?= =?us-ascii?Q?SpUDRpU3/P2rWtvVp9vpzZhD285M/3k8bnmobJQPjrfaYFfSAuQwyLuGj9xt?= =?us-ascii?Q?5yILLgh1DJ+WKfpUJ0pVyigjbrL7F0gb9MJy2OQnhUgd5fq4hIt5tbEZJu17?= =?us-ascii?Q?ERtVfyELj0l08++Q23CN9+Jbhcp+b5NGnt89A7CABaiF5mj3Q6hUjWk1GHnt?= =?us-ascii?Q?uPh2cNaW+b6++njBj38=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: f4123f60-fa01-4e75-d4e4-08da8a2e788c X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Aug 2022 02:22:22.1658 (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: 5PMgPxhcFTJnWuV7obXI3dNZAx+67+Lws8qejGN2ne8ZG24JmFeO+5RNGERVaE+KF7NL/gXVaey/2ipqkvalJA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR11MB4087 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 > Subject: [PATCH 2/2] net/iavf: support inner and outer checksum offload > Date: Sat, 13 Aug 2022 00:52:23 +0800 > Message-ID: <20220812165223.470777-2-peng1x.zhang@intel.com> (raw) > In-Reply-To: <20220812165223.470777-1-peng1x.zhang@intel.com> > > From: Peng Zhang > > Add the support of inner and outer Tx checksum offload for tunneling > packets by configuring tunneling parameters in Tx descriptors, > including outer L3/L4 checksum offload. > > Signed-off-by: Peng Zhang Tested and passed. Regards, Tested-by: Ke Xu > --- > drivers/net/iavf/iavf_ethdev.c | 3 +- > drivers/net/iavf/iavf_rxtx.c | 51 +++++++++++++++++++++++++++++++--- > drivers/net/iavf/iavf_rxtx.h | 8 +++++- > 3 files changed, 56 insertions(+), 6 deletions(-)