Re: [PATCH net-next 3/3] docs: networking: timestamping: add a set of frequently asked questions

From
Richard Cochran <richardcochran@gmail.com>
Date
2020-07-21 00:22:01
Also in
linux-doc
Reply to
Vladimir Oltean, 2020-07-20
On Tue, Jul 21, 2020 at 01:13:14AM +0300, Vladimir Oltean wrote:
I think at least part of the reason why this keeps going on is that
there aren't any hard and fast rules that say you shouldn't do it. When
there isn't even a convincing percentage of DSA/PHY drivers that do set
SKBTX_HW_TSTAMP, the chances are pretty low that you'll get a stacked
PHC driver that sets the flag, plus a MAC driver that checks for it
incorrectly. So people tend to ignore this case.
Right.
Even though, if stacked
DSA drivers started supporting software TX timestamping (which is not
unlikely, given the fact that this would also give you compatibility
with PHY timestamping), I'm sure things would change, because more
people would become aware of the issue once mv88e6xxx starts getting
affected.
I really can't see the utility in having a SW time stamp from a DSA
interface.  The whole point of DSA time stamping is to get the ingress
and egress time of frames on the external ports, in order to correct
for the residence time within the switch.

Thanks,
Richard
Thread (19 messages) 19 messages, 3 authors, last reply 2020-07-25
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help