xprtrdma: Add vector of ops for each memory registration strategy
[deliverable/linux.git] / net / sunrpc / xprtrdma / frwr_ops.c
1 /*
2 * Copyright (c) 2015 Oracle. All rights reserved.
3 * Copyright (c) 2003-2007 Network Appliance, Inc. All rights reserved.
4 */
5
6 /* Lightweight memory registration using Fast Registration Work
7 * Requests (FRWR). Also referred to sometimes as FRMR mode.
8 *
9 * FRWR features ordered asynchronous registration and deregistration
10 * of arbitrarily sized memory regions. This is the fastest and safest
11 * but most complex memory registration mode.
12 */
13
14 #include "xprt_rdma.h"
15
16 #if IS_ENABLED(CONFIG_SUNRPC_DEBUG)
17 # define RPCDBG_FACILITY RPCDBG_TRANS
18 #endif
19
20 const struct rpcrdma_memreg_ops rpcrdma_frwr_memreg_ops = {
21 .ro_displayname = "frwr",
22 };
This page took 0.037839 seconds and 5 git commands to generate.