From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Lunn Subject: Re: [patch net-next v2 00/10] Add support for resource abstraction Date: Wed, 27 Dec 2017 20:31:10 +0100 Message-ID: <20171227193110.GA5494@lunn.ch> References: <20171226112359.5313-1-jiri@resnulli.us> <20171227080902.GA1997@nanopsycho> <20171227082331.GA10517@lunn.ch> <20171227093754.GB1997@nanopsycho> <20171227130803.GA31962@lunn.ch> <20171227131531.GE1997@nanopsycho> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: David Ahern , 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: Jiri Pirko Return-path: Received: from vps0.lunn.ch ([185.16.172.187]:47533 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752016AbdL0TbY (ORCPT ); Wed, 27 Dec 2017 14:31:24 -0500 Content-Disposition: inline In-Reply-To: <20171227131531.GE1997@nanopsycho> Sender: netdev-owner@vger.kernel.org List-ID: > 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. Personally, if DSA drivers were to expose such settings, i would consider them ABI, which people can rely on to remain stable. Andrew