From: Felix Moessbauer <felix.moessbauer@siemens.com>
To: dev@dpdk.org
Cc: henning.schild@siemens.com, jan.kiszka@siemens.com,
thomas@monjalon.net,
Felix Moessbauer <felix.moessbauer@siemens.com>
Subject: [PATCH v6 0/2] Add l2reflect measurement application
Date: Fri, 2 Sep 2022 10:45:31 +0200 [thread overview]
Message-ID: <20220902084533.675698-1-felix.moessbauer@siemens.com> (raw)
Dear DPDK community,
this patch provides the l2reflect measurement tool
which will be discussed in our 2022 DPDK Userspace Summit talk:
"Using DPDK OVS for deterministic low latency communication"
While the code still might need some polish, we believe it is
a good starting point for discussions about low latency networking
in DPDK.
The tool can also be used in a CI environment to contineously
measure latencies across the evolution of DPDK and Linux.
Best regards,
Felix Moessbauer
Siemens AG
Changes since v5:
- rebased against current main
- updated API to DPKD 22.x
- use RTE tracing
- rework handling of mempool
- fixes around configurable packet size
- backportet changes from out-of-tree version
Changes since v4:
All mentioned points from Thomas Monjalon's review are adressed.
This includes:
- remove obsolete makefile
- remove authors from headers
- include sbdirs in alphabetical order
- use rte functions to compare mac addrs
- use rte functions to format mac addrs
- use jansson instead of cjson for json creation
- print histogram to stderr to decouple from TUI
- add option to disable color (autodisable if redirected)
- improve documentation on how to use the tool
- improve inline documentation (mainly l2reflect_rx_filter)
This patch is still targeted towards dpdk/main until the
final decision is made to put it in DTS.
Further, currently only linux is supported due to the RT tuning
stuff and a missing windows testing environment on our side.
We would be happy about contributions to port that to other
platforms as well.
Changes since v3:
- check for sys/io.h header
- fix linking issues on gcc 10
Changes since v2:
- add missing internal dependency
- improve wording of commit message
Changes since v1:
- move to app folder, as suggested by maintainer
- fix issues reported by checkpatch
Felix Moessbauer (2):
Fix build of apps with external dependencies
Add l2reflect measurement application
app/l2reflect/colors.c | 34 ++
app/l2reflect/colors.h | 19 +
app/l2reflect/l2reflect.h | 53 ++
app/l2reflect/main.c | 1007 +++++++++++++++++++++++++++++++++++++
app/l2reflect/meson.build | 21 +
app/l2reflect/payload.h | 26 +
app/l2reflect/stats.c | 225 +++++++++
app/l2reflect/stats.h | 67 +++
app/l2reflect/utils.c | 67 +++
app/l2reflect/utils.h | 20 +
app/meson.build | 3 +-
11 files changed, 1541 insertions(+), 1 deletion(-)
create mode 100644 app/l2reflect/colors.c
create mode 100644 app/l2reflect/colors.h
create mode 100644 app/l2reflect/l2reflect.h
create mode 100644 app/l2reflect/main.c
create mode 100644 app/l2reflect/meson.build
create mode 100644 app/l2reflect/payload.h
create mode 100644 app/l2reflect/stats.c
create mode 100644 app/l2reflect/stats.h
create mode 100644 app/l2reflect/utils.c
create mode 100644 app/l2reflect/utils.h
--
2.30.2
next reply other threads:[~2022-09-02 8:45 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-02 8:45 Felix Moessbauer [this message]
2022-09-02 8:45 ` [PATCH v6 1/2] Fix build of apps with external dependencies Felix Moessbauer
2022-09-20 12:33 ` Maxime Coquelin
2022-09-02 8:45 ` [PATCH v6 2/2] Add l2reflect measurement application Felix Moessbauer
2022-09-20 14:01 ` Maxime Coquelin
2022-09-25 8:01 ` Moessbauer, Felix
2022-10-20 12:45 ` Maxime Coquelin
2022-09-21 14:42 ` Jerin Jacob
2022-09-21 15:07 ` Thomas Monjalon
2022-09-21 15:13 ` Henning Schild
2022-09-22 5:55 ` Jerin Jacob
2022-09-21 9:43 ` [PATCH v6 0/2] " Morten Brørup
2022-09-21 11:27 ` Henning Schild
2022-09-21 12:22 ` Morten Brørup
2022-09-21 12:59 ` Henning Schild
2022-09-21 13:48 ` Morten Brørup
2023-09-12 14:30 ` Stephen Hemminger
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=20220902084533.675698-1-felix.moessbauer@siemens.com \
--to=felix.moessbauer@siemens.com \
--cc=dev@dpdk.org \
--cc=henning.schild@siemens.com \
--cc=jan.kiszka@siemens.com \
--cc=thomas@monjalon.net \
/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).