DPDK patches and discussions
 help / color / mirror / Atom feed
From: John McNamara <john.mcnamara@intel.com>
To: dev@dpdk.org
Subject: [dpdk-dev] [PATCH 0/4] ethdev: add support for ieee1588 timestamping
Date: Fri,  5 Jun 2015 16:19:03 +0100	[thread overview]
Message-ID: <1433517547-19537-1-git-send-email-john.mcnamara@intel.com> (raw)

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

             reply	other threads:[~2015-06-05 15:19 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-05 15:19 John McNamara [this message]
2015-06-05 15:19 ` [dpdk-dev] [PATCH 1/4] " John McNamara
2015-06-05 15:19 ` [dpdk-dev] [PATCH 2/4] e1000: " John McNamara
2015-06-05 15:19 ` [dpdk-dev] [PATCH 3/4] ixgbe: " John McNamara
2015-06-05 15:19 ` [dpdk-dev] [PATCH 4/4] app/testpmd: refactor ieee1588 forwarding John McNamara

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1433517547-19537-1-git-send-email-john.mcnamara@intel.com \
    --to=john.mcnamara@intel.com \
    --cc=dev@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).