[openib-general] [PATCH] limrdmacm/cmatose: added a check to the return value of the post send requests

Dotan Barak dotanb at mellanox.co.il
Mon Apr 3 23:38:09 PDT 2006


> > Added a check to the return value of the post send requests.
> 
> Committed the change to print an error message if post send fails.  Thanks.

My target is to add this example to the regression, so the output incase of an error is a nice to have but not a must.
I would like to fix the test and make it exit with value different than zero incase of an error.

About the patch that i send you, the function return the result of the last post_send:
so if (for example) from unknown reason only the first post_send will fail, the function will still return 0 ...

I think that new users that would like to use the librdmacm  will take this test as an example, so this test should be a good example.

What do you think?

Dotan



More information about the general mailing list