Re: [PATCH rdma-core] vmw_pvrdma: Fix SRQN returned to library

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Feb 12, 2018 at 02:23:18PM -0800, Adit Ranadive wrote:

> > I can't make sense of this.
> > 
> > Why doesn't grep turn up anything for struct pvrdma_create_srq_resp in
> > the kernel?
> 
> Do you mean user_pvrdma_create_srq_resp? There isn’t one.

No, I mean what I wrote..

include/uapi/rdma/vmw_pvrdma-abi.h:struct pvrdma_create_srq_resp {

Why isn't it used anywhere?

> > And why do we have two things called srqn in this struct?
> 
> It looks like the uverbs in the kernel reports the XRC SRQN in the one of
> these while the other gets populated by the driver in the udata here. The SRQN
> for a regular SRQ only gets reported in this second srqn field.
> I'm not sure why that's the case but we need to report the one from the
> driver here then.

Ok

Jason
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux