[openib-general] mthca_arbel_post_srq_recv/mthca_tavor_post_srq_recv

Michael S. Tsirkin mst at mellanox.co.il
Sat Sep 17 11:11:43 PDT 2005


Hi, Roland!
The code in mthca_arbel_post_srq_recv/mthca_tavor_post_srq_recv
looks very strange: there seems to be unreacheable code,
spinlocks dont seem to be dropped on error, etc.

Further, it seems that the functions return the number of
posted descriptors on error. This differs from post_recv which
alwasy returns an error code on error. Is that intentional?
Am I missing something? Could you comment on this design please?

Thanks,

-- 
MST



More information about the general mailing list