From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bart Van Assche Subject: Re: [RFC] RESEND - rdmatool - tool for RDMA users Date: Thu, 19 Jan 2017 22:06:12 +0000 Message-ID: <1484863558.2634.7.camel@sandisk.com> References: <20170118173327.GF32481@mtr-leonro.local> <20170118183127.GC14198@obsidianresearch.com> <5f90fd26-e7bf-bb2a-01f2-6b166f2265e9@sandisk.com> <20170119063326.GJ32481@mtr-leonro.local> <20170119180308.GD8109@obsidianresearch.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <20170119180308.GD8109@obsidianresearch.com> Content-Language: en-US Content-ID: <0506C7541F6E1E4483349F1E4A69D2B0@sandisk.com> Sender: netdev-owner@vger.kernel.org To: "jgunthorpe@obsidianresearch.com" , "leon@kernel.org" Cc: "netdev@vger.kernel.org" , "arielalmogworkemails@gmail.com" , "linux-rdma@vger.kernel.org" , "gerlitz.or@gmail.com" List-Id: linux-rdma@vger.kernel.org On Thu, 2017-01-19 at 11:03 -0700, Jason Gunthorpe wrote: > sysfs is unpopular because the 'one value per file' dogma is laregly > unsuitable for complex mulit-value atomic changes which are common in > netdev. You can force it to work, but it is pretty horrible.. >=20 > It is also very expensive if you want to shuttle a lot of data, eg I > could not see doing something like 'netstat' for IB through sysfs Since the RDMA sysfs ABI defines a user space ABI and since user space ABIs must be backwards compatible removing the existing sysfs ABI is not an option. We will need to evaluate on a case-by-case basis whether new functionality should use sysfs or whether another mechanism should be used. Bart.=