Its ugly because registering an MR for the inline pages requires a connected QP to use the REG_MR WR.
No, why MR?
Maybe I'll just split the needed pages across the remaining recv sge entries available? IE if the device supports 5 recv sges, then 4 can be used for inline, and thus 4 non-contiguous pages could be used.
That's what I had in mind...
cxgb4, however, only support 4 recv sges, so it would only support 12K of inline with this implementation.
:(
And perhaps there are rdma devices with even fewer recv sges? Do you have any other idea on how to avoid higher-order allocations?
Not really. I guess that we should be able to recv the user inline_data_size. So maybe it would be ok if the we'd do that only if we must? -- 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