Re: [PATCH net-next RFC v4 2/5] net: Expose available time stamping layers to user space.

Richard Cochran
2023-05-23T03:54:22Z

On Mon, May 22, 2023 at 01:21:44PM -0700, Jakub Kicinski wrote:
> On Mon, 22 May 2023 13:04:33 -0700 Richard Cochran wrote:
> > On Mon, May 22, 2023 at 03:56:36AM +0000, Zulkifli, Muhammad Husaini wrote:
> >
> > > A controller may only support one HW Timestamp (PHY/Port) and one MAC Timestamp
> > > (DMA Timestamp) for packet timestamp activity. If a PTP packet has used the HW Timestamp (PHY/Port),
> >
> > This is wrong.
> >
> > The time stamping setting is global, at the device level, not at the
> > socket. And that is not going to change. This series is about
> > selecting between MAC/PHY time stamping globally, at the device level.
>
> What constitutes a device?

Sorry, maybe I should have said "interface".

You cannot have one socket with MAC and another with DMA time stamps,
as the above post implies or wishes for.

Thanks,
Richard