Message ID | 1532429671-1606-1-git-send-email-naga.sureshx.somarowthu@intel.com (mailing list archive) |
---|---|
Headers |
Return-Path: <dev-bounces@dpdk.org> X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 49735239; Tue, 24 Jul 2018 12:54:56 +0200 (CEST) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id E689998 for <dev@dpdk.org>; Tue, 24 Jul 2018 12:54:54 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 24 Jul 2018 03:54:52 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,397,1526367600"; d="scan'208";a="218620406" Received: from irvmail001.ir.intel.com ([163.33.26.43]) by orsmga004.jf.intel.com with ESMTP; 24 Jul 2018 03:54:49 -0700 Received: from wgcvswdev001.ir.intel.com (wgcvswdev001.ir.intel.com [10.102.246.100]) by irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id w6OAsmxx013915; Tue, 24 Jul 2018 11:54:49 +0100 Received: from wgcvswdev001.ir.intel.com (localhost [127.0.0.1]) by wgcvswdev001.ir.intel.com with ESMTP id w6OAslBi001742; Tue, 24 Jul 2018 11:54:47 +0100 Received: (from jmparthx@localhost) by wgcvswdev001.ir.intel.com with ? id w6OAsls5001737; Tue, 24 Jul 2018 11:54:47 +0100 From: Naga Suresh Somarowthu <naga.sureshx.somarowthu@intel.com> To: dev@dpdk.org Cc: remy.horton@intel.com, reshma.pattan@intel.com, Naga Suresh Somarowthu <naga.sureshx.somarowthu@intel.com> Date: Tue, 24 Jul 2018 11:54:27 +0100 Message-Id: <1532429671-1606-1-git-send-email-naga.sureshx.somarowthu@intel.com> X-Mailer: git-send-email 1.7.12.2 In-Reply-To: <1531821650-5506-1-git-send-email-jananeex.m.parthasarathy@intel.com> References: <1531821650-5506-1-git-send-email-jananeex.m.parthasarathy@intel.com> Subject: [dpdk-dev] [PATCH v5 0/4] add unit tests for bitrate, latency and pdump libraries X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions <dev.dpdk.org> List-Unsubscribe: <https://mails.dpdk.org/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://mails.dpdk.org/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <https://mails.dpdk.org/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org Sender: "dev" <dev-bounces@dpdk.org> |
Series |
add unit tests for bitrate, latency and pdump libraries
|
|
Message
Naga Suresh Somarowthu
July 24, 2018, 10:54 a.m. UTC
1/4: add ring pmd based packet helper functions for UT 2/4: unit test cases added for bitrate library 3/4: unit test cases added for latencystats library 4/4: unit test cases added for pdump library Patches 2/4,3/4 and 4/4 depends on 1/4 Signed-off-by: Naga Suresh Somarowthu <naga.sureshx.somarowthu@intel.com> Reviewed-by: Reshma Pattan <reshma.pattan@intel.com> Reviewed-by: Anatoly Burakov <anatoly.burakov@intel.com> Reviewed-by: Remy Horton <remy.horton@intel.com> --- v5: rebased, freed pools and rings, created common patch set --- Naga Suresh Somarowthu (4): test: add ring pmd based packet rx/tx for UT test: add unit tests for bitrate library test: add unit tests for latencystats library test: add unit test for pdump library test/test/Makefile | 4 + test/test/autotest_data.py | 12 ++ test/test/sample_packet_forward.c | 115 +++++++++++++++++ test/test/sample_packet_forward.h | 41 ++++++ test/test/test_bitratestats.c | 227 +++++++++++++++++++++++++++++++++ test/test/test_latencystats.c | 216 ++++++++++++++++++++++++++++++++ test/test/test_pdump.c | 256 ++++++++++++++++++++++++++++++++++++++ test/test/test_pdump.h | 40 ++++++ 8 files changed, 911 insertions(+) create mode 100644 test/test/sample_packet_forward.c create mode 100644 test/test/sample_packet_forward.h create mode 100644 test/test/test_bitratestats.c create mode 100644 test/test/test_latencystats.c create mode 100644 test/test/test_pdump.c create mode 100644 test/test/test_pdump.h