summaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@dev.mellanox.co.il>2007-05-14 07:26:51 +0300
committerRoland Dreier <rolandd@cisco.com>2007-05-14 14:11:01 -0700
commit7c5b9ef8577bfa7b74ea58fc9ff2934ffce13532 (patch)
tree4a39ad8609225261bc17f4acc16447944d875a12 /block
parentbd18c112774db5bb887adb981ffbe9bfe00b2f3a (diff)
downloadop-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
OpenPOWER on IntegriCloud