[openib-general] Re: [PATCH] mthca: fix posting long work request lists

Grant Grundler iod00d at hp.com
Wed Nov 9 14:35:37 PST 2005


On Wed, Nov 09, 2005 at 02:02:06PM -0800, Roland Dreier wrote:
>  enum {
> -	MTHCA_INVAL_LKEY = 0x100
> +	MTHCA_INVAL_LKEY			= 0x100,
> +	MTHCA_TAVOR_MAX_WQES_PER_RECV_DB	= 256
>  };

Why would we use two different contants with the
same value in one enum?
ie why not declare them both at "0x100" *or* "256"?

grant



More information about the general mailing list