> anyway, the solution that comes into my mind is to disable creating a > QP/SRQ for which > 128KB allocations are needed. So > mthca_query_device() will set the max_qp_wr and max_srq_wr attributes > to values whose derived size still allows to use kmalloc.
But that will limit the size of the queues that userspace can create too. I guess we could allocate kernel wrid arrays with vmalloc(), but I wonder if anyone actually cares about this limit... - R. _______________________________________________ openib-general mailing list [email protected] http://openib.org/mailman/listinfo/openib-general To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
