From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH net-next 0/9] devlink: Add support for region access Date: Fri, 30 Mar 2018 14:07:22 -0400 (EDT) Message-ID: <20180330.140722.1915472350310140337.davem@davemloft.net> References: <962b56c1-d471-97ec-e8e9-18252e809dfe@mellanox.com> <20180329195154.GB15565@lunn.ch> <28b99a08-1967-3044-4010-0faa5d6bfc14@mellanox.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: andrew@lunn.ch, netdev@vger.kernel.org, tariqt@mellanox.com, jiri@mellanox.com To: valex@mellanox.com Return-path: Received: from shards.monkeyblade.net ([184.105.139.130]:33978 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751203AbeC3SH0 (ORCPT ); Fri, 30 Mar 2018 14:07:26 -0400 In-Reply-To: <28b99a08-1967-3044-4010-0faa5d6bfc14@mellanox.com> Sender: netdev-owner@vger.kernel.org List-ID: From: Alex Vesker Date: Fri, 30 Mar 2018 08:28:39 +0300 > On 3/29/2018 10:51 PM, Andrew Lunn wrote: >> Also, i doubt write support will be accepted. That sounds like the >> start of an API to allow a user space driver. > > If this will be an issue we will stay with read access only. Because of registers which are accessed indirectly, it's hard to avoid supporting write support in some way. This interface is not for providing a way to do userland drivers, it's for diagnostics only. And indeed we did discuss this at netconf and we had broad concensus on this matter at the time.