On Mon, Aug 23, 2010 at 01:10:45PM -0500, Christoph Lameter wrote:

> +     if (wc->src_qp == multicast_priv->qp->qp_num)
> +
> +             skb->pkt_type = PACKET_MULTICAST;
> +     else
> +             skb->pkt_type = PACKET_HOST;

src_qp is just the send QPN, you need to look at qp_num (aka dest qp).
I'm not entirely sure what it will be, I didn't find anything too clear
in the spec. If it is 0xFFFFFF then the HCA is copying the dest QP
directly into the WC and this can work, if it is something else then
the HCA is setting it to the QPN of the RQ that recieved the packet,
which is not useful for this.

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

Reply via email to