On Wed, Jan 18, 2017 at 01:45:14PM -0800, Bart Van Assche wrote: > On 01/18/2017 10:31 AM, Jason Gunthorpe wrote: > > I think it depends on what this tool is supposed to cover, but based > > on the description, I would start with netlink-only. > > > > The only place verbs covers a similar ground is in 'device > > capabilities' - for some of that you might want to open a new-uAPI > > verbs fd, but even the capability data from that would not be > > totally offensive to be accessed over netlink. > > > > IMHO netlink should cover almost everything found in sysfs today. > > We would need a very strong argument to introduce a netlink API that > duplicates existing sysfs API functionality. Since the sysfs API is > extensible, why not extend that API further? E.g. the SCST sysfs API > shows that more is possible with sysfs than what most kernel drivers > realize.
We didn't look deeply on sysfs mainly because it is unpopular in netdev community. Maybe we were misled and it is simply not true. > > Bart. > -- > To unsubscribe from this list: send the line "unsubscribe linux-rdma" in > the body of a message to majord...@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html
signature.asc
Description: PGP signature