Print this page
3660 tcp_slow_start_* tunables should allow increasing the initial congestion window
Reviewed by: Dan McDonald <danmcd@nexenta.com>
Reviewed by: Sebastien Roy <sebastien.roy@delphix.com>
Reviewed by: Brendan Gregg <brendan.gregg@joyent.com>

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/inet/tcp/tcp_opt_data.c
          +++ new/usr/src/uts/common/inet/tcp/tcp_opt_data.c
↓ open down ↓ 261 lines elided ↑ open up ↑
 262  262  optdb_obj_t tcp_opt_obj = {
 263  263          tcp_opt_default,        /* TCP default value function pointer */
 264  264          tcp_tpi_opt_get,        /* TCP get function pointer */
 265  265          tcp_tpi_opt_set,        /* TCP set function pointer */
 266  266          TCP_OPT_ARR_CNT,        /* TCP option database count of entries */
 267  267          tcp_opt_arr,            /* TCP option database */
 268  268          TCP_VALID_LEVELS_CNT,   /* TCP valid level count of entries */
 269  269          tcp_valid_levels_arr    /* TCP valid level array */
 270  270  };
 271  271  
 272      -/* Maximum TCP initial cwin (start/restart). */
 273      -#define TCP_MAX_INIT_CWND       16
 274      -
 275  272  static int tcp_max_init_cwnd = TCP_MAX_INIT_CWND;
 276  273  
 277  274  /*
 278  275   * Some TCP options can be "set" by requesting them in the option
 279  276   * buffer. This is needed for XTI feature test though we do not
 280  277   * allow it in general. We interpret that this mechanism is more
 281  278   * applicable to OSI protocols and need not be allowed in general.
 282  279   * This routine filters out options for which it is not allowed (most)
 283  280   * and lets through those (few) for which it is. [ The XTI interface
 284  281   * test suite specifics will imply that any XTI_GENERIC level XTI_* if
↓ open down ↓ 807 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX