svn commit: r235557 - head/sys/netinet

Michael Tuexen tuexen at FreeBSD.org
Thu May 17 18:12:24 UTC 2012


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 at .
  
  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"


More information about the svn-src-all mailing list