From patchwork Mon Apr 8 03:02:28 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Phil Yang X-Patchwork-Id: 52378 Return-Path: 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 9406E2C55; Mon, 8 Apr 2019 05:01:10 +0200 (CEST) Received: from foss.arm.com (foss.arm.com [217.140.101.70]) by dpdk.org (Postfix) with ESMTP id EB9FA2C24 for ; Mon, 8 Apr 2019 05:01:08 +0200 (CEST) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id E8E2415AD; Sun, 7 Apr 2019 20:01:07 -0700 (PDT) Received: from phil-VirtualBox.shanghai.arm.com (unknown [10.169.108.140]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 5DAB23F718; Sun, 7 Apr 2019 20:01:06 -0700 (PDT) From: Phil Yang To: dev@dpdk.org, thomas@monjalon.net Cc: david.hunt@intel.com, reshma.pattan@intel.com, gavin.hu@arm.com, honnappa.nagarahalli@arm.com, phil.yang@arm.com, nd@arm.com Date: Mon, 8 Apr 2019 11:02:28 +0800 Message-Id: <1554692551-28275-1-git-send-email-phil.yang@arm.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1546508946-12552-1-git-send-email-phil.yang@arm.com> References: <1546508946-12552-1-git-send-email-phil.yang@arm.com> Subject: [dpdk-dev] [PATCH v4 0/3] example and test cases optimizations 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" v4: packet_ordering: Fixed -Wmissing-braces issue for clang build. (Thomas Monjalon) v3: test_distributor: Remove the conditional compilation and just keep the __atomic_xxx calls. (Honnappa Nagarahalli) v2: 1. Add per lcore statistics for each worker thread, removed __sync builtins. 2. Reimplement test_distributor with atomic one-way barrier, if C11_MEM_MODEL is enabled. 3. Reimplement test_ring_perf with atomic one-way barrier, if C11_MEM_MODEL is enabled. v1: Reimplement packet_ordering with __atomic one-way barrier. Phil Yang (3): packet_ordering: add statistics for each worker thread test/distributor: replace sync builtins with atomic builtins test/ring_perf: replace sync builtins with atomic builtins app/test/test_distributor.c | 7 ++-- app/test/test_distributor_perf.c | 2 +- app/test/test_ring_perf.c | 12 +++++-- doc/guides/sample_app_ug/packet_ordering.rst | 4 ++- examples/packet_ordering/main.c | 50 +++++++++++++++++++++++++--- 5 files changed, 63 insertions(+), 12 deletions(-)