On Tue, Oct 28, 2014 at 12:06:06PM +0200, Or Gerlitz wrote: > >we already have reported max_sge value. Maybe what we need is another > >field, "guarnateed_num_sge" so applicatios providing this value can be > >sure it would succeed (or there is some other problem). Then they can > >either use this value or iterate from max_sge down to > >guarnateed_num_sge to find the highest possible value. > > > Eli, can we be a bit more restrictive and report something which > would work?
I don't think this is the right approach because it would cause applications to ask for values lower than they could succeed and the spec does not require it. -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html