From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id E546B5949 for ; Tue, 3 Nov 2015 17:40:11 +0100 (CET) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga101.jf.intel.com with ESMTP; 03 Nov 2015 08:40:10 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,239,1444719600"; d="scan'208";a="841647130" Received: from unknown ([10.217.248.15]) by orsmga002.jf.intel.com with SMTP; 03 Nov 2015 08:40:05 -0800 Received: by (sSMTP sendmail emulation); Tue, 03 Nov 2015 17:39:01 +0100 From: Daniel Mrzyglod To: dev@dpdk.org Date: Tue, 3 Nov 2015 17:38:41 +0100 Message-Id: <1446568728-12220-1-git-send-email-danielx.t.mrzyglod@intel.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1443799208-9408-1-git-send-email-danielx.t.mrzyglod@intel.com> References: <1443799208-9408-1-git-send-email-danielx.t.mrzyglod@intel.com> Subject: [dpdk-dev] [PATCH v3 0/7] add sample ptp slave application X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Nov 2015 16:40:12 -0000 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. V2->V3: PMD: - move common structures and functions for PTP protocol to librte_net/rte_ptp.h V1->V2: PMDs: - add support for e1000 - add support for ixgbe - add support for i40 ethdev: - change function names to more proper. Doc: - add documentation for ptpclient sample: - add kernel adjustment option - add portmask option to provide portmask to aplication Daniel Mrzyglod (5): ethdev: add additional ieee1588 support functions net: Add common PTP structures and functions ixgbe: add additional ieee1588 support functions example: PTP client slave minimal implementation doc: add a PTPCLIENT sample guide Pablo de Lara (2): igb: add additional ieee1588 support functions i40e: add additional ieee1588 support functions MAINTAINERS | 3 + doc/guides/rel_notes/release_2_2.rst | 8 + doc/guides/sample_app_ug/img/ptpclient.svg | 520 +++++++++++++++++++ doc/guides/sample_app_ug/index.rst | 3 + doc/guides/sample_app_ug/ptpclient.rst | 324 ++++++++++++ drivers/net/e1000/e1000_ethdev.h | 3 + drivers/net/e1000/igb_ethdev.c | 299 ++++++++++- drivers/net/i40e/i40e_ethdev.c | 192 ++++++- drivers/net/i40e/i40e_ethdev.h | 5 + drivers/net/ixgbe/ixgbe_ethdev.c | 272 +++++++++- drivers/net/ixgbe/ixgbe_ethdev.h | 3 + examples/Makefile | 1 + examples/ptpclient/Makefile | 56 +++ examples/ptpclient/ptpclient.c | 779 +++++++++++++++++++++++++++++ lib/librte_ether/rte_ethdev.c | 36 ++ lib/librte_ether/rte_ethdev.h | 64 +++ lib/librte_ether/rte_ether_version.map | 3 + lib/librte_net/Makefile | 2 +- lib/librte_net/rte_ptp.h | 105 ++++ 19 files changed, 2636 insertions(+), 42 deletions(-) create mode 100644 doc/guides/sample_app_ug/img/ptpclient.svg create mode 100644 doc/guides/sample_app_ug/ptpclient.rst create mode 100644 examples/ptpclient/Makefile create mode 100644 examples/ptpclient/ptpclient.c create mode 100644 lib/librte_net/rte_ptp.h -- 2.1.0