* mlx4 verbs question
@ 2012-03-06 3:44 Bob Pearson
2012-03-06 17:15 ` Or Gerlitz
0 siblings, 1 reply; 4+ messages in thread
From: Bob Pearson @ 2012-03-06 3:44 UTC (permalink / raw)
To: linux-rdma-u79uwXL29TY76Z2rM5mHXA
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
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: mlx4 verbs question 2012-03-06 3:44 mlx4 verbs question Bob Pearson @ 2012-03-06 17:15 ` Or Gerlitz [not found] ` <4F564649.5080301-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org> 0 siblings, 1 reply; 4+ messages in thread From: Or Gerlitz @ 2012-03-06 17:15 UTC (permalink / raw) To: Bob Pearson; +Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA, Tziporet Koren On 3/6/2012 5:44 AM, Bob Pearson wrote: > From the RTS state issuing a modify qp with qp_attr_mask only set to state to the SQD state > AFAIK SQD isn't supported by connectx Or. -- 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 ^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <4F564649.5080301-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>]
* RE: mlx4 verbs question [not found] ` <4F564649.5080301-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org> @ 2012-03-06 22:22 ` Bob Pearson 2012-03-06 22:22 ` Bob Pearson 1 sibling, 0 replies; 4+ messages in thread From: Bob Pearson @ 2012-03-06 22:22 UTC (permalink / raw) To: 'Or Gerlitz' Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA, 'Tziporet Koren' > -----Original Message----- > From: Or Gerlitz [mailto:ogerlitz-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org] > Sent: Tuesday, March 06, 2012 11:16 AM > To: Bob Pearson > Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org; Tziporet Koren > Subject: Re: mlx4 verbs question > > On 3/6/2012 5:44 AM, Bob Pearson wrote: > > From the RTS state issuing a modify qp with qp_attr_mask only set to state > to the SQD state > > > > AFAIK SQD isn't supported by connectx But the ibv_modify_qp to SQD works doesn't return an error?! That is where I was led astray. > > Or. -- 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 ^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: mlx4 verbs question [not found] ` <4F564649.5080301-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org> 2012-03-06 22:22 ` Bob Pearson @ 2012-03-06 22:22 ` Bob Pearson 1 sibling, 0 replies; 4+ messages in thread From: Bob Pearson @ 2012-03-06 22:22 UTC (permalink / raw) To: 'Or Gerlitz' Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA, 'Tziporet Koren' Oops. Take that back. It didn't work in fact that was the one that returned the '1'. > -----Original Message----- > From: Or Gerlitz [mailto:ogerlitz-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org] > Sent: Tuesday, March 06, 2012 11:16 AM > To: Bob Pearson > Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org; Tziporet Koren > Subject: Re: mlx4 verbs question > > On 3/6/2012 5:44 AM, Bob Pearson wrote: > > From the RTS state issuing a modify qp with qp_attr_mask only set to state > to the SQD state > > > > AFAIK SQD isn't supported by connectx > > Or. -- 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 ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-03-06 22:22 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-06 3:44 mlx4 verbs question Bob Pearson
2012-03-06 17:15 ` 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
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox