diff options
author | Dag Moxnes <dag.moxnes@oracle.com> | 2019-11-15 09:56:01 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-11-16 12:59:08 -0800 |
commit | a36e629ee77a9df78310c972655092e41ce07ea4 (patch) | |
tree | 0ee7294b0e9734aafb5b1eb3835d51e7e42b0493 /net/smc | |
parent | 18d647ae74116bfee38953978501cea2960a0c25 (diff) | |
download | linux-stable-a36e629ee77a9df78310c972655092e41ce07ea4.tar.gz linux-stable-a36e629ee77a9df78310c972655092e41ce07ea4.tar.bz2 linux-stable-a36e629ee77a9df78310c972655092e41ce07ea4.zip |
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 'net/smc')
0 files changed, 0 insertions, 0 deletions