Get PTP clock capabilities

Check that clock cababilities can be obtained for PTP device associated with the tested network interface.

Scenarios: X3-PTP007.

  1. Find out PTP device associated with the IUT interface, call open() to get its FD.

  2. Call ioctl (PTP_CLOCK_GETCAPS) on the PTP device FD.

  3. Check reported capabilities. Frequency adjustment up to 100_000_000 ppb and Pulse Per Second should be supported; there should be at least one external timestamp channel.

Yurij Plotnikov Yurij.Plotnikov@arknetworks.am

Parameters:

env

Testing environment: