DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH 0/4] ethdev: add support for ieee1588 timestamping
@ 2015-06-05 15:19 John McNamara
  2015-06-05 15:19 ` [dpdk-dev] [PATCH 1/4] " John McNamara
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: John McNamara @ 2015-06-05 15:19 UTC (permalink / raw)
  To: dev

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-06-05 15:20 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-05 15:19 [dpdk-dev] [PATCH 0/4] ethdev: add support for ieee1588 timestamping John McNamara
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

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).