Re: [RFC PATCH 1/5] IB/core: Add Core Capability flags to ib_device

Jason Gunthorpe
2015-05-11T22:39:30Z

On Mon, May 11, 2015 at 10:19:29PM +0000, Dave Goodell (dgoodell) wrote:

> > I really need to just sit down and read your driver front to back.
>
> Feel free to ping me off-list if you want any explanation about
> what's going on in the usnic_verbs module. I'm happy to help.

So, I look at this:

int usnic_ib_post_send(struct ib_qp *ibqp, struct ib_send_wr *wr,
struct ib_send_wr **bad_wr)
{
usnic_dbg("\n");
return -EINVAL;
}

And conclude that usnic doesn't actually provide any RDMA services to
in-kernel users, correct?

I'd then guess the entire point of this is to hack some non-RDMA
device to export it's interface via uverbs? Presumably because someone
nack'd using your own char device or whatever?

Jason