]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - include/linux/tcp.h
tcp: refine TSO autosizing
[karo-tx-linux.git] / include / linux / tcp.h
index c2dee7deefa8cb32af530d20e5aa32a61b10ce68..3fa0a9669a3a662be81d4b04f7d117b11012257c 100644 (file)
@@ -130,7 +130,7 @@ struct tcp_sock {
        /* inet_connection_sock has to be the first member of tcp_sock */
        struct inet_connection_sock     inet_conn;
        u16     tcp_header_len; /* Bytes of tcp header to send          */
-       u16     xmit_size_goal_segs; /* Goal for segmenting output packets */
+       u16     gso_segs;       /* Max number of segs per GSO packet    */
 
 /*
  *     Header prediction flags
@@ -204,10 +204,10 @@ struct tcp_sock {
 
        u16     urg_data;       /* Saved octet of OOB data and control flags */
        u8      ecn_flags;      /* ECN status bits.                     */
-       u8      reordering;     /* Packet reordering metric.            */
+       u8      keepalive_probes; /* num of allowed keep alive probes   */
+       u32     reordering;     /* Packet reordering metric.            */
        u32     snd_up;         /* Urgent pointer               */
 
-       u8      keepalive_probes; /* num of allowed keep alive probes   */
 /*
  *      Options received (usually on last packet, some only on SYN packets).
  */