Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1345152
| From | Santosh Shilimkar <santosh.shilimkar@oracle.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [net-next][PATCH v2 08/13] RDS: IB: add connection info to ibmr |
| Date | 2016-02-28 03:30 +0100 |
| Message-ID | <r6Zho-3WL-29@gated-at.bofh.it> (permalink) |
| References | <r6Zhn-3WL-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Preperatory patch for FRMR support. From connection info,
we can retrieve cm_id which contains qp handled needed for
work request posting.
We also need to drop the RDS connection on QP error states
where connection handle becomes useful.
Signed-off-by: Santosh Shilimkar <ssantosh@kernel.org>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
---
net/rds/ib_mr.h | 17 +++++++++--------
1 file changed, 9 insertions(+), 8 deletions(-)
diff --git a/net/rds/ib_mr.h b/net/rds/ib_mr.h
index f5c1fcb..add7725 100644
--- a/net/rds/ib_mr.h
+++ b/net/rds/ib_mr.h
@@ -50,18 +50,19 @@ struct rds_ib_fmr {
/* This is stored as mr->r_trans_private. */
struct rds_ib_mr {
- struct rds_ib_device *device;
- struct rds_ib_mr_pool *pool;
+ struct rds_ib_device *device;
+ struct rds_ib_mr_pool *pool;
+ struct rds_ib_connection *ic;
- struct llist_node llnode;
+ struct llist_node llnode;
/* unmap_list is for freeing */
- struct list_head unmap_list;
- unsigned int remap_count;
+ struct list_head unmap_list;
+ unsigned int remap_count;
- struct scatterlist *sg;
- unsigned int sg_len;
- int sg_dma_len;
+ struct scatterlist *sg;
+ unsigned int sg_len;
+ int sg_dma_len;
union {
struct rds_ib_fmr fmr;
--
1.9.1
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[net-next][PATCH v2 00/13] RDS: Major clean-up with couple of new features for 4.6 Santosh Shilimkar <santosh.shilimkar@oracle.com> - 2016-02-28 03:30 +0100
[net-next][PATCH v2 12/13] RDS: IB: allocate extra space on queues for FRMR support Santosh Shilimkar <santosh.shilimkar@oracle.com> - 2016-02-28 03:30 +0100
[net-next][PATCH v2 09/13] RDS: IB: handle the RDMA CM time wait event Santosh Shilimkar <santosh.shilimkar@oracle.com> - 2016-02-28 03:30 +0100
[net-next][PATCH v2 04/13] RDS: IB: Remove the RDS_IB_SEND_OP dependency Santosh Shilimkar <santosh.shilimkar@oracle.com> - 2016-02-28 03:30 +0100
[net-next][PATCH v2 10/13] RDS: IB: add mr reused stats Santosh Shilimkar <santosh.shilimkar@oracle.com> - 2016-02-28 03:30 +0100
[net-next][PATCH v2 11/13] RDS: IB: add Fastreg MR (FRMR) detection support Santosh Shilimkar <santosh.shilimkar@oracle.com> - 2016-02-28 03:30 +0100
Re: [net-next][PATCH v2 11/13] RDS: IB: add Fastreg MR (FRMR) detection support Christoph Hellwig <hch@infradead.org> - 2016-02-28 10:10 +0100
Re: [net-next][PATCH v2 11/13] RDS: IB: add Fastreg MR (FRMR) detection support "santosh.shilimkar@oracle.com" <santosh.shilimkar@oracle.com> - 2016-02-28 11:30 +0100
[net-next][PATCH v2 02/13] RDS: Add support for SO_TIMESTAMP for incoming messages Santosh Shilimkar <santosh.shilimkar@oracle.com> - 2016-02-28 03:30 +0100
[net-next][PATCH v2 05/13] RDS: IB: Re-organise ibmr code Santosh Shilimkar <santosh.shilimkar@oracle.com> - 2016-02-28 03:30 +0100
[net-next][PATCH v2 03/13] MAINTAINERS: update RDS entry Santosh Shilimkar <santosh.shilimkar@oracle.com> - 2016-02-28 03:30 +0100
[net-next][PATCH v2 08/13] RDS: IB: add connection info to ibmr Santosh Shilimkar <santosh.shilimkar@oracle.com> - 2016-02-28 03:30 +0100
[net-next][PATCH v2 13/13] RDS: IB: Support Fastreg MR (FRMR) memory registration mode Santosh Shilimkar <santosh.shilimkar@oracle.com> - 2016-02-28 03:30 +0100
Re: [net-next][PATCH v2 00/13] RDS: Major clean-up with couple of new features for 4.6 David Miller <davem@davemloft.net> - 2016-03-01 23:40 +0100
Re: [net-next][PATCH v2 00/13] RDS: Major clean-up with couple of new features for 4.6 santosh shilimkar <santosh.shilimkar@oracle.com> - 2016-03-02 00:10 +0100
csiph-web