Re: [PATCH 06/37] IB/rdmavt: Add query and modify device stubs

2015-12-07 Thread Leon Romanovsky
On Mon, Dec 07, 2015 at 02:39:04PM -0700, Jason Gunthorpe wrote: > On Mon, Dec 07, 2015 at 09:26:11PM +, Hefty, Sean wrote: > > > +static int rvt_query_device(struct ib_device *ibdev, > > > + struct ib_device_attr *props, > > > + struct ib_udata *uhw) >

RE: [PATCH 06/37] IB/rdmavt: Add query and modify device stubs

2015-12-07 Thread Hefty, Sean
> +static int rvt_query_device(struct ib_device *ibdev, > + struct ib_device_attr *props, > + struct ib_udata *uhw) > +{ > + /* > + * Return rvt_dev_info.props contents > + */ > + return -EINVAL; ENOSYS on all of the function

Re: [PATCH 06/37] IB/rdmavt: Add query and modify device stubs

2015-12-07 Thread Jason Gunthorpe
On Mon, Dec 07, 2015 at 09:26:11PM +, Hefty, Sean wrote: > > +static int rvt_query_device(struct ib_device *ibdev, > > + struct ib_device_attr *props, > > + struct ib_udata *uhw) > > +{ > > + /* > > +* Return rvt_dev_info.props contents > > +