[Openib-windows] [PATCH] post send\recv return values

Yossi Leybovich sleybo at mellanox.co.il
Mon Mar 13 23:45:30 PST 2006


Fab 
 
Attached patch that eliminate some return values from eth post
operations.
This will simplify the IBAL\mthca behavior.

BTW
We talked about this before , but I don't recall if I sent you the html
files we generated from the h files.
It will be great if we add them to the SVN I am sure it will save lots
of customer question.( We will add them to the installer too).
If you don't have them I can resend.
 
10x
Yossi 
 
Index: ib_al.h
===================================================================
--- ib_al.h (revision 1010)
+++ ib_al.h (working copy)
@@ -2552,21 +2552,14 @@
 *
 * IB_INVALID_PARAMETER
 *  A reference to the send work request list was not provided.
-*
-* IB_INSUFFICIENT_RESOURCES
-*  The number of posted work requests exceed the current depth
available
+*  Or the number of posted work requests exceed the current depth
available
 *  on the send queue.
+*  Or the number of work request scatter gather elements exceed the
queue
+*  pair configuration.
 *
-* IB_INVALID_WR_TYPE
-*  The work request type was invalid.
-*
 * IB_INVALID_QP_STATE
-*  The current queue pair state does not allow posting sends.
+*  The current queue pair is in reset state, it does not allow posting
sends.
 *
-* IB_INVALID_MAX_SGE
-*  The number of work request scatter gather elements exceed the queue
-*  pair configuration.
-*
 * IB_UNSUPPORTED
 *  The requested operation is not supported by the channel adapter.
 *
@@ -2615,18 +2608,18 @@
 *  The queue pair handle was invalid.
 *
 * IB_INVALID_PARAMETER
-*  A reference to the receive work request list was not provided.
+*  A reference to the send work request list was not provided.
+*  Or the number of posted work requests exceed the current depth
available
+*  on the send queue.
+*  Or the number of work request scatter gather elements exceed the
queue
+*  pair configuration.
 *
-* IB_INSUFFICIENT_RESOURCES
-*  The number of posted work requests exceed the current depth
available
-*  on the receive queue.
-*
-* IB_INVALID_WR_TYPE
-*  The work request type was invalid.
-*
 * IB_INVALID_QP_STATE
-*  The current queue pair state does not allow posting receives.
+*  The current queue pair is in reset state, it does not allow posting
sends.
 *
+* IB_UNSUPPORTED
+*  The requested operation is not supported by the channel adapter.
+*
 * NOTES
 * This routine posts a work request to the receive queue of a queue
pair.
 * The type of work to perform is defined by the p_recv_wr parameter.
This

-------------- next part --------------
A non-text attachment was scrubbed...
Name: post_ret_val.patch
Type: application/octet-stream
Size: 2102 bytes
Desc: post_ret_val.patch
URL: <http://lists.openfabrics.org/pipermail/ofw/attachments/20060314/70867530/attachment.obj>


More information about the ofw mailing list