From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Mrzyglod Subject: [PATCH 0/3] add sample ptp slave application Date: Fri, 2 Oct 2015 17:20:05 +0200 Message-ID: <1443799208-9408-1-git-send-email-danielx.t.mrzyglod@intel.com> To: dev@dpdk.org Return-path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id F35738DB1 for ; Fri, 2 Oct 2015 17:21:20 +0200 (CEST) List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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