Skip to content

add sample ptp slave application

Daniel Mrzyglod dpdk-dev 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest7 patches 12 repliesIn review
  2. v47 patches 4 repliesSuperseded
  3. v37 patches 1 replySuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v26 patches5 repliesSuperseded
v13 patches0 repliesSuperseded

Changes in v5 from the cover letter

- rebase to the current master

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7ethdev: add additional ieee1588 support functionsdoc/guides/rel_notes/release_2_2.rst lib/librte_ether/rte_ethdev.c lib/librte_ether/rte_ethdev.h +1 more+106 -17 replies
2/7net: Add common PTP structures and functionslib/librte_net/Makefile lib/librte_net/rte_ptp.h+106 -13 replies
3/7ixgbe: add additional ieee1588 support functionsdrivers/net/ixgbe/ixgbe_ethdev.c drivers/net/ixgbe/ixgbe_ethdev.h+264 -110 replies
4/7igb: add additional ieee1588 support functionsdrivers/net/e1000/e1000_ethdev.h drivers/net/e1000/igb_ethdev.c+292 -100 replies
5/7i40e: add additional ieee1588 support functionsdrivers/net/i40e/i40e_ethdev.c drivers/net/i40e/i40e_ethdev.h+181 -200 replies
6/7example: PTP client slave minimal implementationMAINTAINERS doc/guides/rel_notes/release_2_2.rst examples/Makefile +2 more+844 -00 replies
7/7doc: add a PTPCLIENT sample guidedoc/guides/sample_app_ug/img/ptpclient.svg doc/guides/sample_app_ug/index.rst doc/guides/sample_app_ug/ptpclient.rst+829 -00 replies

Reviews trailers per patch

None of the 7 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchJohn McNamara
SeriesR-b R-b R-b R-b R-b R-b R-b R-b R-b R-b R-b R-b R-b R-b R-b R-b
1/7
2/7
3/7
4/7
5/7
6/7
7/7

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v5 thread

Cover letter [PATCH v5 0/7] add sample ptp slave application

Add a sample application that acts as a PTP slave using the DPDK IEEE1588 functions.

Also add some additional IEEE1588 support functions to enable getting, setting and adjusting the device time.

V4->v5:
- rebase to the current master

V3->V4:
Doc:
- Update documentation for ptpclient
- fix: put information about ptpaplication in correct place

V2->V3:
PMD:
- move common structures and functions for PTP protocol to librte_net/rte_ptp.h

V1->V2:
PMDs:
- add support for e1000
- add support for ixgbe
- add support for i40
ethdev:
- change function names to more proper
Doc:
- add documentation for ptpclient
sample:
- add kernel adjustment option
- add portmask option to provide portmask to aplication
Daniel Mrzyglod (5):
ethdev: add additional ieee1588 support functions
net: Add common PTP structures and functions
ixgbe: add additional ieee1588 support functions
example: PTP client slave minimal implementation
doc: add a PTPCLIENT sample guide

Pablo de Lara (2):
igb: add additional ieee1588 support functions
i40e: add additional ieee1588 support functions

 MAINTAINERS                                |   3 +
 doc/guides/rel_notes/release_2_2.rst       |   8 +
 doc/guides/sample_app_ug/img/ptpclient.svg | 520 +++++++++++++++++++
 doc/guides/sample_app_ug/index.rst         |   3 +
 doc/guides/sample_app_ug/ptpclient.rst     | 306 +++++++++++
 drivers/net/e1000/e1000_ethdev.h           |   3 +
 drivers/net/e1000/igb_ethdev.c             | 299 ++++++++++-
 drivers/net/i40e/i40e_ethdev.c             | 196 +++++++-
 drivers/net/i40e/i40e_ethdev.h             |   5 +
 drivers/net/ixgbe/ixgbe_ethdev.c           | 272 +++++++++-
 drivers/net/ixgbe/ixgbe_ethdev.h           |   3 +
 examples/Makefile                          |   1 +
 examples/ptpclient/Makefile                |  56 +++
 examples/ptpclient/ptpclient.c             | 779 +++++++++++++++++++++++++++++
 lib/librte_ether/rte_ethdev.c              |  36 ++
 lib/librte_ether/rte_ethdev.h              |  65 ++-
 lib/librte_ether/rte_ether_version.map     |   3 +
 lib/librte_net/Makefile                    |   2 +-
 lib/librte_net/rte_ptp.h                   | 105 ++++
 19 files changed, 2622 insertions(+), 43 deletions(-)
 create mode 100644 doc/guides/sample_app_ug/img/ptpclient.svg
 create mode 100644 doc/guides/sample_app_ug/ptpclient.rst
 create mode 100644 examples/ptpclient/Makefile
 create mode 100644 examples/ptpclient/ptpclient.c
 create mode 100644 lib/librte_net/rte_ptp.h
Signature · 1 line
2.5.0