Re: [PATCH net-next v6] tcp: Add RFC4898 tcpEStatsPerfDataSegsOut/In

2016-06-17 Thread Martin KaFai Lau
On Thu, Jun 16, 2016 at 09:30:28PM -0700, Eric Dumazet wrote: > On Mon, 2016-03-14 at 10:52 -0700, Martin KaFai Lau wrote: > > Per RFC4898, they count segments sent/received > > containing a positive length data segment (that includes > > retransmission segments carrying data). Unlike > > tcpi_seg

Re: [PATCH net-next v6] tcp: Add RFC4898 tcpEStatsPerfDataSegsOut/In

2016-06-16 Thread Eric Dumazet
On Mon, 2016-03-14 at 10:52 -0700, Martin KaFai Lau wrote: > Per RFC4898, they count segments sent/received > containing a positive length data segment (that includes > retransmission segments carrying data). Unlike > tcpi_segs_out/in, tcpi_data_segs_out/in excludes segments > carrying no data (e.

Re: [PATCH net-next v6] tcp: Add RFC4898 tcpEStatsPerfDataSegsOut/In

2016-03-14 Thread David Miller
From: Martin KaFai Lau Date: Mon, 14 Mar 2016 10:52:15 -0700 > Per RFC4898, they count segments sent/received > containing a positive length data segment (that includes > retransmission segments carrying data). Unlike > tcpi_segs_out/in, tcpi_data_segs_out/in excludes segments > carrying no data

[PATCH net-next v6] tcp: Add RFC4898 tcpEStatsPerfDataSegsOut/In

2016-03-14 Thread Martin KaFai Lau
Per RFC4898, they count segments sent/received containing a positive length data segment (that includes retransmission segments carrying data). Unlike tcpi_segs_out/in, tcpi_data_segs_out/in excludes segments carrying no data (e.g. pure ack). The patch also updates the segs_in in tcp_fastopen_add