From 1e42f600ab5b5f625e46ca1cf6932e959ffbe1a9 Mon Sep 17 00:00:00 2001 From: bobijam Date: Mon, 4 Aug 2008 02:59:52 +0000 Subject: [PATCH] Branch b1_x_lnet_gate b=16205 i=adilger, zhen.liang Handle TCP_BACKOFF in msec or sec. --- lnet/autoconf/lustre-lnet.m4 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lnet/autoconf/lustre-lnet.m4 b/lnet/autoconf/lustre-lnet.m4 index a79dc25..eed8654 100644 --- a/lnet/autoconf/lustre-lnet.m4 +++ b/lnet/autoconf/lustre-lnet.m4 @@ -169,6 +169,9 @@ else if test "$BOCD" != 0 ; then AC_DEFINE(SOCKNAL_BACKOFF, 1, [use tunable backoff TCP]) AC_MSG_RESULT(yes) + if grep rto_max $LINUX/include/linux/tcp.h|grep -q __u16; then + AC_DEFINE(SOCKNAL_BACKOFF_MS, 1, [tunable backoff TCP in ms]) + fi else AC_MSG_RESULT([no (no kernel support)]) fi -- 1.8.3.1