summaryrefslogblamecommitdiffstats
path: root/net/sunrpc/xprtrdma/fmr_ops.c
blob: ffb7d9358480f9870894eabba6e4b24a0fe72354 (plain) (tree)





















                                                                       
/*
 * 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",
};