From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id B111D12A8 for ; Thu, 2 Jul 2015 17:16:50 +0200 (CEST) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga103.jf.intel.com with ESMTP; 02 Jul 2015 08:16:49 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.15,393,1432623600"; d="scan'208";a="598981204" Received: from irvmail001.ir.intel.com ([163.33.26.43]) by orsmga003.jf.intel.com with ESMTP; 02 Jul 2015 08:16:48 -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 t62FGkKu018915; Thu, 2 Jul 2015 16:16:46 +0100 Received: from sivswdev02.ir.intel.com (localhost [127.0.0.1]) by sivswdev02.ir.intel.com with ESMTP id t62FGk2N007060; Thu, 2 Jul 2015 16:16:46 +0100 Received: (from jmcnam2x@localhost) by sivswdev02.ir.intel.com with id t62FGk9F007056; Thu, 2 Jul 2015 16:16:46 +0100 From: John McNamara To: dev@dpdk.org Date: Thu, 2 Jul 2015 16:16:27 +0100 Message-Id: <1435850194-7024-1-git-send-email-john.mcnamara@intel.com> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1435585344-26652-1-git-send-email-john.mcnamara@intel.com> References: <1435585344-26652-1-git-send-email-john.mcnamara@intel.com> Subject: [dpdk-dev] [PATCH v3 0/7] 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: Thu, 02 Jul 2015 15:16:51 -0000 This patchset adds ethdev API to enable and read IEEE1588/802.1AS PTP timestamps from devices that support it. The following functions are added: rte_eth_timesync_enable() rte_eth_timesync_disable() rte_eth_timesync_read_rx_timestamp() rte_eth_timesync_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, ixgbe and i40e. V3: * Fixed issued with version.map. V2: * Added i40e support. * Renamed ethdev functions from rte_eth_ieee15888_*() to rte_eth_timesync_*() since 802.1AS can be supported through the same interfaces. V1: * Initial version for John McNamara (7): ethdev: add support for ieee1588 timestamping e1000: add support for ieee1588 timestamping ixgbe: add support for ieee1588 timestamping i40e: add support for ieee1588 timestamping app/testpmd: refactor ieee1588 forwarding doc: document ieee1588 forwarding mode abi: announce mbuf addition for ieee1588 in DPDK 2.2 app/test-pmd/ieee1588fwd.c | 466 ++-------------------------- doc/guides/rel_notes/abi.rst | 5 + doc/guides/testpmd_app_ug/run_app.rst | 2 +- doc/guides/testpmd_app_ug/testpmd_funcs.rst | 2 + drivers/net/e1000/igb_ethdev.c | 115 +++++++ drivers/net/i40e/i40e_ethdev.c | 143 +++++++++ drivers/net/i40e/i40e_rxtx.c | 39 ++- drivers/net/ixgbe/ixgbe_ethdev.c | 122 ++++++++ lib/librte_ether/rte_ethdev.c | 70 ++++- lib/librte_ether/rte_ethdev.h | 90 +++++- lib/librte_ether/rte_ether_version.map | 4 + 11 files changed, 615 insertions(+), 443 deletions(-) -- 1.8.1.4