From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 8D9B9C322 for ; Fri, 5 Jun 2015 17:19:59 +0200 (CEST) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga101.fm.intel.com with ESMTP; 05 Jun 2015 08:19:58 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.13,559,1427785200"; d="scan'208";a="503299275" Received: from irvmail001.ir.intel.com ([163.33.26.43]) by FMSMGA003.fm.intel.com with ESMTP; 05 Jun 2015 08:19:59 -0700 Received: from sivswdev02.ir.intel.com (sivswdev02.ir.intel.com [10.237.217.46]) by irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id t55FJvn2020359; Fri, 5 Jun 2015 16:19:57 +0100 Received: from sivswdev02.ir.intel.com (localhost [127.0.0.1]) by sivswdev02.ir.intel.com with ESMTP id t55FJvrD019587; Fri, 5 Jun 2015 16:19:57 +0100 Received: (from jmcnam2x@localhost) by sivswdev02.ir.intel.com with id t55FJuIx019583; Fri, 5 Jun 2015 16:19:56 +0100 From: John McNamara To: dev@dpdk.org Date: Fri, 5 Jun 2015 16:19:03 +0100 Message-Id: <1433517547-19537-1-git-send-email-john.mcnamara@intel.com> X-Mailer: git-send-email 1.7.4.1 Subject: [dpdk-dev] [PATCH 0/4] ethdev: add support for ieee1588 timestamping 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: Fri, 05 Jun 2015 15:20:00 -0000 This patchset adds ethdev API to enable and read IEEE1588 PTP timestamps from devices that support it. The following functions are added: rte_eth_ieee1588_enable() rte_eth_ieee1588_disable() rte_eth_ieee1588_read_rx_timestamp() rte_eth_ieee1588_read_tx_timestamp() The "ieee1588" forwarding mode in testpmd is also refactored to demonstrate the new API and to clean up the code. Adds support for igb and ixgbe. Support for i40e will follow in V2. I would be interested in getting feedback from maintainers of non-Intel pmds on whether this interface is sufficient to initialise, read from, and stop, IEEE1588 functionality on other devices. John McNamara (4): ethdev: add support for ieee1588 timestamping e1000: add support for ieee1588 timestamping ixgbe: add support for ieee1588 timestamping app/testpmd: refactor ieee1588 forwarding app/test-pmd/ieee1588fwd.c | 443 +-------------------------------- drivers/net/e1000/igb_ethdev.c | 118 +++++++++ drivers/net/ixgbe/ixgbe_ethdev.c | 118 +++++++++ lib/librte_ether/rte_ethdev.c | 70 +++++- lib/librte_ether/rte_ethdev.h | 88 ++++++- lib/librte_ether/rte_ether_version.map | 4 + 6 files changed, 409 insertions(+), 432 deletions(-) -- 1.8.1.4