I can add a WARN_ON_ONCE() statement for max_pages_per_mr == 1. That will make it easy to figure out where to start looking if in the future a HCA driver would be added that causes max_pages_per_mr == 1.
If we're on the imaginary path, you can flat out fail the host creation. -- 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