Re: [PATCH v5 09/27] IB/Verbs: Reform IB-core verbs/uverbs_cmd/sysfs

2015-04-23 Thread Michael Wang
On 04/22/2015 06:28 PM, ira.weiny wrote: [snip] link_layer_show() was supposed to report the same info to user space as usual, so user tool don't have to change anything :-) We need to expose the cap_* functionality to userspace which can then convert to this interface and stop

Re: [PATCH v5 09/27] IB/Verbs: Reform IB-core verbs/uverbs_cmd/sysfs

2015-04-22 Thread ira.weiny
On Wed, Apr 22, 2015 at 09:38:57AM +0200, Michael Wang wrote: Hi, Ira Thanks for the review :-) On 04/22/2015 01:19 AM, ira.weiny wrote: [snip] diff --git a/drivers/infiniband/core/sysfs.c b/drivers/infiniband/core/sysfs.c index cbd0383..8570180 100644 ---

Re: [PATCH v5 09/27] IB/Verbs: Reform IB-core verbs/uverbs_cmd/sysfs

2015-04-22 Thread Michael Wang
Hi, Ira Thanks for the review :-) On 04/22/2015 01:19 AM, ira.weiny wrote: [snip] diff --git a/drivers/infiniband/core/sysfs.c b/drivers/infiniband/core/sysfs.c index cbd0383..8570180 100644 --- a/drivers/infiniband/core/sysfs.c +++ b/drivers/infiniband/core/sysfs.c @@ -248,14 +248,10 @@