diff options
author | Dag Moxnes <dag.moxnes@oracle.com> | 2019-11-15 11:56:01 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-11-16 23:59:08 +0300 |
commit | a36e629ee77a9df78310c972655092e41ce07ea4 (patch) | |
tree | 0ee7294b0e9734aafb5b1eb3835d51e7e42b0493 /block/t10-pi.c | |
parent | 18d647ae74116bfee38953978501cea2960a0c25 (diff) | |
download | linux-a36e629ee77a9df78310c972655092e41ce07ea4.tar.xz |
rds: ib: update WR sizes when bringing up connection
Currently WR sizes are updated from rds_ib_sysctl_max_send_wr and
rds_ib_sysctl_max_recv_wr when a connection is shut down. As a result,
a connection being down while rds_ib_sysctl_max_send_wr or
rds_ib_sysctl_max_recv_wr are updated, will not update the sizes when
it comes back up.
Move resizing of WRs to rds_ib_setup_qp so that connections will be setup
with the most current WR sizes.
Signed-off-by: Dag Moxnes <dag.moxnes@oracle.com>
Acked-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'block/t10-pi.c')
0 files changed, 0 insertions, 0 deletions