[ofa-general] IPOB CM (NOSRQ) [PATCH V7] patch resubmit

Pradeep Satyanarayana pradeeps at linux.vnet.ibm.com
Wed Jul 18 22:55:33 PDT 2007


Roland Dreier wrote:
>  > They are not quite the same. How about:
>  > #define CM_PACKET_SIZE (ALIGN(IPOIB_CM_MTU, PAGE_SIZE))
> 
> That makes sense.
> 
>  > >  > -		.event_handler = ipoib_cm_rx_event_handler,
>  > > 
>  > > why?  seems harmless to just leave this alone for all QPs even if an
>  > > SRQ isn't attached.
>  > 
>  > If memory serves me right, I tried that and ran into some inexplicable problems.
>  > Maybe it was hang or no traffic went through -don't exactly recollect what it was.
>  > After this change the problem went away.
> 
> Umm... I would like to get to the root cause of that.  Because as far
> as I can see there is no problem if the event handler is called for a
> non-SRQ QP.  The event will never be "last WQE reached" (since only a
> QP attached to an SRQ can generate that) and so the event handler will
> just return immediately and do nothing.

Since I do not recollect what the issue was it was it might require some investigation 
-especially since we have a short window for the merge. Would it be okay if I submit a 
patch without this for the merge? Subsequently I will submit a patch to address this issue.

Pradeep




More information about the general mailing list