From: Michael S. Tsirkin Date: Mon, 14 May 2007 04:26:51 +0000 (+0300) Subject: IPoIB/cm: Optimize stale connection detection X-Git-Tag: v2.6.22-rc2~93^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7c5b9ef8577bfa7b74ea58fc9ff2934ffce13532;p=pandora-kernel.git 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 Signed-off-by: Roland Dreier --- Reading git-diff-tree failed