[openib-general] [PATCH] mthca: make IB_SEND_FENCE work

Muli Ben-Yehuda muli at il.ibm.com
Wed Aug 9 00:38:05 PDT 2006


On Wed, Aug 09, 2006 at 10:37:20AM +0300, Michael S. Tsirkin wrote:
> Quoting r. Muli Ben-Yehuda <muli at il.ibm.com>:
> > > +enum {
> > > +	MTHCA_SEND_DOORBELL_FENCE = 1 << 5
> > > +};
> > 
> > Does anonymous enum have any benefit over define for this?
> 
> Not really, no.

Good, because I think #define is the idiomatic way to do this...

Cheers,
Muli




More information about the general mailing list