diff --git a/lnet/autoconf/lustre-lnet.m4 b/lnet/autoconf/lustre-lnet.m4 index a79dc2515b5eacdd70d297c2537f669604d71e66..eed86547f6f3cedf0176534d07586ca7bf2d37b5 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