From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 18B48C433FE for ; Fri, 18 Nov 2022 03:36:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240594AbiKRDgX (ORCPT ); Thu, 17 Nov 2022 22:36:23 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41948 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229451AbiKRDgW (ORCPT ); Thu, 17 Nov 2022 22:36:22 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7847562070 for ; Thu, 17 Nov 2022 19:36:21 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 126EE6229D for ; Fri, 18 Nov 2022 03:36:21 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7352AC433C1; Fri, 18 Nov 2022 03:36:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1668742580; bh=K5aDIe2SlBtdw1FEkWSbLjXw0euK3i24cnforADV39A=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=aAaps6knSbkcdj6Nyouj1Mz46EOtiuVFbb0GTuc3XTJvS3EFQeW6rcVG/xgUlS6UI kMz4nYDnGFhsfeQkzBmPHaYr/T01bY8/1MkLZzBYmNShJghgJcL2mMbRceGpkvxrRW ZIHZnsYOk7D0d2TVinkhZqfHM4EZHm6MAskCeNEHfHR0QYuRQqWWr5Mf8Z3sfM46Vx I7FuvR61SoikI5SMrBG1RvotdL6cTSZvuazjiPj7u1Sys1uVC5BKgr/D9Vnhv7AXbG wc5xZyDjeRNh9kNf5+pdLdgFXkfi2xAsJXVpyxeinzXC7jeJhqXQ5dEfmtM55/aGxL sgE5+osQjF+Tw== Date: Thu, 17 Nov 2022 19:36:18 -0800 From: Jakub Kicinski To: Leon Romanovsky Cc: Michal Swiatkowski , "Samudrala, Sridhar" , netdev@vger.kernel.org, davem@davemloft.net, pabeni@redhat.com, edumazet@google.com, intel-wired-lan@lists.osuosl.org, jiri@nvidia.com, anthony.l.nguyen@intel.com, alexandr.lobakin@intel.com, wojciech.drewek@intel.com, lukasz.czapnik@intel.com, shiraz.saleem@intel.com, jesse.brandeburg@intel.com, mustafa.ismail@intel.com, przemyslaw.kitszel@intel.com, piotr.raczynski@intel.com, jacob.e.keller@intel.com, david.m.ertman@intel.com, leszek.kaliszczuk@intel.com, Bjorn Helgaas Subject: Re: [PATCH net-next 00/13] resource management using devlink reload Message-ID: <20221117193618.2cd47268@kernel.org> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Thu, 17 Nov 2022 19:38:48 +0200 Leon Romanovsky wrote: > I don't think that management of PCI specific parameters in devlink is > right idea. PCI has his own subsystem with rules and assumptions, netdev > shouldn't mangle them. Not netdev, devlink, which covers netdev, RDMA and others. > In MSI-X case, this even more troublesome as users > sees these values through lspci without driver attached to it. I'm no PCI expert either but FWIW to me the patch set seems reasonable. Whether management FW policies are configured via core PCI sysfs or subsystem-specific-ish APIs is a toss up. Adding Bjorn and please CC him on the next rev. Link to the series: https://lore.kernel.org/all/20221114125755.13659-1-michal.swiatkowski@linux.intel.com/