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:[email protected]] > Sent: Thursday, June 11, 2009 2:56 PM > To: 'Suresh Shelvapille'; [email protected] > 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. _______________________________________________ general mailing list [email protected] http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
