Re: [PATCH rdma-rc] IB/uverbs: Don't use the address vector's port number during modify_qp

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

 



On Tue, Jun 19, 2018 at 10:36:46AM -0600, Jack Morgenstein wrote:
>    Not correct.
> 
>    The IB_QP_PORT tag is required for non-connected QPs, which do NOT use
>    address vectors during QP creation (and so do not use the AV tags).

I said Linux doesn't follow the spec, so quoting the spec doesn't help
:)

In Linux we do not use IB_QP_PORT information, for any QP type. I mean
this very literally, go in the code and look, there is no useful
access to qp->port. I did check.

For connected we require the port numbers to be present in each of the
AVs during modify_qp.

For unconnected we require the port numbers to be provided when
creating the AH, and we do not limit the acceptable port numbers to
the IB_QP_PORT value.

So the IB_QP_PORT has no purpose in the Linux API, from what I can
see, and should never be used by any code.

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