29 Sep, 2011

1 commit

  • The IEEE 1588 standard defines two kinds of messages, event and general
    messages. Event messages require time stamping, and general do not. When
    using UDP transport, two separate ports are used for the two message
    types.

    The BPF designed to recognize event messages incorrectly classifies L2
    general messages as event messages. This commit fixes the issue by
    extending the filter to check the message type field for L2 PTP packets.
    Event messages are be distinguished from general messages by testing
    the "general" bit.

    Signed-off-by: Richard Cochran
    Cc:
    Signed-off-by: David S. Miller

    Richard Cochran
     

24 May, 2011

1 commit

  • This patch adds an infrastructure for hardware clocks that implement
    IEEE 1588, the Precision Time Protocol (PTP). A class driver offers a
    registration method to particular hardware clock drivers. Each clock is
    presented as a standard POSIX clock.

    The ancillary clock features are exposed in two different ways, via
    the sysfs and by a character device.

    Signed-off-by: Richard Cochran
    Acked-by: Arnd Bergmann
    Acked-by: David S. Miller
    Signed-off-by: John Stultz

    Richard Cochran
     

19 Jul, 2010

1 commit

  • Certain kinds of hardware time stamping units in both MACs and PHYs have
    the limitation that they can only time stamp PTP packets. Drivers for such
    hardware are left with the task of correctly matching skbs to time stamps.
    This patch adds a BPF that drivers can use to classify PTP packets when
    needed.

    Signed-off-by: Richard Cochran
    Signed-off-by: David S. Miller

    Richard Cochran