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 CBD53A034C; Tue, 30 Aug 2022 12:54:45 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9824D40F18; Tue, 30 Aug 2022 12:54:44 +0200 (CEST) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by mails.dpdk.org (Postfix) with ESMTP id AD00A40F17 for ; Tue, 30 Aug 2022 12:54:42 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1661856882; x=1693392882; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=FNmgq3vHSTz1e/BfhGLm83iXgcVekPg+GCIYKRbj2S8=; b=XUK++L5d0iNX3JqIt+DUepiC3Tsm+nH5bff+CP4W7yLW4O0KWfIevg3e GTi2Mi04+Ahbbo6xrJTdOVwAO/r8jLoI4+7FFS7ad3P7xnSdvCOmv2bnD HrgWmecsrrEAeKc2jgau7/TAv/IB9Dat4L912MCffKxRUClxsCvE0D0wJ Rt3cwL5fvQrIMjWuJA1f+4/6Au0l38TIWnUhOFPH6NpG2ROjE690CZd9G dwZcf7fmbFUs+05I/cgvPW1GwQCd294+m0SGsjnj3zkAYdt3o7a0ZALO9 jeJAJOcCVLO3Z6dmBcOP43erm63UUE21B+JeBfQMVvAAowTtzYcPOefMJ Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10454"; a="274892241" X-IronPort-AV: E=Sophos;i="5.93,274,1654585200"; d="scan'208";a="274892241" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Aug 2022 03:54:41 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,274,1654585200"; d="scan'208";a="588553850" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by orsmga006.jf.intel.com with ESMTP; 30 Aug 2022 03:54:41 -0700 Received: from orsmsx607.amr.corp.intel.com (10.22.229.20) 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; Tue, 30 Aug 2022 03:54:40 -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; Tue, 30 Aug 2022 03:54:40 -0700 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (104.47.57.176) 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; Tue, 30 Aug 2022 03:54:40 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=L+l6r29dSp+gpzSehbdyd4CJta+57H8AYB01P9GHSvLp+/HCUO1zlYUnuy39kwTW2OTTgF+cGmRh0DHYbIeT0si98+Kbq/ZIVJpKU5sgau5R+TkghAP8isg7U2JZNnEqh4P9foMcn83tboZYLIMYSUkFmD4bi472xCNFrOYXOXDohSZwhBT+xANm8+BqIABkwL8W/L6Nkn7K1PaKuka4PkJcdj2lsewawLeofhmj7kqo7P6q7ciRHEPJvjwK2662E7FGcemRsi32EwbOj1zVR9elGOL4Szeewr8SrXe2Ls9xWkEiuBkoqhq2Deb5pOc9uerZLbPubie5gNN50lDsjA== 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=FNmgq3vHSTz1e/BfhGLm83iXgcVekPg+GCIYKRbj2S8=; b=i6WG6E5FwOFpkhN6X3MUVUEYOplDWAXgweM/NZlVrIBea2448SDm+AqMo/hMrulYSHr+VrqDpnfvW4YJ28ocYMmKxgxXRLdQeldBxx1g25XUk9RZ+tMVip7N3fBl7Djm7b42LzgNBUEUphVQlnxmvVUoMRQDmj84cK7dlo/GW5tGT0MpMtk97yNrs95zb1rKHZYd5Op7QxCB8r7QPPh2vVytVKYiCp9yK0zeqmPYlGTgZAxWl3xdBJc+I7prVIZ6VeOSQUyXKe8e1WML9wWqcQNkg3PLCryRKPY/d7bRAwSOxL4Ut5mezc2ef/6EtgfCDQxH+TH2DtRwS4U0qSeltQ== 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 MN2PR11MB3630.namprd11.prod.outlook.com (2603:10b6:208:f4::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5566.21; Tue, 30 Aug 2022 10:54:38 +0000 Received: from DM4PR11MB5994.namprd11.prod.outlook.com ([fe80::d94c:1798:9e3b:804e]) by DM4PR11MB5994.namprd11.prod.outlook.com ([fe80::d94c:1798:9e3b:804e%7]) with mapi id 15.20.5566.021; Tue, 30 Aug 2022 10:54:37 +0000 From: "Zhang, Qi Z" To: "Liu, KevinX" , "dev@dpdk.org" CC: "Yang, Qiming" , "Yang, SteveX" , "Ling, Jin" Subject: RE: [PATCH v5] net/ice: refactor proto_ext to remove global variable Thread-Topic: [PATCH v5] net/ice: refactor proto_ext to remove global variable Thread-Index: AQHYvDpchwPzbwmhaEytKyDbjAKPma3HRSVg Date: Tue, 30 Aug 2022 10:54:37 +0000 Message-ID: References: <20220727165901.457146-1-kevinx.liu@intel.com> <20220830143051.701038-1-kevinx.liu@intel.com> In-Reply-To: <20220830143051.701038-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.500.17 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: 5ed07473-a2f3-4840-6678-08da8a760868 x-ms-traffictypediagnostic: MN2PR11MB3630:EE_ x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: gyTLnVukI5CUn12A/Ridc5GnhPKuvRJ4GKTD4Fkpd5g5YqLFxLt1q63Jgd+e7ppS5WMHaZy0wuy30aOjiR7VrVSrqJikpkBu0IGBlEKIw2zXAdCasrk9VjGdBMwhJdov1q0OuHBrrTlgSBY7v3uCpR2sVHvNnAt74t3UAJOuN2MhyZd93SFDjRuIMXz8l4t0UO07onORkQe80/dJ1RLw2T2tLsNkci1VKQtJJh2bR235Dbn0zitabjRSVU6S4MRXesY+xHF96wGg/wBIUkFbXqwFo/92zwubTHFW0L+zkci1RmHjRFRrNfJuul8duMqnuUdGKsRcx4fa+KErp5+zJfo4MjFDj1XmUnQErc1sOi5Ol2w1yfj0K278xXuB5Kx2QCBLlTfZ1ebV6T18G3r1oqxPZE1rPheYUjdBVyCJZP6BPICEYM0aqtpoFk2r7oDU4ztEaOmFhUD60dizvidZ7Utq/MpnKUtq6C66DjR0fvcUj1gExxppzAKF1ODcP/dfMeeOdJIH7Hp0kY660Sgz2d/oh8WLvTtz+i50pa+XapoA32oGfHCfIYum4Ru5xVBABYrDyuzjfSrgD9QhGWDOQkdDW4HITz3F9qcBH8kNLgPxdgK7lymdKZmxK2pgVXKHChZMm5cpWfUzUBkPOul81heQdIBM61r/RO/ftZg2VfQ1OuXLGYcTZiGvhAbA2Z1XHke578LYFUbQX7vOggl77smnkHNeBaVKwxSBmEuY8fQ0y6lod7Ua8wW2wTGaayr2XZjmR0PmHpCdD0/mBm3PJw== 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:(13230016)(346002)(376002)(136003)(366004)(396003)(39860400002)(83380400001)(86362001)(122000001)(186003)(5660300002)(38100700002)(52536014)(82960400001)(55016003)(4326008)(4744005)(66946007)(66556008)(107886003)(8676002)(66476007)(64756008)(8936002)(2906002)(76116006)(66446008)(41300700001)(478600001)(9686003)(6506007)(26005)(7696005)(53546011)(38070700005)(110136005)(71200400001)(54906003)(316002)(33656002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?Scs8KECsGgSnFWurOtxG6yN/ZyBKTilgj9BD/GC1IzYCWmE+rmJXauv8ubx5?= =?us-ascii?Q?4RP0+abvxo4m0sDp2lpmhehedZ2YJTqQw6cNAmRg6UxTN1TUpW1L1Yg02Uxn?= =?us-ascii?Q?ne5riGLq1sUG7xOx9B7tHc7XDwA7CChnMDOwTo1CzHDHJqNt3O1AHg0DhNNI?= =?us-ascii?Q?vnesX+9r81/SWEmLaYSd4LNSt3sf3tNO0Pz11ajuDNbeU7Za8mW6MiWgpazf?= =?us-ascii?Q?gh2woRgioi34eQ0W8Ou046kWVaM02w5CVPDn5FhHCiXChO8NY4YeOPWVOimY?= =?us-ascii?Q?N16lmP8sbPTuW/cxGz90Rz4a8tXpnQ2Ug/JXURao7RLEnHNzHQmmw/jsM8Xd?= =?us-ascii?Q?NYbkBPMm9JfzFby50JLAjKqtKazrqoIOqdJts9ORkGtXiEnw24fWuSdngGRK?= =?us-ascii?Q?e/R+EeJWEwAdZMr8CZV0H0iKcZlX7dKGzHmWnCmVpb9vDJwn1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VyXlVntqW29hMahAmSWiMI4bPTF3Ot?= =?us-ascii?Q?sKo1RFXK9UdFb80nZRKUJHlqXAIz6aNmotg+Vp+ftnvLq3qYK3af3IXsM7Qp?= =?us-ascii?Q?sAefkwSrmMHiuwUm4XRDhNsyJR0MjznjWifTEgXeoxEnT/BzkZaZZsq5X7+k?= =?us-ascii?Q?wzix7sPohPidx4gRwGGg9Jr8pORUv9RhgYNvHTv6Lia3GONEeZXAZuIz5H62?= =?us-ascii?Q?SlE+3kj33fLIbo5XbupmaP+oJX3dennMrMJjPGgK?= 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: 5ed07473-a2f3-4840-6678-08da8a760868 X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Aug 2022 10:54:37.8024 (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: dNYK5KfQ4aeMjfIxrbUhjgBEHEwXEDCm4GwQJaEwI+wq7Dj4yPlt/8VYRd7a7SCK+7gGPckVeYluJbzzA1/ezg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR11MB3630 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: Liu, KevinX > Sent: Tuesday, August 30, 2022 10:31 PM > To: dev@dpdk.org > Cc: Yang, Qiming ; Zhang, Qi Z > ; Yang, SteveX ; Liu, KevinX > ; Ling, Jin > Subject: [PATCH v5] 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 > Tested-by: Jin Ling Acked-by: Qi Zhang Applied to dpdk-next-net-intel. Thanks Qi