[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210531135407.GB7888@hoboy.vegasvil.org>
Date: Mon, 31 May 2021 06:54:07 -0700
From: Richard Cochran <richardcochran@...il.com>
To: "Y.b. Lu" <yangbo.lu@....com>
Cc: "netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"David S . Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>,
Claudiu Manoil <claudiu.manoil@....com>
Subject: Re: [net-next, v2, 7/7] enetc: support PTP domain timestamp
conversion
> But one problem is how to check the phc availability for current network interface.
> If user can make sure it's using right phc device for current network interface, that's no problem.
> Otherwise, timestamp will be token on wrong phc...
Right, when user space requests the option, the kernel needs to check:
sock -> dev -> physical phc_index -> vclocks.
Today we have ethtool get_ts_info. We could add get_vclock_info for
example.
Thanks,
Richard
Powered by blists - more mailing lists