android_kernel_oneplus_msm8998/net/sunrpc/xprtrdma/fmr_ops.c

23 lines
614 B
C
Raw Normal View History

/*
* Copyright (c) 2015 Oracle. All rights reserved.
* Copyright (c) 2003-2007 Network Appliance, Inc. All rights reserved.
*/
/* Lightweight memory registration using Fast Memory Regions (FMR).
* Referred to sometimes as MTHCAFMR mode.
*
* FMR uses synchronous memory registration and deregistration.
* FMR registration is known to be fast, but FMR deregistration
* can take tens of usecs to complete.
*/
#include "xprt_rdma.h"
#if IS_ENABLED(CONFIG_SUNRPC_DEBUG)
# define RPCDBG_FACILITY RPCDBG_TRANS
#endif
const struct rpcrdma_memreg_ops rpcrdma_fmr_memreg_ops = {
.ro_displayname = "fmr",
};