Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 May 2012 18:12:24 +0000 (UTC)
From:      Michael Tuexen <tuexen@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r235557 - head/sys/netinet
Message-ID:  <201205171812.q4HICO7W010141@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tuexen
Date: Thu May 17 18:12:24 2012
New Revision: 235557
URL: http://svn.freebsd.org/changeset/base/235557

Log:
  Use a default for max_burst of 4 and l2var of 2.
  This was discussed with rrs@.
  
  MFC after: 3 days

Modified:
  head/sys/netinet/sctp_constants.h
  head/sys/netinet/sctp_sysctl.h

Modified: head/sys/netinet/sctp_constants.h
==============================================================================
--- head/sys/netinet/sctp_constants.h	Thu May 17 17:58:53 2012	(r235556)
+++ head/sys/netinet/sctp_constants.h	Thu May 17 18:12:24 2012	(r235557)
@@ -348,7 +348,7 @@ __FBSDID("$FreeBSD$");
 #define SCTP_NO_FR_UNLESS_SEGMENT_SMALLER 1
 
 /* default max I can burst out after a fast retransmit, 0 disables it */
-#define SCTP_DEF_MAX_BURST 0
+#define SCTP_DEF_MAX_BURST 4
 #define SCTP_DEF_HBMAX_BURST 4
 #define SCTP_DEF_FRMAX_BURST 4
 

Modified: head/sys/netinet/sctp_sysctl.h
==============================================================================
--- head/sys/netinet/sctp_sysctl.h	Thu May 17 17:58:53 2012	(r235556)
+++ head/sys/netinet/sctp_sysctl.h	Thu May 17 18:12:24 2012	(r235557)
@@ -377,7 +377,7 @@ struct sctp_sysctl {
 #define SCTPCTL_ABC_L_VAR_DESC		"SCTP ABC max increase per SACK (L)"
 #define SCTPCTL_ABC_L_VAR_MIN		0
 #define SCTPCTL_ABC_L_VAR_MAX		0xFFFFFFFF
-#define SCTPCTL_ABC_L_VAR_DEFAULT	1
+#define SCTPCTL_ABC_L_VAR_DEFAULT	2
 
 /* max_chained_mbufs: Default max number of small mbufs on a chain */
 #define SCTPCTL_MAX_CHAINED_MBUFS_DESC	"Default max number of small mbufs on a chain"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201205171812.q4HICO7W010141>