[ofa-general] [PATCH 0/5]: Improve small UDP messages

Eli Cohen eli at dev.mellanox.co.il
Tue Feb 5 01:01:13 PST 2008


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.




More information about the general mailing list