[ofw] typical values for ci_umv_buf_t

Sean Hefty sean.hefty at intel.com
Sun Mar 16 23:58:15 PDT 2008


>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