Whamcloud - gitweb
LU-10459 lnd: throttle tx based on queue depth 51/30751/3
authorAmir Shehata <amir.shehata@intel.com>
Fri, 5 Jan 2018 20:22:45 +0000 (12:22 -0800)
committerOleg Drokin <oleg.drokin@intel.com>
Fri, 19 Jan 2018 19:09:55 +0000 (19:09 +0000)
commite86f55798ca7bc8f7fe22dd48c9d9f52c1bb029a
tree8a3f0980ffdd9b1a99466f3f538ff5211dabb76b
parent2b13cb3c743aa49ba71314fa73af2c0a4adf9649
LU-10459 lnd: throttle tx based on queue depth

Throttle the transmits based on the negotiated conn queue depth
to ensure we keep the number of outstanding transmits below the
negotiated queue depth.

Test-Parameters: trivial
Signed-off-by: Amir Shehata <amir.shehata@intel.com>
Change-Id: I27190364904d6c79c0cd6d382228f8b8d2b11ba0
Reviewed-on: https://review.whamcloud.com/30751
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lnet/klnds/o2iblnd/o2iblnd_cb.c