diff options
author | Sagi Grimberg <sagig@mellanox.com> | 2015-03-29 15:52:05 +0300 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2015-04-08 09:27:49 +0300 |
commit | 67cb39492571433b95eb2952edca46f024ddf16c (patch) | |
tree | 90f883b53bee25ccf6a76cee4c0dc452d9d9a769 /drivers/infiniband/ulp/isert/ib_isert.h | |
parent | 4a579da2586bd3b79b025947ea24ede2bbfede62 (diff) | |
download | linux-67cb39492571433b95eb2952edca46f024ddf16c.tar.xz |
iser-target: Use a single DMA MR and PD per device
This is to favor the HCA cache hit rate using less MRs
and PDs. This commit partially reverts commit:
"eb6ab13 IB/isert: separate connection protection domains and dma MRs"
At the time I thought this would be needed.
Signed-off-by: Sagi Grimberg <sagig@mellanox.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/infiniband/ulp/isert/ib_isert.h')
-rw-r--r-- | drivers/infiniband/ulp/isert/ib_isert.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/infiniband/ulp/isert/ib_isert.h b/drivers/infiniband/ulp/isert/ib_isert.h index 8dc8415d152d..e386092a3274 100644 --- a/drivers/infiniband/ulp/isert/ib_isert.h +++ b/drivers/infiniband/ulp/isert/ib_isert.h @@ -169,8 +169,6 @@ struct isert_conn { struct completion login_req_comp; struct iser_tx_desc conn_login_tx_desc; struct rdma_cm_id *conn_cm_id; - struct ib_pd *conn_pd; - struct ib_mr *conn_mr; struct ib_qp *conn_qp; struct isert_device *conn_device; struct mutex conn_mutex; @@ -211,6 +209,8 @@ struct isert_device { bool pi_capable; int refcount; struct ib_device *ib_device; + struct ib_pd *pd; + struct ib_mr *mr; struct isert_comp *comps; int comps_used; struct list_head dev_node; |