From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 50BEB2737FA for ; Wed, 9 Jul 2025 08:38:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1752050314; cv=none; b=sMBO93MIzSeol+zLSdMlak/Zy+gRCBmqI2McMpGK4O5eKVP7JZg6Y33lWyFkqaQArvYeJO0c6oaJgrldvdfJbvG78vQxGgk5AmJMhMXXH+h0bq43hnbbxU7wfKl4qWHrq2/9VvNd0aaw3sYHG/aoKISFLUCqmptyF3zcQQRgsE8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1752050314; c=relaxed/simple; bh=XAm1ddPSV6xuKOZ1K/+JAxSTW4RPOv/7/JpzcQf+xZk=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=BwM+CUo7YMDE6PTAf9lRXv6WUAtDz26NnZAeTDeCkkY83MQd38k7E8TvDGLVdSYhLcWCeABiqY93CQSw2+oLrapyqowDz8H6B7/t4tUAMMVbxlssWXsKt054e+Vnb1XUSMC9BeigX7JKmONCN5OQvolcpuhoBjEJ/yk3sI3mdBo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=TNmrlNY+; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="TNmrlNY+" Received: by smtp.kernel.org (Postfix) with ESMTPSA id B909FC4CEEF; Wed, 9 Jul 2025 08:38:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1752050313; bh=XAm1ddPSV6xuKOZ1K/+JAxSTW4RPOv/7/JpzcQf+xZk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=TNmrlNY+bQ/jTLubtwGYuYm+p7gjHhk2KnMFGOIcFeVhSjLzLtVQonD1mhNiBZBmK nkwVbpm/iaIlIIWQ1vJWd86B7mDIw9FttG2mVc4sxrxOAWZJZT7ZifpDFTU17SAhvO Ufv5sfwDunrqf+QVEVWugH7rcciRADZ6ZkMvYbDcbSxd33KGbxM3Q2Uqd/mPl4kq6s bH3kY1vK85L9bh6QouNFMIUHQcBZb4aR2ZyQdz/6kk2AEQxCs77SHsBjwKLk5v0w8N wbk8Pabe9Q1SDLC51iJtJ1Pgk3PVYFiJSLZktr3JZIpbj0GOkdL/R9hhPlqxyDeusF h6A54TTAqsufw== Date: Wed, 9 Jul 2025 09:38:29 +0100 From: Simon Horman To: Saeed Mahameed Cc: "David S. Miller" , Jakub Kicinski , Paolo Abeni , Eric Dumazet , Saeed Mahameed , netdev@vger.kernel.org, Tariq Toukan , Gal Pressman , Leon Romanovsky , Jiri Pirko Subject: Re: [PATCH net-next V6 06/13] devlink: Implement port params registration Message-ID: <20250709083829.GH452973@horms.kernel.org> References: <20250709030456.1290841-1-saeed@kernel.org> <20250709030456.1290841-7-saeed@kernel.org> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20250709030456.1290841-7-saeed@kernel.org> On Tue, Jul 08, 2025 at 08:04:48PM -0700, Saeed Mahameed wrote: > From: Saeed Mahameed > > Port params infrastructure is incomplete and needs a bit of plumbing to > support port params commands from netlink. > > Introduce port params registration API, very similar to current devlink > params API, add the params xarray to devlink_port structure and > decouple devlink params registration routines from the devlink > structure. > > Signed-off-by: Saeed Mahameed > Reviewed-by: Jiri Pirko Reviewed-by: Simon Horman