Re: [PATCH] tcp: provide tx timestamps for partial writes

2017-01-04 Thread Soheil Hassas Yeganeh
On Wed, Jan 4, 2017 at 7:55 AM, Eric Dumazet wrote: > > On Tue, 2017-01-03 at 10:22 -0500, Soheil Hassas Yeganeh wrote: > > On Mon, Jan 2, 2017 at 3:23 PM, Soheil Hassas Yeganeh > > wrote: > > > On Mon, Jan 2, 2017 at 3:20 PM, Soheil Hassas Yeganeh > > > wrote: > > >> From: Soheil Hassas Yegane

Re: [PATCH] tcp: provide tx timestamps for partial writes

2017-01-04 Thread Eric Dumazet
On Tue, 2017-01-03 at 10:22 -0500, Soheil Hassas Yeganeh wrote: > On Mon, Jan 2, 2017 at 3:23 PM, Soheil Hassas Yeganeh > wrote: > > On Mon, Jan 2, 2017 at 3:20 PM, Soheil Hassas Yeganeh > > wrote: > >> From: Soheil Hassas Yeganeh > >> > >> For TCP sockets, tx timestamps are only captured when

Re: [PATCH] tcp: provide tx timestamps for partial writes

2017-01-03 Thread Yuchung Cheng
On Mon, Jan 2, 2017 at 12:20 PM, Soheil Hassas Yeganeh wrote: > > From: Soheil Hassas Yeganeh > > For TCP sockets, tx timestamps are only captured when the user data > is successfully and fully written to the socket. In many cases, > however, TCP writes can be partial for which no timestamp is >

Re: [PATCH] tcp: provide tx timestamps for partial writes

2017-01-03 Thread Soheil Hassas Yeganeh
On Mon, Jan 2, 2017 at 3:23 PM, Soheil Hassas Yeganeh wrote: > On Mon, Jan 2, 2017 at 3:20 PM, Soheil Hassas Yeganeh > wrote: >> From: Soheil Hassas Yeganeh >> >> For TCP sockets, tx timestamps are only captured when the user data >> is successfully and fully written to the socket. In many cases

Re: [PATCH] tcp: provide tx timestamps for partial writes

2017-01-02 Thread Soheil Hassas Yeganeh
On Mon, Jan 2, 2017 at 3:20 PM, Soheil Hassas Yeganeh wrote: > From: Soheil Hassas Yeganeh > > For TCP sockets, tx timestamps are only captured when the user data > is successfully and fully written to the socket. In many cases, > however, TCP writes can be partial for which no timestamp is > col

[PATCH] tcp: provide tx timestamps for partial writes

2017-01-02 Thread Soheil Hassas Yeganeh
From: Soheil Hassas Yeganeh For TCP sockets, tx timestamps are only captured when the user data is successfully and fully written to the socket. In many cases, however, TCP writes can be partial for which no timestamp is collected. Collect timestamps when the user data is partially copied into t