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 06CF4A00C4; Fri, 19 Aug 2022 03:45:56 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B75A740694; Fri, 19 Aug 2022 03:45:56 +0200 (CEST) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id 8B1A940156 for ; Fri, 19 Aug 2022 03:45:54 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1660873554; x=1692409554; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=56zA1+iZ3oWcuFlVqf0N6UsVMCZJOqw9Jv3N58Rx43o=; b=DltY6fuZ9Dyg8WI92hHfLJ2SVBs5O0t4YWi+vyeqW+tyKpTU4Dx0ed// phsyS3c6sqmIJjZKGiCQRhy65rws/B8w7XWK6lFIEdPPVYeJsQo80efz5 C0GQQx89gL0NlGqOBugaSmZ+upXow6bOf6jSObKWS+aPKQx5WESxVPUjK nscSE8JhU3t9c8985s9ghpHBaEpN4INgE4WSw/wMCNVZBBM8q+dOz6LOW ZQUsnRx/nleMzbFh/0n1y0/gl2tc3Al4a2BIN2NAfaogEb4Q7uKXFP1uU k2pSOg51KIctu6fp67c/sMSbG18sVN/u0bZeExjeDFpSxQfgDlRRSWfR3 A==; X-IronPort-AV: E=McAfee;i="6500,9779,10443"; a="290478406" X-IronPort-AV: E=Sophos;i="5.93,247,1654585200"; d="scan'208";a="290478406" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Aug 2022 18:45:53 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,247,1654585200"; d="scan'208";a="783986645" Received: from orsmsx602.amr.corp.intel.com ([10.22.229.15]) by orsmga005.jf.intel.com with ESMTP; 18 Aug 2022 18:45:53 -0700 Received: from orsmsx609.amr.corp.intel.com (10.22.229.22) by ORSMSX602.amr.corp.intel.com (10.22.229.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.28; Thu, 18 Aug 2022 18:45:52 -0700 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) by orsmsx609.amr.corp.intel.com (10.22.229.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.28 via Frontend Transport; Thu, 18 Aug 2022 18:45:52 -0700 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (104.47.59.172) by edgegateway.intel.com (134.134.137.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2375.28; Thu, 18 Aug 2022 18:45:52 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JCULu3dprRdQyyusJsRmOdWzKMxXyBS7L1ij6N/PF3cXzkG6FBqCjkkvfpyA0o58XoF2WEG3clt8hiRHFplZTh9UP/9/Ad8VXfdG0BM38MPRukyRh2GFJrU0L1f+FuqgpKoyELvSGj5+qPBG1rhnbNczkNThu5VkOG+exw0ktYwNM+k9VXH8rfZtXlbKM6qlBN/p42gZqx2TnQ3UOy7hIKlKqCKctj12Oq117vdn6tg59cv0LygT/d3GHqiK2UJsxqOQDvdyrZ75K6rDdbuVXEmb3qCY9ZNGQtrsAMwXyju5lxf+Sfw9kK9xWNyt09JYtV7s75BGYBEbFujTj1iLSw== 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=56zA1+iZ3oWcuFlVqf0N6UsVMCZJOqw9Jv3N58Rx43o=; b=lAyIHLC6UXmupmUQLh1E9yRQhOy0zB3Z5y7cl9ZDdA6GpbU+3X9lE0b9JpSr6UKx8lxdZqcj9uYhpMv6r2zK77v4sbPGfjqTM5R0+gM/AynxobA4A+K8LQmDJ5B903tXX14aoyhYvoTD96qOR5djvamN6zBASkTha8tBGhQ9mt5ao3Q1iO1Ep980mt6cR0b2gMp7dtu4QDADvDNkMLwx1F3Q2UsVEiPJIypSa6QwjRuqgxu5Po10QV9uTIgkFNWTWHTcTQ66/wpBenYk4kZG/ILsCpYlSwtkUhGnCj3wNxI726mbYKMdhcdFYBGB4rT7L0FgFE6Js09WgSAw+R0IqA== 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 BYAPR11MB2711.namprd11.prod.outlook.com (2603:10b6:a02:c2::30) by DS7PR11MB6296.namprd11.prod.outlook.com (2603:10b6:8:94::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5525.19; Fri, 19 Aug 2022 01:45:51 +0000 Received: from BYAPR11MB2711.namprd11.prod.outlook.com ([fe80::8d0c:46b3:f1f5:acbd]) by BYAPR11MB2711.namprd11.prod.outlook.com ([fe80::8d0c:46b3:f1f5:acbd%4]) with mapi id 15.20.5525.011; Fri, 19 Aug 2022 01:45:51 +0000 From: "Jiang, YuX" To: "Liu, KevinX" , "dev@dpdk.org" CC: "Yang, Qiming" , "Zhang, Qi Z" , "Yang, SteveX" , "Liu, KevinX" Subject: RE: [PATCH v3] net/ice: refactor proto_ext to remove global variable Thread-Topic: [PATCH v3] net/ice: refactor proto_ext to remove global variable Thread-Index: AQHYqHUNeQAV3/5PcEi+KcjLrPymwa21h/sg Date: Fri, 19 Aug 2022 01:45:51 +0000 Message-ID: References: <20220727165901.457146-1-kevinx.liu@intel.com> <20220805104052.2016945-1-kevinx.liu@intel.com> In-Reply-To: <20220805104052.2016945-1-kevinx.liu@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-version: 11.6.500.17 dlp-reaction: no-action dlp-product: dlpe-windows 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: 39ae7a19-5cd9-4a6a-466d-08da81848c04 x-ms-traffictypediagnostic: DS7PR11MB6296:EE_ x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: KxwMXfDw4OJ1AmoXx4DuY1X5HdxnxLE8B+hwIhSLXjVyhnm65ZVSinbHmu0lcPBh8LRe9AKgSlSoUE58fk9QpTZdfNk+g/ZV9kRFQKsFzIbmv28w9P/LAJggJB9ueL8ql9NJLCPNxdCxTmcUfMn0Rnd/KxmIEEKngxkFvzm5VHj4Dq0+UJSzPiDvBGoMASE4ReSIs0UpNnjgZZdLA7zbFodeukV3jkzb/glhOFmtFy/T6PC4XxiSF4i37benaJS5t7/Yz8K4Sca6eHQdM9C6Lzw/rBc/WkCV/TrOA/weydU8wjsL1OD6f3BBD4oIuaL/FzGCbb4X4hjyDUKAcCFWvWpbSeNkKe7uul5oQhlkG2fyA1ADCJ8a9tFFkKhH+Iv2SiT4IJ1xNLo7uanBwMkb7rhc21skXqNjuvCrwT4pSStpJ5cktc6tVmotTTjlrh5C9Jn9tAwINbBQSW1393tp72OFLszVI4RqGhYlFPzGFnxEupIw+c7XKGExanKhc/sZJXGAO5GtVKRO3GuH++FCDr1VMBWVjy1+OT/fGsFpW1uHX4qpuuhQq1TXJhI7hEfSeqZj2tydV3yPXrAzig9qqIk3ZdpLvSE3eWFwV4ZS1VF2kwjbDTSkebpZ+Ryg/er/nL40gwXjIaeNt+MEzYt/AmBZzfqzAfXZcy4L65niTiaWCfrNanBgOb49xKI+/gsmvhR1178d575Nu3PFT4sh/iapJEG1vc2P8itc01aatWjnsqOatjEFGANTONtXVjFxa+mVr2Xuj07z4yj+ij1YQw== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BYAPR11MB2711.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230016)(366004)(346002)(396003)(136003)(376002)(39860400002)(66476007)(38070700005)(107886003)(186003)(82960400001)(4744005)(86362001)(71200400001)(33656002)(5660300002)(26005)(478600001)(7696005)(6506007)(52536014)(53546011)(8936002)(9686003)(2906002)(110136005)(38100700002)(55016003)(122000001)(41300700001)(66446008)(4326008)(8676002)(54906003)(83380400001)(66946007)(76116006)(316002)(66556008)(64756008); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-2022-jp?B?SFNzY0xpK08yTlJqVGNzRjgrQ1gyNTAxVlJ1N29sZEQwdnIrYVlDbGt3?= =?iso-2022-jp?B?eDJpSHhZMkRPWUpBa1VzMm5Xa2gvUG40d0hKalQzbFJkaURNZUN4ZG5K?= =?iso-2022-jp?B?Wm95ZjZFWFk5NXFaVFNzbGxNNDQ2Y3JOQWlXNVNtSndXUXB4a0wrdWlW?= =?iso-2022-jp?B?OXAvY3BET2llTjFBWnYwTTE4dGRWT0h3VVdkN2ViLzluV3AvRWxDQWg4?= =?iso-2022-jp?B?Z1ZJNGIySTkyMmtLMTF3VjdjL3p5c1VzMm5nNHJBb0QzWnlHUVBvd0hs?= =?iso-2022-jp?B?cG1lbERvODJmaHRDMlRoWmZ3QUNTQVg5dHN6ZmV1cEthNzFZWGNIN29H?= =?iso-2022-jp?B?bkpHMUdVNEhxdVpqWjdvQXplQURYUy9LbUk4V2ZLY2ZYZ1k3UGVCNFRz?= =?iso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CNVN5M1p0TGt6ZWw1SzQxMlhzSitqYWVNWDNHQ3E4WTRr?= =?iso-2022-jp?B?b21Ca0VldjBYSmhzQTl6a3dTRXp4QkFjYXowZ3p2REwxVnkydjZxYytQ?= =?iso-2022-jp?B?UnpBaw==?= Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BYAPR11MB2711.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 39ae7a19-5cd9-4a6a-466d-08da81848c04 X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Aug 2022 01:45:51.0790 (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: +ITP8M6PbP0E0ZGvdE5FBELwbATK2/RG6Slym8l++aWcOIJKFq8FJvQFj0V2OPQr+HLSWBaGyu/w4SPOKhJGAg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS7PR11MB6296 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: Kevin Liu > Sent: 2022=1B$BG/=1B(B8=1B$B7n=1B(B5=1B$BF|=1B(B 18:41 > To: dev@dpdk.org > Cc: Yang, Qiming ; Zhang, Qi Z > ; Yang, SteveX ; Liu, KevinX > > Subject: [PATCH v3] net/ice: refactor proto_ext to remove global variable >=20 > The ice has the feature to extract protocol fields into flex descriptor b= y > programming per queue. However, the dynamic field for proto_ext are > allocated by PMD, it is the responsibility of application to reserved the= field, > before start DPDK. >=20 > Application with parse the offset and proto_ext name to PMD with devargs. > Remove related private API in 'rte_pmd_ice.h' and 'rte_pmd_ice.h' file. >=20 > Signed-off-by: Kevin Liu >=20 > --- > v2: Delete doc content related to 'rte_pmd_ice.h'. > --- > v3: Delete doc content related to 'rte_pmd_ice.h'. > --- Tested-by: Yu Jiang Tested-by: Jin Ling BR Yu Jiang