commit | 7c5b9ef8577bfa7b74ea58fc9ff2934ffce13532 | [log] [tgz] |
---|---|---|
author | Michael S. Tsirkin <mst@dev.mellanox.co.il> | Mon May 14 07:26:51 2007 +0300 |
committer | Roland Dreier <rolandd@cisco.com> | Mon May 14 14:11:01 2007 -0700 |
tree | 4a39ad8609225261bc17f4acc16447944d875a12 | |
parent | bd18c112774db5bb887adb981ffbe9bfe00b2f3a [diff] |
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>