From: "Bob Pearson" <rpearson-klaOcWyJdxkshyMvu7JE4pqQE7yCjDx5@public.gmane.org>
To: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: mlx4 verbs question
Date: Mon, 5 Mar 2012 21:44:30 -0600 [thread overview]
Message-ID: <006501ccfb4b$703c49e0$50b4dda0$@systemfabricworks.com> (raw)
Hi,
It has been a long time since I looked at this but I was looking at
ibv_modify_qp on an mlx4 system.
I noticed the following which seems incorrect to me.
>From the RTS state issuing a modify qp with qp_attr_mask only set to state
to the SQD state
Returns qp_attr with qp_state = SQD but if you then issue ibv_query_qp the
state is reported as RTS.
No amount of waiting seems to change this. According to the IBA spec this
should just work without anything special required.
Also for what it's worth most of the errors returned from mlx4 these days
are EXXX e.g. EINVAL.
An exception is the failure of a mailbox command which returns the error
value in the command context i.e. 1.
It would seem better to be consistent in style.
Bob Pearson
--
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
next reply other threads:[~2012-03-06 3:44 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-06 3:44 Bob Pearson [this message]
2012-03-06 17:15 ` mlx4 verbs question Or Gerlitz
[not found] ` <4F564649.5080301-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2012-03-06 22:22 ` Bob Pearson
2012-03-06 22:22 ` Bob Pearson
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='006501ccfb4b$703c49e0$50b4dda0$@systemfabricworks.com' \
--to=rpearson-klaocwyjdxkshymvu7je4pqqe7ycjdx5@public.gmane.org \
--cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox