From: Chuck Lever Date: Mon, 30 Mar 2015 18:34:21 +0000 (-0400) Subject: xprtrdma: Add vector of ops for each memory registration strategy X-Git-Tag: omap-for-v4.2/o2_dc~9^2^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a0ce85f595c22d28bf03c3fae8545b3077b7be1b;p=pandora-kernel.git xprtrdma: Add vector of ops for each memory registration strategy Instead of employing switch() statements, let's use the typical Linux kernel idiom for handling behavioral variation: virtual functions. Start by defining a vector of operations for each supported memory registration mode, and by adding a source file for each mode. Signed-off-by: Chuck Lever Reviewed-by: Sagi Grimberg Tested-by: Devesh Sharma Tested-by: Meghana Cheripady Tested-by: Veeresh U. Kokatnur Signed-off-by: Anna Schumaker --- Reading git-diff-tree failed