On Mon, 19 Sep 2005, Guy German wrote:

> enum ib_cma_event {
>       IB_CMA_EVENT_ESTABLISHED = 1,
>       IB_CMA_EVENT_REJECTED,
>       IB_CMA_EVENT_NON_PEER_REJECTED,
>       IB_CMA_EVENT_DISCONNECTED,
>       IB_CMA_EVENT_UNREACHABLE
> };

Why not make REJECTED mean NON_PEER_REJECTED and add a PEER_REJECTED? 
In other words:

 enum ib_cma_event {
       IB_CMA_EVENT_ESTABLISHED = 1,
       IB_CMA_EVENT_REJECTED,
       IB_CMA_EVENT_PEER_REJECTED,
       IB_CMA_EVENT_DISCONNECTED,
       IB_CMA_EVENT_UNREACHABLE  
 };

In my opinion this makes the hierarchy clearer. There are general 
rejections and specific peer rejections.
_______________________________________________
openib-general mailing list
[email protected]
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to