ib_mr.h (a976c2951d8f376112361830aa7762beff83a205) ib_mr.h (b7ff8b1036f0b0df1390ba6b5e9bc7ec458e857a)
1/*
2 * Copyright (c) 2016 Oracle. All rights reserved.
3 *
4 * This software is available to you under a choice of one of two
5 * licenses. You may choose to be licensed under the terms of the GNU
6 * General Public License (GPL) Version 2, available from the file
7 * COPYING in the main directory of this source tree, or the
8 * OpenIB.org BSD license below:

--- 99 unchanged lines hidden (view full) ---

108
109extern struct workqueue_struct *rds_ib_mr_wq;
110extern bool prefer_frmr;
111
112struct rds_ib_mr_pool *rds_ib_create_mr_pool(struct rds_ib_device *rds_dev,
113 int npages);
114void rds_ib_get_mr_info(struct rds_ib_device *rds_ibdev,
115 struct rds_info_rdma_connection *iinfo);
1/*
2 * Copyright (c) 2016 Oracle. All rights reserved.
3 *
4 * This software is available to you under a choice of one of two
5 * licenses. You may choose to be licensed under the terms of the GNU
6 * General Public License (GPL) Version 2, available from the file
7 * COPYING in the main directory of this source tree, or the
8 * OpenIB.org BSD license below:

--- 99 unchanged lines hidden (view full) ---

108
109extern struct workqueue_struct *rds_ib_mr_wq;
110extern bool prefer_frmr;
111
112struct rds_ib_mr_pool *rds_ib_create_mr_pool(struct rds_ib_device *rds_dev,
113 int npages);
114void rds_ib_get_mr_info(struct rds_ib_device *rds_ibdev,
115 struct rds_info_rdma_connection *iinfo);
116void rds6_ib_get_mr_info(struct rds_ib_device *rds_ibdev,
117 struct rds6_info_rdma_connection *iinfo6);
116void rds_ib_destroy_mr_pool(struct rds_ib_mr_pool *);
117void *rds_ib_get_mr(struct scatterlist *sg, unsigned long nents,
118 struct rds_sock *rs, u32 *key_ret);
119void rds_ib_sync_mr(void *trans_private, int dir);
120void rds_ib_free_mr(void *trans_private, int invalidate);
121void rds_ib_flush_mrs(void);
122int rds_ib_mr_init(void);
123void rds_ib_mr_exit(void);

--- 20 unchanged lines hidden ---
118void rds_ib_destroy_mr_pool(struct rds_ib_mr_pool *);
119void *rds_ib_get_mr(struct scatterlist *sg, unsigned long nents,
120 struct rds_sock *rs, u32 *key_ret);
121void rds_ib_sync_mr(void *trans_private, int dir);
122void rds_ib_free_mr(void *trans_private, int invalidate);
123void rds_ib_flush_mrs(void);
124int rds_ib_mr_init(void);
125void rds_ib_mr_exit(void);

--- 20 unchanged lines hidden ---