From: Chuck Lever Date: Wed, 21 Jan 2015 16:04:00 +0000 (-0500) Subject: xprtrdma: Add struct rpcrdma_regbuf and helpers X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~120^2~28^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9128c3e794a77917a86dd5490ca2c5233a8c6fde;p=pandora-kernel.git xprtrdma: Add struct rpcrdma_regbuf and helpers There are several spots that allocate a buffer via kmalloc (usually contiguously with another data structure) and then register that buffer internally. I'd like to split the buffers out of these data structures to allow the data structures to scale. Start by adding functions that can kmalloc and register a buffer, and can manage/preserve the buffer's associated ib_sge and ib_mr fields. Signed-off-by: Chuck Lever Reviewed-by: Steve Wise Signed-off-by: Anna Schumaker --- Reading git-diff-tree failed