Print this page
5295 remove maxburst logic from TCP's send algorithm Reviewed by: Dan McDonald <danmcd@omniti.com>

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/inet/tcp.h
          +++ new/usr/src/uts/common/inet/tcp.h
↓ open down ↓ 14 lines elided ↑ open up ↑
  15   15   * If applicable, add the following below this CDDL HEADER, with the
  16   16   * fields enclosed by brackets "[]" replaced with your own identifying
  17   17   * information: Portions Copyright [yyyy] [name of copyright owner]
  18   18   *
  19   19   * CDDL HEADER END
  20   20   */
  21   21  /*
  22   22   * Copyright (c) 1991, 2010, Oracle and/or its affiliates. All rights reserved.
  23   23   * Copyright (c) 2011, Joyent, Inc. All rights reserved.
  24   24   * Copyright (c) 2011 Nexenta Systems, Inc. All rights reserved.
       25 + * Copyright (c) 2014 by Delphix. All rights reserved.
  25   26   */
  26   27  /* Copyright (c) 1990 Mentat Inc. */
  27   28  
  28   29  #ifndef _INET_TCP_H
  29   30  #define _INET_TCP_H
  30   31  
  31   32  #ifdef  __cplusplus
  32   33  extern "C" {
  33   34  #endif
  34   35  
↓ open down ↓ 138 lines elided ↑ open up ↑
 173  174          /* Fields arranged in approximate access order along main paths */
 174  175          mblk_t  *tcp_xmit_head;         /* Head of xmit/rexmit list */
 175  176          mblk_t  *tcp_xmit_last;         /* Last valid data seen by tcp_wput */
 176  177          mblk_t  *tcp_xmit_tail;         /* Last data sent */
 177  178          uint32_t tcp_unsent;            /* # of bytes in hand that are unsent */
 178  179          uint32_t tcp_xmit_tail_unsent;  /* # of unsent bytes in xmit_tail */
 179  180  
 180  181          uint32_t tcp_suna;              /* Sender unacknowledged */
 181  182          uint32_t tcp_rexmit_nxt;        /* Next rexmit seq num */
 182  183          uint32_t tcp_rexmit_max;        /* Max retran seq num */
 183      -        int32_t tcp_snd_burst;          /* Send burst factor */
 184  184          uint32_t tcp_cwnd;              /* Congestion window */
 185  185          int32_t tcp_cwnd_cnt;           /* cwnd cnt in congestion avoidance */
 186  186  
 187  187          uint32_t tcp_ibsegs;            /* Inbound segments on this stream */
 188  188          uint32_t tcp_obsegs;            /* Outbound segments on this stream */
 189  189  
 190  190          uint32_t tcp_naglim;            /* Tunable nagle limit */
 191  191          uint32_t        tcp_valid_bits;
 192  192  #define TCP_ISS_VALID   0x1     /* Is the tcp_iss seq num active? */
 193  193  #define TCP_FSS_VALID   0x2     /* Is the tcp_fss seq num active? */
↓ open down ↓ 405 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX