[openib-general] [PATCH 3/4] IB CM: register and handle COMM_EST events on a QP

Sean Hefty sean.hefty at intel.com
Sun Jul 23 22:43:42 PDT 2006


>+/**
>+ * ib_cm_establish - Forces a connection state to established.
>+ * @cm_id: Connection identifier to transition to established.
>+ *
>+ * This routine should be invoked by users who receive messages on a
>+ * connected QP before an RTU has been received.
>+ */
>+int ib_cm_establish(struct ib_cm_id *cm_id);
>
>As with your patch ib_cm_establish is now called internally from within
>the CM with the suggested solution good for both user and kernel space
>connections/qps, how about removing it from the API?

I thought about removing it, but it changes the ABI, and existing users may
still want to call ib_cm_establish() after processing a receive completion.
This will let them immediately send a response without waiting for either the
RTU or the COMM_EST event.

- Sean




More information about the general mailing list