[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140715063101.GB4087@localhost.localdomain>
Date: Tue, 15 Jul 2014 08:31:01 +0200
From: Richard Cochran <richardcochran@...il.com>
To: Willem de Bruijn <willemb@...gle.com>
Cc: netdev@...r.kernel.org, davem@...emloft.net,
stephen@...workplumber.org
Subject: Re: [PATCH net-next] net-timestamp: document deprecated syststamp
On Mon, Jul 14, 2014 at 05:55:30PM -0400, Willem de Bruijn wrote:
> The SO_TIMESTAMPING API defines option SOF_TIMESTAMPING_SYS_HW.
> This feature is deprecated. It should not be implemented by new
> device drivers. Existing drivers do not implement it, either --
> with one exception.
>
> Driver developers are encouraged to expose the NIC hw clock as a
> PTP HW clock source, instead, and synchronize system time to the
> HW source.
>
> The control flag cannot be removed due to being part of the ABI, nor
> can the structure scm_timestamping that is returned. Due to the one
> legacy driver, the internal datapath and structure are not removed.
>
> This patch only clearly marks the interface as deprecated. Device
> drivers should always return a syststamp value of zero.
>
> Signed-off-by: Willem de Bruijn <willemb@...gle.com>
Thanks a bunch for this!
Acked-by: Richard Cochran <richardcochran@...il.com>
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists