Re: [PATCH net-next 0/5] PTP support for the SJA1105 DSA driver
From: Richard Cochran
Date: Fri May 31 2019 - 11:24:54 EST
On Fri, May 31, 2019 at 08:11:51AM -0700, Richard Cochran wrote:
>
> 1. When the driver receives a deferred PTP frame, save it into a
> per-switch,port slot at the driver (not port) level.
>
> 2. When the driver receives a META frame, match it to the
> per-switch,port slot. If there is a PTP frame in that slot, then
> deliver it with the time stamp from the META frame.
Actually, since the switch guarantees strict ordering, you don't need
multiple slots. You only need to save one Rx'd PTP frame with its
switch-id and port-id.
Thanks,
Richard