From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Ahern Subject: Re: [patch net-next v2 00/10] Add support for resource abstraction Date: Wed, 27 Dec 2017 14:16:16 -0600 Message-ID: References: <20171226112359.5313-1-jiri@resnulli.us> <20171227080902.GA1997@nanopsycho> <20171227082331.GA10517@lunn.ch> <20171227093754.GB1997@nanopsycho> <20171227130803.GA31962@lunn.ch> <20171227131531.GE1997@nanopsycho> <20171227193110.GA5494@lunn.ch> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org, davem@davemloft.net, arkadis@mellanox.com, mlxsw@mellanox.com, vivien.didelot@savoirfairelinux.com, f.fainelli@gmail.com, michael.chan@broadcom.com, ganeshgr@chelsio.com, saeedm@mellanox.com, matanb@mellanox.com, leonro@mellanox.com, idosch@mellanox.com, jakub.kicinski@netronome.com, ast@kernel.org, daniel@iogearbox.net, simon.horman@netronome.com, pieter.jansenvanvuuren@netronome.com, john.hurley@netronome.com, alexander.h.duyck@intel.com, linville@tuxdriver.com, gospo@broadcom.com, steven.lin1@broadcom.com, yuvalm@mellanox.com, ogerlitz@mellanox.com, roopa@cumulusnetworks.com To: Andrew Lunn , Jiri Pirko Return-path: Received: from mail-pf0-f173.google.com ([209.85.192.173]:45608 "EHLO mail-pf0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751964AbdL0UQV (ORCPT ); Wed, 27 Dec 2017 15:16:21 -0500 Received: by mail-pf0-f173.google.com with SMTP id u19so20131441pfa.12 for ; Wed, 27 Dec 2017 12:16:21 -0800 (PST) In-Reply-To: <20171227193110.GA5494@lunn.ch> Content-Language: en-US Sender: netdev-owner@vger.kernel.org List-ID: On 12/27/17 1:31 PM, Andrew Lunn wrote: >> Hmm. That documents mainly sysfs. No mention of Netlink at all. But >> maybe I missed it. Also, that defines the interface as is. However we >> are talking about the data exchanged over the interface, not the >> interface itself. I don't see how ASIC/HW specific thing, like for >> example KVD in our case could be part of kernel ABI. > > You need to be very careful here. As soon as somebody starts using it, > it might become an ABI. Or you need to clearly document it is not ABI, > there is no guarantee it will not disappear or change its meaning in > the next kernel, and it should be used with extreme caution. > +1 Once the names go in, people can write scripts that invoke devlink at boot to partition resources. With the proposed patch set, the name (e.g., kvd/linear) becomes part of the ABI.