All of lore.kernel.org
 help / color / mirror / Atom feed
From: Steve Wise <swise-7bPotxP6k4+P2YhJcF5u+vpXobYPEAuW@public.gmane.org>
To: "Hefty, Sean" <sean.hefty-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
Cc: Roland Dreier <roland-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
	"linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
	<linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: Re: mlx4/xrc problem
Date: Thu, 23 May 2013 10:51:51 -0500	[thread overview]
Message-ID: <519E3B17.6030301@opengridcomputing.com> (raw)
In-Reply-To: <519D029D.8020102-7bPotxP6k4+P2YhJcF5u+vpXobYPEAuW@public.gmane.org>


On 5/22/2013 12:38 PM, Steve Wise wrote:
> On 5/22/2013 11:39 AM, Hefty, Sean wrote:
>>> [root@hpc-hn1 libibverbs-1.1.4]# ibv_xsrq_pingpong -d mlx4_0 
>>> 192.168.174.52
>>>      local: LID 0001, QPN RECV 98004b SEND 18004c, PSN 5b6d99, SRQN 
>>> 0042
>>>     remote: LID 0002, QPN RECV d4004a SEND 54004b, PSN d7ba7a, SRQN 
>>> 0042
>> The same SRQN on both sides looks suspicious.
> I confirmed via gdb that 0x42 is in ctx.srq->xrc_srq_num on both sides.
>
>>> [root@hpc-cn2 libibverbs-1.1.4]# ibv_xsrq_pingpong  -d mlx4_0
>>>     remote: LID 0001, QPN RECV 98004b SEND 18004c, PSN 5b6d99, SRQN 
>>> 0042
>>>      local: LID 0002, QPN RECV d4004a SEND 54004b, PSN d7ba7a, SRQN 
>>> 0042
>

I found the problem.  I was creating the initiator QP as type RC instead 
of XRC.  I didn't think the initiator side needed a different type.

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

      parent reply	other threads:[~2013-05-23 15:51 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-22 16:04 mlx4/xrc problem Steve Wise
     [not found] ` <519CEC83.9010501-7bPotxP6k4+P2YhJcF5u+vpXobYPEAuW@public.gmane.org>
2013-05-22 16:39   ` Hefty, Sean
     [not found]     ` <1828884A29C6694DAF28B7E6B8A823736FD29FE1-P5GAC/sN6hkd3b2yrw5b5LfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2013-05-22 17:38       ` Steve Wise
     [not found]         ` <519D029D.8020102-7bPotxP6k4+P2YhJcF5u+vpXobYPEAuW@public.gmane.org>
2013-05-23 15:51           ` Steve Wise [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=519E3B17.6030301@opengridcomputing.com \
    --to=swise-7bpotxp6k4+p2yhjcf5u+vpxobypeauw@public.gmane.org \
    --cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=roland-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
    --cc=sean.hefty-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.