diff options
author | Santosh Shilimkar <santosh.shilimkar@oracle.com> | 2016-03-08 18:19:01 +0100 |
---|---|---|
committer | Santosh Shilimkar <santosh.shilimkar@oracle.com> | 2017-01-02 23:02:47 +0100 |
commit | 56012459310a1dbcc55c2dbf5500a9f7571402cb (patch) | |
tree | 38c3280346b68541e459497342a0246998a9089f /net/rds/ib.h | |
parent | RDS: RDMA: return appropriate error on rdma map failures (diff) | |
download | linux-56012459310a1dbcc55c2dbf5500a9f7571402cb.tar.xz linux-56012459310a1dbcc55c2dbf5500a9f7571402cb.zip |
RDS: IB: split the mr registration and invalidation path
MR invalidation in RDS is done in background thread and not in
data path like registration. So break the dependency between them
which helps to remove the performance bottleneck.
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
Diffstat (limited to 'net/rds/ib.h')
-rw-r--r-- | net/rds/ib.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/net/rds/ib.h b/net/rds/ib.h index f4e81214e70a..f14c26d22b27 100644 --- a/net/rds/ib.h +++ b/net/rds/ib.h @@ -14,7 +14,8 @@ #define RDS_IB_DEFAULT_RECV_WR 1024 #define RDS_IB_DEFAULT_SEND_WR 256 -#define RDS_IB_DEFAULT_FR_WR 512 +#define RDS_IB_DEFAULT_FR_WR 256 +#define RDS_IB_DEFAULT_FR_INV_WR 256 #define RDS_IB_DEFAULT_RETRY_COUNT 1 @@ -125,6 +126,7 @@ struct rds_ib_connection { /* To control the number of wrs from fastreg */ atomic_t i_fastreg_wrs; + atomic_t i_fastunreg_wrs; /* interrupt handling */ struct tasklet_struct i_send_tasklet; |