[ofw] typical values for ci_umv_buf_t
Reuven Amitai
reuven at mellanox.co.il
Tue Mar 18 00:56:55 PDT 2008
IBAL calls uvp:post() in query_av verb even when the uvp:pre() returns
IB_VERBS_PROCESSING_DONE
in order to return pd (which absent in the pre() prototype)
I think there is no need for that in create_av verb.
-----Original Message-----
From: Sean Hefty [mailto:sean.hefty at intel.com]
Sent: Monday, March 17, 2008 8:58 AM
To: Hefty, Sean; 'Fab Tillier'; Leonid Keller; ofw at lists.openfabrics.org
Subject: RE: [ofw] typical values for ci_umv_buf_t
>The comments in ib_uvp.h indicated that verb related calls were broken
>into 3
>steps: pre call, IOCTL, and post call. Are you saying that that isn't
>always the case? The few places I checked in IBAL, the code did:
>
>status = pre()
>if (status != IB_SUCCESS)
> return status;
>
>IOCTL
>
>...
>
>Does IBAL use multiple status values to indicates success?
I looked at the places where ibal checked for IB_VERBS_PROCESSING_DONE.
It's only done in a handful of calls: address vector routines, and query
CQ.
For the av calls, if uvp:pre() returns IB_VERBS_PROCESSING_DONE, then
ibal calls uvp:post(). (I don't get the need for this...) For query
CQ, if uvp:pre() returns IB_VERBS_PROCESSING_DONE, ibal simply returns.
- Sean
More information about the ofw
mailing list