mlx4 verbs question
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.
Quoted 1 line
From the RTS state issuing a modify qp with
qp_attr_maskonly 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 [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 2 lines · Bob Pearson
From the RTS state issuing a modify qp with
qp_attr_maskonly 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 [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Oops. Take that back. It didn't work in fact that was the one that returned the '1'.
Quoted 9 lines
-----Original Message-----
From: Or Gerlitz [mailto:ogerlitz-VPRAkNaXOzVWk0Htik3J/[email protected]]
Sent: Tuesday, March 06, 2012 11:16 AM
To: Bob Pearson
Cc: [email protected]; Tziporet Koren
Subject: Re: mlx4 verbs questionQuoted 1 line · Bob Pearson
From the RTS state issuing a modify qp with
qp_attr_maskonly set to
state
Quoted 6 lines
to the SQD state
Quoted 1 line
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 [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 10 lines
-----Original Message-----
From: Or Gerlitz [mailto:ogerlitz-VPRAkNaXOzVWk0Htik3J/[email protected]]
Sent: Tuesday, March 06, 2012 11:16 AM
To: Bob Pearson
Cc: [email protected]; Tziporet Koren
Subject: Re: mlx4 verbs questionQuoted 1 line · Bob Pearson
From the RTS state issuing a modify qp with
qp_attr_maskonly set to
state
Quoted 4 lines
to the SQD state
Quoted 1 line
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.
Quoted 2 lines
Or.
--
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