> -----Original Message-----
> From: Paul Thomas [mailto:[email protected]]
> Sent: Tuesday, March 12, 2019 1:00 PM
> To: Keller, Jacob E <[email protected]>; [email protected]; Harini
> Katakam <[email protected]>
> Cc: [email protected]
> Subject: Re: [Linuxptp-devel] strangeness
>
> On Tue, Mar 12, 2019 at 3:22 PM Keller, Jacob E
> <[email protected]> wrote:
> >
> >
> > Hmm. I haven't been able to reproduce this using other device drivers, so I
> > wonder
> if the specific device driver is doing something weird and indicating that it
> can Tx
> timestamp every packet, in its hard_xmit routine... But it should only be
> doing that for
> packets which are requested to timestamp from the socket.
>
> Yes! I think this could be it. I just submitted this patch so that we
> can talk about it:
> https://lore.kernel.org/netdev/[email protected]/
>
> This fixes the issue I'm having with nc and ssh.
>
> -Paul
>
The patch looks good. I think it's correct, since only sockets which expect to
get Tx timestamps should be waiting and checking for them. Other sockets won't
be checking, but also won't get betting timestamps.
I'm not sure if there is some improvement we could do in the future for if a Tx
timestamp is sent for a packet that didn't request it.
Maybe others know more about that flow?
Thanks,
Jake
_______________________________________________
Linuxptp-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linuxptp-devel