On Tue, 2008-02-05 at 00:53 -0800, Shirley Ma wrote: > Hello Eli, > > If i undersand your code correctly, you post_receive 16 skb's at once. > when ib_post_receive returns error, all these 16 skb's would fail, not > just this skb failure, am I right? If all failure, then we should free > these 16 skb's not just one. Also the same issue in ipoib-cm code. >
When you post a list of receive WQEs, it may fail somewhere in the middle. The errant work request is denoted by bad_wr and all the rest following it are not posted. So I free them all. _______________________________________________ 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
