diff options
author | Michael S. Tsirkin <mst@dev.mellanox.co.il> | 2007-05-14 07:26:51 +0300 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2007-05-14 14:11:01 -0700 |
commit | 7c5b9ef8577bfa7b74ea58fc9ff2934ffce13532 (patch) | |
tree | 4a39ad8609225261bc17f4acc16447944d875a12 /block | |
parent | bd18c112774db5bb887adb981ffbe9bfe00b2f3a (diff) | |
download | op-kernel-dev-7c5b9ef8577bfa7b74ea58fc9ff2934ffce13532.zip op-kernel-dev-7c5b9ef8577bfa7b74ea58fc9ff2934ffce13532.tar.gz |
IPoIB/cm: Optimize stale connection detection
In the presence of some running RX connections, we repeat
queue_delayed_work calls each 4 RX WRs, which is a waste. It's enough
to start stale task when a first passive connection is added, and
rerun it every IPOIB_CM_RX_DELAY as long as there are outstanding
passive connections.
This removes some code from RX data path.
Signed-off-by: Michael S. Tsirkin <mst@dev.mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions