[ofa-general] Re: IB/core: Add creation flags to QPs

Hoang-Nam Nguyen HNGUYEN at de.ibm.com
Wed Mar 26 05:32:34 PDT 2008


> I don't think it is a good idea to mix enumerated types with bitmasks
> since bitmasks are wasting too much of the size of the enum (which
> depends on the CPU architecture). I like creation flags more also
> because it allows more freedom in choosing the semantics of the flag and
> not worrying if it fits in the category as a kind of "qp type".
Eli and Jack,
Rethought about this and agree that keeping those enums separately is
cleaner.
@Roland (and all), depending on this outcome I'll create my patch
appropriately.
Thx
Nam




More information about the general mailing list