Re: [PATCH RFC V1 net-next 3/4] net: Let the active time stamping layer be selectable.

From
Richard Cochran <richardcochran@gmail.com>
Date
2022-01-04 01:42:20
Also in
lkml
Reply to
Russell King (Oracle), 2022-01-03
On Mon, Jan 03, 2022 at 11:53:57PM +0000, Russell King (Oracle) wrote:
On Mon, Jan 03, 2022 at 03:25:54PM -0800, Richard Cochran wrote:
quoted
Make the sysfs knob writable, and add checks in the ioctl and time
stamping paths to respect the currently selected time stamping layer.

Signed-off-by: Richard Cochran <richardcochran@gmail.com>
As I stated for patch 2, this patch will break mvpp2 PTP support,
since as soon as we bind a PHY, whether or not it supports PTP, you
will switch "selected_timestamping_layer" to be PHY mode PTP, and
direct all PTP calls to the PHY layer whether or not the PHY has
PTP support, away from the MAC layer.
Oh, that was a brain fart of mine.

I'll amend that to switch selected_timestamping_layer only if the PHY
does support time stamping.

IMO, the default should be PHY because up until now the PHY layer was
prefered.

Or would you say the MAC layer should take default priority?

(that may well break some existing systems)

Thanks,
Richard
Thread (28 messages) 28 messages, 8 authors, last reply 2022-04-06
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