[openib-general] [mthca] Creation of a SRQ with many WR (> 16K) in kernel level fails
Roland Dreier
rdreier at cisco.com
Tue Jan 30 15:11:10 PST 2007
> 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.
More information about the general
mailing list