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 E8330454AB; Thu, 20 Jun 2024 16:56:56 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D8FFC402D2; Thu, 20 Jun 2024 16:56:56 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.8]) by mails.dpdk.org (Postfix) with ESMTP id C34BC402B1 for ; Thu, 20 Jun 2024 16:56:14 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1718895375; x=1750431375; h=date:from:to:cc:subject:message-id:references: in-reply-to:mime-version; bh=GfX1XUcp8AJCfwzhoxPqLLz4BseARCQV6y9wLvDVIYU=; b=Vof5tDOzSX2LPXyLDOf/9gp5bOuksjIXQU2G9qgRZtE8tBTF91806dMI Qm9uuY2WlEZMCvGZOiGpLkVOtUO5O3C1Yz4wNWE6KOiXhulO/V+w3DwBg 04JNlt0m+RQj/YP7VkHQ/shdnLNeNm0ZnXqcJ9UAMa/6VhLfYN93ey3gD QQv91RiF21CBEY9cHlNJORzCl5QIozgwOT+tFGzipnGYD0HMMW2/LWLO8 ZJMd9Q/CQ+MKyfWEG4Ya35WlZwx/Q6aBnhEKOvTThe5j+xcdVh7maul8F 6HEQP89UXVlrs3niYMbFyrEB7vLitlPd18AYpcoYdnQutKBOr4JwD0jRo Q==; X-CSE-ConnectionGUID: iTlxqQZfRIWPh8EgK8tVZA== X-CSE-MsgGUID: vzVSVKUbRpaxo9dJu01PQg== X-IronPort-AV: E=McAfee;i="6700,10204,11108"; a="33418735" X-IronPort-AV: E=Sophos;i="6.08,252,1712646000"; d="scan'208";a="33418735" Received: from orviesa002.jf.intel.com ([10.64.159.142]) by fmvoesa102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Jun 2024 07:56:14 -0700 X-CSE-ConnectionGUID: RdpHW3whSU2UBZxhSf1arQ== X-CSE-MsgGUID: vpACqLpaTN2LMfG0RX2XoA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,252,1712646000"; d="scan'208";a="73005528" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by orviesa002.jf.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 20 Jun 2024 07:56:13 -0700 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) 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.2507.39; Thu, 20 Jun 2024 07:56:12 -0700 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39 via Frontend Transport; Thu, 20 Jun 2024 07:56:12 -0700 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (104.47.58.101) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.39; Thu, 20 Jun 2024 07:56:12 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=btUM74KEe7lclB7+pQ7Q8Z4y0ehQIvPREr8gXUwd3rs8gTt42U7gFATgYam2qtkjAlR1ixFJjlgopixvsyj+bK/OcN1352+BzCnfpa4aKIRPnHdGK8CRifS6yoMZL+XTlN0u/kfq/fn1R/I4+BqsyVCK3UpNAUbmHqM6gLEfhPG68s+UKxGhzGfySZZTKvOHZYd5FnjUSb09Z2yqeuU76wxsrjV13XsuN7bbF93TeQYLXIYkRTrGUdUJBwy+qBo4JPwdD7f96/Wa0ll9PinDY3Cfgwz25c/JDOhIs+id/cyvmjphQracC8AES2XjzrusHmIUr1KSrI+Ki9+OyBJi/Q== 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=VKFaqpNU5PJSL9e4VGHwzPp6bJD7g87K2ZsA+ad9bDM=; b=ZZxW6G0du4Aje6gVE/ZsF41hk69/PlO7p33GaMkUYUcgWNAN9oeZ5kYiSiU+YvjtrXQ2usXGFrKu8oZdKKHEAri3OdZGf1RTnau+Wa1M8exQPDFT9My/1M3fD1G2YBYyJNZhnF9li+UDb4gclh1X9NwSMTP7I2EvUTxElvvQQT/mLDl/VL0MpCeQ6TymNkel3UADnZxQXatgYkKyuJyMKmlR2Gph0rbg9XYxk/5NPhJoOJNitnN2uEEWvL0paxYZlKkWoLZZSedIoX4MACzhQvCzgaMZhcr8JttAXoCQW6mWv5TG7dRZlLE76iYBboH2/pgLV2Uyum34dxFkFOwojA== 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 Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from DS0PR11MB7309.namprd11.prod.outlook.com (2603:10b6:8:13e::17) by CH3PR11MB8444.namprd11.prod.outlook.com (2603:10b6:610:1ba::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7677.31; Thu, 20 Jun 2024 14:56:10 +0000 Received: from DS0PR11MB7309.namprd11.prod.outlook.com ([fe80::f120:cc1f:d78d:ae9b]) by DS0PR11MB7309.namprd11.prod.outlook.com ([fe80::f120:cc1f:d78d:ae9b%7]) with mapi id 15.20.7698.017; Thu, 20 Jun 2024 14:56:10 +0000 Date: Thu, 20 Jun 2024 15:56:05 +0100 From: Bruce Richardson To: Anatoly Burakov CC: , Ian Stokes Subject: Re: [PATCH v2 087/148] net/ice/base: allow skipping PF clear Message-ID: References: <20240430154014.1026-1-ian.stokes@intel.com> <14a05b36f49eb68ac2f8023bf5553635367c87e6.1718204529.git.anatoly.burakov@intel.com> Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <14a05b36f49eb68ac2f8023bf5553635367c87e6.1718204529.git.anatoly.burakov@intel.com> X-ClientProxiedBy: SJ0PR05CA0126.namprd05.prod.outlook.com (2603:10b6:a03:33d::11) To DS0PR11MB7309.namprd11.prod.outlook.com (2603:10b6:8:13e::17) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR11MB7309:EE_|CH3PR11MB8444:EE_ X-MS-Office365-Filtering-Correlation-Id: 48ec824c-73ae-4767-cd1a-08dc91391f1e X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230037|376011|1800799021|366013; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?NuQ7Nc1LwwNsIjZ9DXiqoIWDwr3wmFZM8pq/VuTh1yCv5/LtViz0baWTnr+b?= =?us-ascii?Q?LmS8hR4Scx58UmjXTnH4xpu4i5cXcRN/8hG4tPbT3Jd4fBg7TTvDAyLF1tp5?= =?us-ascii?Q?pr9VyTCshwBO8s/p+IhGDir5ySbb6N/jK3uOOlnsrwywsPxcIrTn1uW/z2vU?= =?us-ascii?Q?4IeOH5PJGfPN9BCzy1dMlnZnYGO6NQfq0bla6QLA/m/k/y7tGyuJa/t4mb9D?= =?us-ascii?Q?m9aBHrLFYjyTwVzglPvLit/ZGnNlCnlV7LeDBLu1tIkvuqbYccDRoZKEO1ZS?= =?us-ascii?Q?agJLa4oFgSUBrfscvK2tkIekeh2C9qrVEqNHFaISGAqOfbvskrK7JAb32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uG5YQyesfy1g2eC0LXRaTRsWlDKGld?= =?us-ascii?Q?jPONjGqXLBJz204wV2ahunUnyih7q6lg3IzrwyQFULDBLoWWfJzf3OfqX4E0?= =?us-ascii?Q?HKz54bjEMtDwbLvfkF3CiIlE?= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DS0PR11MB7309.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230037)(376011)(1800799021)(366013); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?Sbvb7yl1L9F0dD/LJoRKZstUW0RV4hgm/TYK4HUJCv2SazhCCoFTQy+FBEpG?= =?us-ascii?Q?etrbkCsWAl+iydExC9mkdeAFQ3sEaYsUcFTWJw71JLnr4XeTJ0hybhrpftKn?= =?us-ascii?Q?W9ZScp9DpT3k/044FH2mkBPgm+THLH1ZoBtNGtW9ucfgFIRHz9sDjcP3sBGZ?= =?us-ascii?Q?u543qETKzwaqwtlVNigmCipNsSlPPKPbAuhknGj2FTstl1UVqdL2j0KZsLt+?= =?us-ascii?Q?VahEoU5BvKMfH+PV5gdBKiYlK+bNAoBvgU+uku1w/DCnkz4e/DUA0k7u5pci?= =?us-ascii?Q?BvXZ3qzpkOv9OjXLEwaUeGV0/kCb2PLaT6xkVDAKpDWJG0Jwa3cZCbOOeCHv?= =?us-ascii?Q?maCMxvW8XcycBz4YofLNDt73fbqXAnoDj3V7wLmSYXtlNgE5ZinDaMeQaET9?= =?us-ascii?Q?qVedlAmfrUhVmW2G4Q+P2WiI0ZSowQsjsZAY1LMx3kwaewrnGtK8cg0e3zwS?= =?us-ascii?Q?pa1KMG5DnnLxTpro0UDZ449Jm84qngp7DUVjr3Tp3hthS2WTaaB5++hKCEoL?= =?us-ascii?Q?H3xsTbu3mYFtG9n6l4jC8M+R8L8QpMDgdtxmr6wXc5lmrQ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g/v77Im+J5kB4zQ+hb5h5siMUU65g6zVl0Rresqk?= =?us-ascii?Q?MUmyd1lMk7Gi3XKClL62V/QO9v4TYR8VmDbGyS39/rpq9SHARo0y7bCeAmvY?= =?us-ascii?Q?OYnM53pBfmizJg3NxGBNZAUTtQxfNXhvQunydwr0CgZWEV2LSknhxCSSQGr2?= =?us-ascii?Q?1A=3D=3D?= X-MS-Exchange-CrossTenant-Network-Message-Id: 48ec824c-73ae-4767-cd1a-08dc91391f1e X-MS-Exchange-CrossTenant-AuthSource: DS0PR11MB7309.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Jun 2024 14:56:10.2997 (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: 9M3HQTOx8c9CcTdiRVBUdsbDEOsZBZho0hYbfzT0eM9mJS0kzRex0lz6J3wcb1J/akCK/MtOA4ruTeuPmhv0+lZNMs+BCqv52hugVPGHdmw= X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH3PR11MB8444 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 On Wed, Jun 12, 2024 at 04:01:21PM +0100, Anatoly Burakov wrote: > From: Ian Stokes > > As per updated data sheet, add 'skip_clear_pf' field to ice_hw structure, which > can be used to skip call to ice_clear_pf_cfg() in ice_init_hw(). > > Also, make 'fw_vsi_num' field of ice_hw structure visible to every component > using shared code, as well as make ice_init_fltr_mgmt_struct() and > ice_cleanup_fltr_mgmt_struct() non-static. Change to make functions non-static not in this patch.