On Fri, Jul 01, 2005 at 08:59:06AM -0700, Caitlin Bestler wrote:
> to 
> 
>       enum rdma_xyz { /* common values */
>               RDMA_XYZ_A,
>               RDMA_XYZ_B,
>               RDMA_XYZ_C,
>               RDMA_XYZ_LIM /* must be last */
>       };
> 
>       enum ib_xyz { /* extends rdma_xyz */
>               IB_XYZ_D = RDMA_XYZ_LIM,
>               IB_XYZ_E
>       };
> 
>       enum iwarp_xzy { /* extends iwarp_xyz */
>               IWARP_XYZ_F = RDMA_XYZ_LIM,
>               IWARP_XYZ_G;
>       };
> 
> That way the transport dependent enums could even
> be in transport dependent .h files, and only the
> common ones would have to be in the main header file.
> That would be very friendly for adding a third
> transport at some later date (I still don't think
> it will happen, but it would make it easier).

looks fine.

_______________________________________________
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