Add a sample application that acts as a PTP slave using the DPDK IEEE1588 functions.
Also add some additional IEEE1588 support functions to enable getting, setting and adjusting the device time. Some V1 limitations of the app: * The mater clock sequence id and clock id are not verified fully. * Only one master clock is supported/assumed. To be added: * Support for igb and i40e. * Multiple checks on clock source. * Some additional protocol values may be required to be parsed for more complex PTP environments. * Add frequency adjustment as well as absolute time adjustment. * Make the implementation NIC speed independent. * Check for linkup/down. Daniel Mrzyglod (3): ethdev: add additional ieee1588 support functions ixgbe: add additional ieee1588 support functions example: PTP client slave minimal implementation MAINTAINERS | 3 + drivers/net/ixgbe/ixgbe_ethdev.c | 250 +++++++++++++++- drivers/net/ixgbe/ixgbe_ethdev.h | 24 ++ examples/Makefile | 1 + examples/ptpclient/Makefile | 59 ++++ examples/ptpclient/ptpclient.c | 525 +++++++++++++++++++++++++++++++++ lib/librte_ether/rte_ethdev.c | 36 +++ lib/librte_ether/rte_ethdev.h | 64 ++++ lib/librte_ether/rte_ether_version.map | 9 + 9 files changed, 960 insertions(+), 11 deletions(-) create mode 100644 examples/ptpclient/Makefile create mode 100644 examples/ptpclient/ptpclient.c -- 2.1.0