From: "Fu, JingguoX" <jingguox.fu@intel.com>
To: "dev@dpdk.org" <dev@dpdk.org>
Subject: Re: [dpdk-dev] [PATCH v3 0/7] ethdev: add support for ieee1588 timestamping
Date: Wed, 8 Jul 2015 01:59:47 +0000 [thread overview]
Message-ID: <6BD6202160B55B409D42329311582262693B85@SHSMSX101.ccr.corp.intel.com> (raw)
In-Reply-To: <1435850194-7024-1-git-send-email-john.mcnamara@intel.com>
Tested-by: Jingguo Fu <jingguox.fu@intel.com>
- Test Commit: 82be8d544253a4b5c49b778babf717e5e63f3dc1
- OS: Ubuntu 14.04
- GCC: gcc version 4.8.4 (Ubuntu 4.8.4-2ubuntu1~14.04)
- CPU: Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz
- NIC: Intel Corporation Device [8086:1563]
- Total 1 case, 1 passed, 0 failed.
Test Case : test_ieee1588_disable
====================================================================
1. set CONFIG_RTE_LIBRTE_IEEE1588=y, rebuild the DPDK code.
2.mount hugetlbfs
3. insmod igb_uio and bind the two ports to igb_uio driver
4. startup testpmd
testpmd -c 0x6 -n 4 -- -i --txqflags 0x0
5. set ieee1588 fwd mode and start it:
set fwd ieee1588
start
6. send a packet to the receive port and check the output and send port status:
a: "IEEE1588 PTP V2 SYNC" in pmd output
b: "RX timestamp value ([0-9a-fA-F]+)" in pmd output
c: "TX timestamp value ([0-9a-fA-F]+)" in pmd output
> -----Original Message-----
> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of John McNamara
> Sent: Thursday, July 02, 2015 23:16
> To: dev@dpdk.org
> Subject: [dpdk-dev] [PATCH v3 0/7] ethdev: add support for ieee1588
> timestamping
>
> 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
prev parent reply other threads:[~2015-07-08 2:01 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-29 13:42 [dpdk-dev] [PATCH v2 " John McNamara
2015-06-29 13:42 ` [dpdk-dev] [PATCH v2 1/7] " John McNamara
2015-07-02 10:17 ` Thomas Monjalon
2015-07-02 15:14 ` Mcnamara, John
2015-06-29 13:42 ` [dpdk-dev] [PATCH v2 2/7] e1000: " John McNamara
2015-06-29 13:42 ` [dpdk-dev] [PATCH v2 3/7] ixgbe: " John McNamara
2015-06-29 13:42 ` [dpdk-dev] [PATCH v2 4/7] i40e: " John McNamara
2015-06-29 13:42 ` [dpdk-dev] [PATCH v2 5/7] app/testpmd: refactor ieee1588 forwarding John McNamara
2015-06-29 13:42 ` [dpdk-dev] [PATCH v2 6/7] doc: document ieee1588 forwarding mode John McNamara
2015-06-29 13:42 ` [dpdk-dev] [PATCH v2 7/7] abi: announce mbuf addition for ieee1588 in DPDK 2.2 John McNamara
2015-07-02 1:24 ` [dpdk-dev] [PATCH v2 0/7] ethdev: add support for ieee1588 timestamping Lu, Wenzhuo
2015-07-02 15:16 ` [dpdk-dev] [PATCH v3 " John McNamara
2015-07-02 15:16 ` [dpdk-dev] [PATCH v3 1/7] " John McNamara
2015-07-02 15:16 ` [dpdk-dev] [PATCH v3 2/7] e1000: " John McNamara
2015-07-02 15:16 ` [dpdk-dev] [PATCH v3 3/7] ixgbe: " John McNamara
2015-07-02 15:16 ` [dpdk-dev] [PATCH v3 4/7] i40e: " John McNamara
2015-07-02 15:16 ` [dpdk-dev] [PATCH v3 5/7] app/testpmd: refactor ieee1588 forwarding John McNamara
2015-07-02 15:16 ` [dpdk-dev] [PATCH v3 6/7] doc: document ieee1588 forwarding mode John McNamara
2015-07-02 15:16 ` [dpdk-dev] [PATCH v3 7/7] abi: announce mbuf addition for ieee1588 in DPDK 2.2 John McNamara
2015-07-06 13:16 ` Thomas Monjalon
2015-07-08 13:10 ` Bruce Richardson
2015-07-09 15:51 ` Thomas Monjalon
2015-07-09 16:01 ` Bruce Richardson
2015-07-03 8:22 ` [dpdk-dev] [PATCH v3 0/7] ethdev: add support for ieee1588 timestamping Lu, Wenzhuo
2015-07-08 1:59 ` Fu, JingguoX [this message]
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=6BD6202160B55B409D42329311582262693B85@SHSMSX101.ccr.corp.intel.com \
--to=jingguox.fu@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).