[openib-general] [PATCH] Fix capability mask enums in ib_verb s.h
Sean Hefty
sean.hefty at intel.com
Sat Jan 15 19:46:47 PST 2005
> [EZ] Note that being a 32 bit wide field you can not directly
> code it in network order, using shift operators (which are always
> perform in host order). So there is no way to avoid running the
> host to network reordering.
I was thinking of a format similar to __constant_htonl(1 << 1),
which would allow checking for and setting the port info bits
without converting the field to/from host order. But host/network
ordering is something that we can come back to at a later time.
- Sean
More information about the general
mailing list