net: remove deprecated syststamp timestamp
authorWillem de Bruijn <willemb@google.com>
Fri, 25 Jul 2014 22:01:32 +0000 (18:01 -0400)
committerDavid S. Miller <davem@davemloft.net>
Tue, 29 Jul 2014 18:39:50 +0000 (11:39 -0700)
commit4d276eb6a478307a28ae843836c455bf04b37a3c
tree2915bc3a3e8ea825e7b02349b05915aaff8a91eb
parent68a360e82e55c9b35097e7be7f7991d8f401032f
net: remove deprecated syststamp timestamp

The SO_TIMESTAMPING API defines three types of timestamps: software,
hardware in raw format (hwtstamp) and hardware converted to system
format (syststamp). The last has been deprecated in favor of combining
hwtstamp with a PTP clock driver. There are no active users in the
kernel.

The option was device driver dependent. If set, but without hardware
support, the correct behavior is to return zero in the relevant field
in the SCM_TIMESTAMPING ancillary message. Without device drivers
implementing the option, this field is effectively always zero.

Remove the internal plumbing to dissuage new drivers from implementing
the feature. Keep the SOF_TIMESTAMPING_SYS_HARDWARE flag, however, to
avoid breaking existing applications that request the timestamp.

Signed-off-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/networking/timestamping.txt
Documentation/networking/timestamping/timestamping.c
include/linux/skbuff.h
include/net/sock.h
net/core/sock.c
net/socket.c