netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [net-next 0/4] remove deprecated syststamp
@ 2014-07-25 22:01 Willem de Bruijn
  2014-07-25 22:01 ` [net-next 1/4] octeon: remove deprecated syststamp timestamp Willem de Bruijn
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Willem de Bruijn @ 2014-07-25 22:01 UTC (permalink / raw)
  To: netdev
  Cc: davem, richardcochran, kreese, ddaney, dborkman, jdmason,
	Willem de Bruijn

The network stack can generate two kinds of hardware timestamps:
- hwtstamp stores a hw timestamp in device-specific raw format
- syststamp convers the raw format to system time

The second is deprecated and only implemented by a single device
driver. The suggested alternative is to communicate hwtstamp +
directly expose the NIC PTP clock device through ptp_clock_info.
The remaining driver (octeon) does not expose such a standard
interface as of now. It does have its own PTP library that depends
on its own shared memory PTP clock interface.

This patchset
1. reverts the syststamp code in the one driver (octeon)
2. reverts an unnecessary zero initialization in another (vxge)
3. modifies PF_PACKET to use syststamp is != 0 (because always == 0)
4. modifies SCM_TIMESTAMPING in the same way

For backwards compatibility, the interfaces are not removed.
Applications can still request SOF_TIMESTAMPING_SYS_HARDWARE. The
response field in scm_timestamping also remains. As was the case
for hardware/drivers that did not implement the feature, the
setsockopt succeeds, but the response field is always zero.

-- 
2.0.0.526.g5318336

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2014-07-29 18:40 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-25 22:01 [net-next 0/4] remove deprecated syststamp Willem de Bruijn
2014-07-25 22:01 ` [net-next 1/4] octeon: remove deprecated syststamp timestamp Willem de Bruijn
2014-07-25 22:01 ` [net-next 2/4] vxge: " Willem de Bruijn
2014-07-25 22:01 ` [net-next 3/4] packet: " Willem de Bruijn
2014-07-25 22:01 ` [net-next 4/4] net: " Willem de Bruijn
2014-07-26  7:45 ` [net-next 0/4] remove deprecated syststamp Richard Cochran
2014-07-29 18:40 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).