[ofa-general] spin_lock_irqsave in ib_send_mad

Suresh Shelvapille suri at baymicrosystems.com
Thu Jun 11 13:15:12 PDT 2009


Sean:
Ah...now I get it, it does appear like more code would have to be added to handle
the overflow list when post_send fails(as in mad_send_done_handler). 
I think I will fix my driver for now. 

Many Thanks for your help,
Suri

> -----Original Message-----
> From: Sean Hefty [mailto:sean.hefty at intel.com]
> Sent: Thursday, June 11, 2009 2:56 PM
> To: 'Suresh Shelvapille'; general at lists.openfabrics.org
> Cc: 'Roland Dreier'
> Subject: RE: [ofa-general] spin_lock_irqsave in ib_send_mad
> 
> >Why check the overflow list only when the ib_post_send fails? Don't you
> >need to do this regardless? It looks like you could get stuff into the overflow
> >list even with the existing code...
> 
> You only need to check it when decrementing send_queue.count, which is currently
> only after a send completes.




More information about the general mailing list