[ofa-general] Re: [RFC][PATCH] last wqe event handler patch

Roland Dreier rdreier at cisco.com
Tue Jun 24 20:11:16 PDT 2008


I don't understand the problem this patch is solving (insufficient
detail in the changelog), but I don't see how it can be correct:

 >       struct list_head  rx_flush_list; /* state: FLUSH, drain not started */
 > -     struct list_head  rx_drain_list; /* state: FLUSH, drain started */
 >       struct list_head  rx_reap_list;  /* state: FLUSH, drain done */

It seems to me we need all three of these states to keep track of QPs
properly: first one means "last WQE reached", second one means "send
posted after last WQE reached" and last on means "completion seen for
send posted after last WQE reached".

 - R.



More information about the general mailing list