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 3BA7745BCB; Fri, 25 Oct 2024 19:01:37 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2CEA640273; Fri, 25 Oct 2024 19:01:37 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.12]) by mails.dpdk.org (Postfix) with ESMTP id D060D402A3 for ; Fri, 25 Oct 2024 19:01:35 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1729875696; x=1761411696; h=message-id:date:subject:to:references:from:in-reply-to: content-transfer-encoding:mime-version; bh=Y/Q+H/+vZKxuU5ZE5X+R9b41MTNSVAiZ+5bCJzn/H28=; b=IJ5pOcPoUZ/jrUX70Uf1fRWTjsqQXze2wsWsdyUUKQp+5qqQZHikmrCt X9Jy607BXTtGhBCnNWlhvIRXvpmG90uG4h9JNntg7sdXmaFKgOfiwZtZD zVbjP6/AgxbV6sbgRrpCUUcqGpy2bgUrkHO9RghYw5bsBNDy6eOfMZzwI +qf4Gi0GkzhGDtge3cifu+GxO8EYHkX8kIwqmWWlUdkuXRi8LxgI6Bl5X 9Nw6TXj1Gkms7Jb/xdKh7RRhuICF4xLqFJeJUL7iNK6y9LJANSDgDQHyj daaVREMJVnOjjEWF3Sm1M7e1QRX9AawCAu2wWAEuhyboD0X+vhH/yGcDf g==; X-CSE-ConnectionGUID: vtWLsaHwTA69kgQHmniYHw== X-CSE-MsgGUID: Wk9cYsa4QQmghSI6/u8XBw== X-IronPort-AV: E=McAfee;i="6700,10204,11236"; a="40943298" X-IronPort-AV: E=Sophos;i="6.11,232,1725346800"; d="scan'208";a="40943298" Received: from orviesa005.jf.intel.com ([10.64.159.145]) by orvoesa104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Oct 2024 10:01:35 -0700 X-CSE-ConnectionGUID: Us5L/1zwQDmhdc2Y4loWAg== X-CSE-MsgGUID: 2frMA1lNRuimL6FC8mhj2Q== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.11,232,1725346800"; d="scan'208";a="85749229" Received: from orsmsx602.amr.corp.intel.com ([10.22.229.15]) by orviesa005.jf.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 25 Oct 2024 10:01:35 -0700 Received: from orsmsx601.amr.corp.intel.com (10.22.229.14) 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.2507.39; Fri, 25 Oct 2024 10:01:34 -0700 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx601.amr.corp.intel.com (10.22.229.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39 via Frontend Transport; Fri, 25 Oct 2024 10:01:34 -0700 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (104.47.56.169) by edgegateway.intel.com (134.134.137.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.39; Fri, 25 Oct 2024 10:01:32 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=eBilvETTAzoKoAiay9GBxHZqQ1+ql4oXJeV0GtPgnoJPbNiCDiVo5sc+axZq9kclLoVnRGXn5NSB2gaUgeb2iWlSpU9GcDY33F4mNOFknlgevgNISlgpjyTeR64kFyYoUnB5dNuLITdWM37dCvneHxGXnkBnAavuWIu77xMV4jHYJn33E77J0Ls41tlR3RzzDP3JfMsAx8W+LDXusPC3l1RfIHVYJV22kssjq/RKt3XIqEFcQQOoXpoyiziS5aq1SiHEtWRt0MwWBT9Ax1EG/gbjacxX1hCMDW3qt49dqNzuiNejmKrpsgu8CKZoSgS65CKNkg9YOHPX6/KWiVLEGA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=2J//QsnEdxJuZ4KEkjQHDYWWcgqfdhqZbXgWJmeIvAk=; b=tUiZ8mqgVT4/lycVj1D9N9aLoN+nzPdfyyTq8xPWSMLZhIfiaMCj2PYg7wtYr4gyQop2bt0lbTTfNgCmV99R/u1CF4SCDFmXPUBLtjGJNPS2jhRj20AAg/QUTpVVWK4egEaSTrZg/PQ5drgCUZjFNsabrVtpPT8j/QMYW90SK2AUo41LrbgeDcSCUTBcTs6RsYOHP6X+sKla7u+gRLwvl7MoT/2R97FJaIGFECBA4Afmz93D/z8nDzJw4CxvCz/zH0Sd0oZa/S4LqX6cEJgBgLmK28cqQcuPTq4x6TcDhGP32deszJcfraXb6jzz6dFKXgnenKsbaSjCM4i57ewYew== 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 SJ0PR11MB5772.namprd11.prod.outlook.com (2603:10b6:a03:422::8) by DS0PR11MB7580.namprd11.prod.outlook.com (2603:10b6:8:148::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8093.23; Fri, 25 Oct 2024 17:01:25 +0000 Received: from SJ0PR11MB5772.namprd11.prod.outlook.com ([fe80::5851:319:3da6:850b]) by SJ0PR11MB5772.namprd11.prod.outlook.com ([fe80::5851:319:3da6:850b%4]) with mapi id 15.20.8093.018; Fri, 25 Oct 2024 17:01:25 +0000 Message-ID: Date: Fri, 25 Oct 2024 18:01:21 +0100 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v5 2/5] net/ice/base: make context alloc function non-static To: Bruce Richardson , References: <20240807093407.452784-1-bruce.richardson@intel.com> <20241023165540.893269-1-bruce.richardson@intel.com> <20241023165540.893269-3-bruce.richardson@intel.com> Content-Language: en-US From: "Medvedkin, Vladimir" In-Reply-To: <20241023165540.893269-3-bruce.richardson@intel.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: WA2P291CA0030.POLP291.PROD.OUTLOOK.COM (2603:10a6:1d0:1f::26) To SJ0PR11MB5772.namprd11.prod.outlook.com (2603:10b6:a03:422::8) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ0PR11MB5772:EE_|DS0PR11MB7580:EE_ X-MS-Office365-Filtering-Correlation-Id: ced96bfe-7024-480a-f867-08dcf516a8ef X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|376014|366016|1800799024; X-Microsoft-Antispam-Message-Info: =?utf-8?B?S1VjQko0c25McUk1VkxkRmZJY2oxTGVINWNvVzVTRzdSdTd6QzNLak1qTTBJ?= =?utf-8?B?K3Fqb3FTSlpaS0t3YmpidkRhNUMvYXpjNWVFOEFJVzVKQXJ5ZnRXUnBBNXVV?= =?utf-8?B?aDV1M0xtQ0tMY0R3RkVIQ0FTVnpUSXlUY1RWaVo1VGNkZjdhQ1FqcU0yWlc2?= =?utf-8?B?aVlCMFNiVEo1blA4c201RVh1cG5pZE9EV3VTenRCMFRIbEpsRXlrQnZ3NllP?= =?utf-8?B?MHh2Sm80LzhZMGRYWURYK3ovWlFqcU1OSHVnaXFORXdCSzYvblg1amRpZ0Vq?= =?utf-8?B?MVVPa3IydW90STBlb3VWMW5qenJWbEJiWEZKRmxuUE1UZ2hQbXdO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vZEwwSmVrcU5TR1pMNXRp?= =?utf-8?B?c2orVEJ4ZXJPUDZ2ejVOamxjUHBoUEFmTFA0QU1aOFdDUzM4clhnem05ejcz?= =?utf-8?B?dGZBeWVBZ1FtZEUyWDdwbitjQ0RaQVF5NllTMk14VGVMZm1uaFEwbEZoWTRo?= =?utf-8?B?SnFFUTFaNTZBSjFSR0pxSjVGWE81cGlkdEdVSi9acGFTSGlkZDZXQkZKbnZM?= =?utf-8?B?dzVTOHVCVXcxZlJFZlhtaHlEd0F4RnBSR0RRc2o3VFNyRFY4d0xmZ1BqeTZ6?= =?utf-8?B?OCtMazBDWGJrU25iS2UyMjNhWU1jQnptZEJCbm9KTFRsVDlKV1greUREWDYz?= =?utf-8?B?VzRzRUJDY3FzaGlIekpjeXZSN0Nzdlh6VXJNa1RjSnVQK3FsVUZ3cVdqbXVs?= =?utf-8?B?aFlQeGhCbW5wZHJDa1hGQnRlaVNmNHVOOWlwWjVjYzhGQkhSZ2N4eEVKdVV3?= =?utf-8?B?SGpQTEl4SlFOMWR2MWF1QjlIODdJNEdqbnBneDlRTXhvUXNsSXpWeFViMG5s?= =?utf-8?Q?cR3FI1waesw5FTMl/KsYsJppHduMEJpj8NrQfB4?= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SJ0PR11MB5772.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(376014)(366016)(1800799024); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?blBPRk9kNEpBYVJva0Vjdk5ySGN2U25TUmtrSHZsOWN0UEdhZzZmeDFKUEJ1?= =?utf-8?B?MFo0V3pZcFNwcStPd1ZlTGwyY2RreWNEMFNsc3g3Qk9HMS9aN0RKU1hTOEhi?= =?utf-8?B?b1N2U1pFOVNNZGt1b1RIQmw1QjRhU3MrMllMeFByWVpRemN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TRpNmx1MDhudktBa1haa2ltWGhseGpveWJkUFpheStPYjc4ejUrMUoySHNM?= =?utf-8?B?M1RqTEVLNlBtQ3NFOC9neXJQZDVBTnN2c3FZMzNMQ0REWFp6V25UcVFETXZx?= =?utf-8?B?Q2ZyVzZlUnBhUjlXczBUTjk0NlFLc0tZcE12N1dxVHhMNlBiQXFIODU3R1Bq?= =?utf-8?B?YU1mYVl5MUNydHFDdDhNVEFGOUlMVzJhdWVvczQ4eVdDRGhqdnV0Qm84VC9S?= =?utf-8?B?NEE9PQ==?= X-MS-Exchange-CrossTenant-Network-Message-Id: ced96bfe-7024-480a-f867-08dcf516a8ef X-MS-Exchange-CrossTenant-AuthSource: SJ0PR11MB5772.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Oct 2024 17:01:25.4588 (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: RHzkLdlASXRcfNjjIJdplydx2kcc7uYY9C5p5W3C7beQoLZ5W9SDueWNHKerX8bzrcapIF04JQgqtyl2BGiTSzc6DN3rxouqe17hZ5S6+fY= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS0PR11MB7580 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 Acked-by: Vladimir Medvedkin On 23/10/2024 17:55, Bruce Richardson wrote: > The function "ice_alloc_lan_q_ctx" will be needed by the driver code, so > make it non-static. > > Signed-off-by: Bruce Richardson > --- > drivers/net/ice/base/ice_sched.c | 2 +- > drivers/net/ice/base/ice_sched.h | 3 +++ > 2 files changed, 4 insertions(+), 1 deletion(-) > > diff --git a/drivers/net/ice/base/ice_sched.c b/drivers/net/ice/base/ice_sched.c > index 9608ac7c24..1f520bb7c0 100644 > --- a/drivers/net/ice/base/ice_sched.c > +++ b/drivers/net/ice/base/ice_sched.c > @@ -570,7 +570,7 @@ ice_sched_suspend_resume_elems(struct ice_hw *hw, u8 num_nodes, u32 *node_teids, > * @tc: TC number > * @new_numqs: number of queues > */ > -static int > +int > ice_alloc_lan_q_ctx(struct ice_hw *hw, u16 vsi_handle, u8 tc, u16 new_numqs) > { > struct ice_vsi_ctx *vsi_ctx; > diff --git a/drivers/net/ice/base/ice_sched.h b/drivers/net/ice/base/ice_sched.h > index 9f78516dfb..09d60d02f0 100644 > --- a/drivers/net/ice/base/ice_sched.h > +++ b/drivers/net/ice/base/ice_sched.h > @@ -270,4 +270,7 @@ int ice_sched_replay_q_bw(struct ice_port_info *pi, struct ice_q_ctx *q_ctx); > int > ice_sched_cfg_node_bw_alloc(struct ice_hw *hw, struct ice_sched_node *node, > enum ice_rl_type rl_type, u16 bw_alloc); > + > +int > +ice_alloc_lan_q_ctx(struct ice_hw *hw, u16 vsi_handle, u8 tc, u16 new_numqs); > #endif /* _ICE_SCHED_H_ */ -- Regards, Vladimir