On 10/28/2013 11:22 PM, Hefty, Sean wrote:
+enum ib_mr_create_flags { + IB_MR_SIGNATURE_EN = 1, +}; + +/** + * ib_mr_init_attr - Memory region init attributes passed to routine + * ib_create_mr. + * @max_reg_descriptors: max number of registration units that + * may be used with UMR work requests. + * @flags: MR creation flags bit mask. + */ +struct ib_mr_init_attr { + int max_reg_descriptors; + enum ib_mr_create_flags flags;Assuming that flags will be a bitwise OR of values, they should be an int, not an enum.
Right, will fix. The same applies to signature caps in ib_device. Sagi. -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
