diff options
author | Chuck Lever <[email protected]> | 2015-03-30 14:34:21 -0400 |
---|---|---|
committer | Anna Schumaker <[email protected]> | 2015-03-31 09:52:52 -0400 |
commit | a0ce85f595c22d28bf03c3fae8545b3077b7be1b (patch) | |
tree | 0b814731f9c21bbb38013c1c0ce48acf4fab1d7f /lib/string_helpers.c | |
parent | 41f97028969e4c88efa5fcf58bc6125210413a6d (diff) |
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 <[email protected]>
Reviewed-by: Sagi Grimberg <[email protected]>
Tested-by: Devesh Sharma <[email protected]>
Tested-by: Meghana Cheripady <[email protected]>
Tested-by: Veeresh U. Kokatnur <[email protected]>
Signed-off-by: Anna Schumaker <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions