[openib-general] ib_device_cap_flags

Roland Dreier roland at topspin.com
Thu Feb 10 11:21:48 PST 2005


    Sean> Int is used because the returned value is a bitwise OR of
    Sean> the valid capabilities, and is not a value defined by the
    Sean> enum.  We can change the enum values to #define if that
    Sean> would make it any easier.

An enum type is an integer type, so it can represent the bitwise OR of
any of the defined enum values with no problem.

 - R.




More information about the general mailing list