Thread (31 messages) 31 messages, 5 authors, 2020-07-20

Re: [PATCH v1 4/8] net: dsa: hellcreek: Add support for hardware timestamping

From: Vladimir Oltean <olteanv@gmail.com>
Date: 2020-07-13 14:12:24
Also in: netdev

On Mon, Jul 13, 2020 at 07:01:12AM -0700, Richard Cochran wrote:
On Mon, Jul 13, 2020 at 12:57:34PM +0200, Kurt Kanzenbach wrote:
quoted
quoted
I would like to get some clarification on whether "SKBTX_IN_PROGRESS"
should be set in shtx->tx_flags or not. On one hand, it's asking for
trouble, on the other hand, it's kind of required for proper compliance
to API pre-SO_TIMESTAMPING...
Hm. We actually oriented our code on the mv88e6xxx time stamping code base.
Where in mv88e6xxx does the driver set SKBTX_IN_PROGRESS?
That's the point, it doesn't, and neither does hellcreek.
I don't think it makes sense for DSA drivers to set this bit, as it
serves no purpose in the DSA context.
For whom does this bit serve a purpose, though, and how do you tell?
Thanks,
Richard
Thanks,
-Vladimir
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help