Hello Sagi, How about the following: min(dev->attrs.max_cqe, max(nr_cqes, IB_CQE_BATCH))
That would work too, thanks Bart! -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html