Whamcloud - gitweb
LU-9943 lnd: correct WR fast reg accounting 11/30311/4
authorAmir Shehata <amir.shehata@intel.com>
Tue, 28 Nov 2017 04:18:02 +0000 (20:18 -0800)
committerOleg Drokin <oleg.drokin@intel.com>
Fri, 22 Dec 2017 22:37:30 +0000 (22:37 +0000)
commit9a379e3226f1ec3be1a628f11a87e34f5d53abd4
treea4f5b03a2a4d23600f1877722a784285ae9533f6
parent2895b11b73fcff788b58e53514b8448841cc9818
LU-9943 lnd: correct WR fast reg accounting

Ensure that enough WRs are allocated for the fast reg
case which needs two additional WRs per transfer:
the first for memory window registration and the second for
memory window invalidation.

Failure to allocate these causes the following problem:
mlx5_warn:mlx5_0:begin_wqe:4085(pid 9590): work queue overflow

Test-Parameters: trivial
Signed-off-by: Alexey Lyashkov <alexey.lyashkov@seagate.com>
Signed-off-by: Amir Shehata <amir.shehata@intel.com>
Change-Id: Icf98b6bbb3d98fb29794173da84412070f13541b
Reviewed-on: https://review.whamcloud.com/30311
Reviewed-by: Alexey Lyashkov <c17817@cray.com>
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
Reviewed-by: Doug Oucharek <dougso@me.com>
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lnet/klnds/o2iblnd/o2iblnd.c