From: Vivien Didelot <vivien.didelot@gmail.com>
To: dev@dpdk.org
Cc: Vivien Didelot <vivien.didelot@gmail.com>,
Olivier Matz <olivier.matz@6wind.com>,
Ferruh Yigit <ferruh.yigit@intel.com>,
Patrick Keroulas <patrick.keroulas@radio-canada.ca>
Subject: [dpdk-dev] [RFC PATCH 0/3] mlx5 to PCAP capture with hardware timestamps
Date: Thu, 25 Jun 2020 15:01:16 -0400 [thread overview]
Message-ID: <20200625190119.265739-1-vivien.didelot@gmail.com> (raw)
This series allows to capture packets from a Mellanox ConnectX-5 interface
into a PCAP file with support for hardware timestamps. Since libibverbs
already provides timestamp conversion to nanoseconds for mlx5, the necessary
glue is added before writing the driver's timestamps into the PCAP headers.
Patrick Keroulas (2):
net/mlx5: add timestamp-to-ns converter from libibverbs
ethdev: add API to convert raw timestamps to nsec
Vivien Didelot (1):
net/pcap: support hardware Tx timestamps
doc/guides/rel_notes/release_20_08.rst | 1 +
drivers/common/mlx5/linux/mlx5_glue.c | 16 +++++++++++++
drivers/common/mlx5/linux/mlx5_glue.h | 4 ++++
drivers/net/mlx5/linux/mlx5_ethdev_os.c | 30 ++++++++++++++++++++++++
drivers/net/mlx5/linux/mlx5_os.c | 1 +
drivers/net/mlx5/mlx5.h | 1 +
drivers/net/pcap/rte_eth_pcap.c | 30 ++++++++++++++----------
lib/librte_ethdev/rte_ethdev.c | 12 ++++++++++
lib/librte_ethdev/rte_ethdev.h | 17 ++++++++++++++
lib/librte_ethdev/rte_ethdev_core.h | 5 ++++
lib/librte_ethdev/rte_ethdev_version.map | 2 ++
lib/librte_mbuf/rte_mbuf_core.h | 3 ++-
lib/librte_pdump/rte_pdump.c | 14 ++++++++++-
13 files changed, 121 insertions(+), 15 deletions(-)
--
2.27.0
next reply other threads:[~2020-06-30 7:32 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-25 19:01 Vivien Didelot [this message]
2020-06-25 19:01 ` [dpdk-dev] [RFC PATCH 1/3] net/mlx5: add timestamp-to-ns converter from libibverbs Vivien Didelot
2020-06-26 6:41 ` Olivier Matz
2020-07-07 15:23 ` PATRICK KEROULAS
2020-06-25 19:01 ` [dpdk-dev] [RFC PATCH 2/3] ethdev: add API to convert raw timestamps to nsec Vivien Didelot
2020-06-25 19:01 ` [dpdk-dev] [RFC PATCH 3/3] net/pcap: support hardware Tx timestamps Vivien Didelot
2020-06-26 6:48 ` Olivier Matz
2020-07-06 18:36 ` PATRICK KEROULAS
2020-07-07 14:47 ` Olivier Matz
2020-07-10 19:23 ` PATRICK KEROULAS
2020-06-30 14:59 ` Stephen Hemminger
2020-07-08 14:34 ` [dpdk-dev] [RFC PATCH 0/3] mlx5 to PCAP capture with hardwaretimestamps Morten Brørup
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=20200625190119.265739-1-vivien.didelot@gmail.com \
--to=vivien.didelot@gmail.com \
--cc=dev@dpdk.org \
--cc=ferruh.yigit@intel.com \
--cc=olivier.matz@6wind.com \
--cc=patrick.keroulas@radio-canada.ca \
/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).