[ofa-general] Re: bonding & ipoib patches to support bonding of ipoib devices
Or Gerlitz
ogerlitz at voltaire.com
Sun Apr 22 06:20:38 PDT 2007
Michael S. Tsirkin wrote:
>>>> I just need a clarification on (2), can you educate me how can it
>>>> happen?
>>> Consider a specific neighbour. Can the following happen? If no, why not?
>>> - a packet is sent through ib0, ipoib_neigh and ->ah are created
>>> - bonding switches to ib1 for some reason
>>> - before ipoib_neigh and ah are flushed, a new skb arrives. It is posted on
>>> ib1 with ah which belongs to ib0
>> oh well, this is very rare but possible. IB wise, what would happen on
>> this case to the device (ib1 in your example) QP? will this wrong ah
>> usage in the WR cause it get into the error case?
> Hard to say, I think the behavior is unspecified.
> And even at the IPoIB level, note that at this point you are
> locking tx_lock at ib1 but not at ib0, so both ipoib_neigh and ->ah
> might disappear under your feet.
I think to see few possible solutions to this problem, but i want to
first dig more into that, thanks for pointing and clarifying it out...
Or.
More information about the general
mailing list