/* * Copyright (c) 2015 Oracle. All rights reserved. */ /* rpcrdma.ko module initialization */ #include #include #include #include "xprt_rdma.h" #if IS_ENABLED(CONFIG_SUNRPC_DEBUG) # define RPCDBG_FACILITY RPCDBG_TRANS #endif MODULE_AUTHOR("Open Grid Computing and Network Appliance, Inc."); MODULE_DESCRIPTION("RPC/RDMA Transport"); MODULE_LICENSE("Dual BSD/GPL"); MODULE_ALIAS("svcrdma"); MODULE_ALIAS("xprtrdma"); static void __exit rpc_rdma_cleanup(void) { xprt_rdma_cleanup(); svc_rdma_cleanup(); } static int __init rpc_rdma_init(void) { int rc; rc = svc_rdma_init(); if (rc) goto out; rc = xprt_rdma_init(); if (rc) svc_rdma_cleanup(); out: return rc; } module_init(rpc_rdma_init); module_exit(rpc_rdma_cleanup); d class='main'>index : net-next.git
net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Beulich <JBeulich@suse.com>2017-01-23 08:11:37 -0700
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2017-01-23 13:27:42 -0500
commit3b4f18843e511193e7eb616710e838f5852e661d (patch)
treeabf5739ec8edad0a94594aa2148d132ab2f20867 /drivers/usb/phy/Makefile
parentb32728ffef7f233dbdabb3f11814bdf692aaf501 (diff)
xen-blkfront: correct maximum segment accounting
Making use of "max_indirect_segments=" has issues: - blkfront_setup_indirect() may end up with zero psegs when PAGE_SIZE is sufficiently much larger than XEN_PAGE_SIZE - the variable driven by the command line option (xen_blkif_max_segments) has a somewhat different purpose, and hence should namely never end up being zero - as long as the specified value is lower than the legacy default, we better don't use indirect segments at all (or we'd in fact lower throughput) Signed-off-by: Jan Beulich <jbeulich@suse.com> Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'drivers/usb/phy/Makefile')