From patchwork Fri Jul 3 15:18:10 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: "Moessbauer, Felix" X-Patchwork-Id: 73040 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 6BF4EA0519; Fri, 3 Jul 2020 17:18:35 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 423AE1DC36; Fri, 3 Jul 2020 17:18:35 +0200 (CEST) Received: from gecko.sbs.de (gecko.sbs.de [194.138.37.40]) by dpdk.org (Postfix) with ESMTP id D1AFC1DC36 for ; Fri, 3 Jul 2020 17:18:32 +0200 (CEST) Received: from mail1.sbs.de (mail1.sbs.de [192.129.41.35]) by gecko.sbs.de (8.15.2/8.15.2) with ESMTPS id 063FIWP4008957 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 3 Jul 2020 17:18:32 +0200 Received: from MD1UYK9C-docker.ad001.siemens.net ([139.21.146.159]) by mail1.sbs.de (8.15.2/8.15.2) with ESMTP id 063FIVj7008929; Fri, 3 Jul 2020 17:18:31 +0200 From: Felix Moessbauer To: thomas@monjalon.net Cc: dev@dpdk.org, Felix Moessbauer Date: Fri, 3 Jul 2020 17:18:10 +0200 Message-Id: <20200703151811.38372-1-felix.moessbauer@siemens.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Subject: [dpdk-dev] [RFC PATCH 0/1] Add l2reflect measurement application X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Dear Maintainers, this patch adds a measurement application to benchmark the latency of transmitting l2 packets via DPDK. We add this application to the examples folder, as similar tools were placed there as well. Note: the example has an optional dependency to cjson for creating a json representation of the latency diagram. Sending this as RFC as this patch does not modify libdpdk. Best regards, Felix Mößbauer Felix Moessbauer (1): Add l2reflect measurement application examples/l2reflect/Makefile | 31 ++ examples/l2reflect/l2reflect.h | 56 +++ examples/l2reflect/main.c | 833 +++++++++++++++++++++++++++++++++ examples/l2reflect/meson.build | 21 + examples/l2reflect/stats.c | 198 ++++++++ examples/l2reflect/stats.h | 67 +++ examples/meson.build | 1 + 7 files changed, 1207 insertions(+) create mode 100644 examples/l2reflect/Makefile create mode 100644 examples/l2reflect/l2reflect.h create mode 100644 examples/l2reflect/main.c create mode 100644 examples/l2reflect/meson.build create mode 100644 examples/l2reflect/stats.c create mode 100644 examples/l2reflect/stats.h