Skip to content

remove deprecated syststamp

Willem de Bruijn netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4octeon: remove deprecated syststamp timestampdrivers/net/ethernet/octeon/octeon_mgmt.c+1 -240 replies
2/4vxge: remove deprecated syststamp timestampdrivers/net/ethernet/neterion/vxge/vxge-main.c+0 -10 replies
3/4packet: remove deprecated syststamp timestampDocumentation/networking/packet_mmap.txt include/uapi/linux/if_packet.h net/packet/af_packet.c+11 -210 replies
4/4net: remove deprecated syststamp timestampDocumentation/networking/timestamping.txt Documentation/networking/timestamping/timestamping.c include/linux/skbuff.h +3 more+11 -490 replies

Reviews trailers per patch

None of the 4 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchRichard Cochran
SeriesA-b
1/4
2/4
3/4
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [net-next 0/4] remove deprecated syststamp

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.

Signature · 1 line
2.0.0.526.g5318336