[openib-general] ib_req_ncomp_notif in core_ layer

Grant Grundler iod00d at hp.com
Mon Aug 30 19:02:51 PDT 2004


On Wed, Aug 11, 2004 at 08:38:49PM +0300, Michael S. Tsirkin wrote:
> Performance is hardware-dependend, anyway. 

Michael,
I'll go trolling and assert "Performance is SW-dependent" is more correct.

apologies for pulling a your comment out of context...but
that statement is an extreme simplification that is misleading.
Yes, it's only partially correct.

> So, why is it a good idea to have all clients do something like
> if (req_ncomp_notif()) req_comp_notif()
> 
> Why not make this part of the layer already?

req_ncomp_notif() can be implemented to be a NOP and the compiler
can optimize away the test (either to always call or never
call the req_comp_notif()).

grant



More information about the general mailing list