[ofa-general] Re: [PATCH] ib/core: Add creation flags to create QP

Jack Morgenstein jackm at dev.mellanox.co.il
Tue Jan 15 01:46:29 PST 2008


On Tuesday 15 January 2008 00:18, Roland Dreier wrote:
> Not sure if this approach is a good one... would it make sense to
> create a new QP type like IB_QPT_UD_LSO to handle LSO instead?  Are
> there other flags we're going to want to add too?
> 
I'm already using this flags field for XRC receive QPs (These are XRC qps
for receiving only, which are created in kernel space via a userspace call).
(I've not yet posted this to the list, since I'm still writing the code).

The usespace app has NO access to the qp -- its only point-of-reference is the
qp number, which may be sent to a remote process to use as a target XRC QP
(for establishing the RC connection so that the remote can send packets to
local XRC SRQs).

For these QPs, I will need to distribute an XRC_QP_LAST_WQE_REACHED event
to all processes which receive packets on XRC SRQs via this QP (i.e. have registered
with this QP).  In order to do this, I need to know that the QP is an "xrc rcv" qp.

(see my post: http://lists.openfabrics.org/pipermail/general/2007-December/044477.html)

- Jack



More information about the general mailing list