[ofw] patch: [ibal] Allow cm to send a lap request after a failed (by timeout) lap request.

Sean Hefty sean.hefty at intel.com
Wed Oct 14 21:33:52 PDT 2009


>Index: Q:/projMLNX_WinOF_2.0/MLNX_WinOF_2-0/core/al/kernel/al_cm_cep.c
>===================================================================
>--- Q:/projMLNX_WinOF_2.0/MLNX_WinOF_2-0/core/al/kernel/al_cm_cep.c (revision
>4956)
>+++ Q:/projMLNX_WinOF_2.0/MLNX_WinOF_2-0/core/al/kernel/al_cm_cep.c (revision
>4957)
>@@ -2289,7 +2289,15 @@
>    __format_drep( p_cep, NULL, 0, &p_cep->mads.drep );
>    p_cep->state = CEP_STATE_TIMEWAIT;
>    __insert_timewait( p_cep );
>+   break;
>
>+  case CEP_STATE_LAP_SENT:
>+   /*
>+    * Before CEP was sent, we have been in CEP_STATE_ESTABLISHED as we
>+    * failed to send, we return to that state.
>+    */
>+   p_cep->state = CEP_STATE_ESTABLISHED;
>+   break;
>   default:
>    break;
>   }

I think it would be easier to track APM states separately from the CEP state.
The CEP states should match that in the spec (12.9).




More information about the ofw mailing list