From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 8DC19A05D3 for ; Fri, 29 Mar 2019 11:56:52 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 622473576; Fri, 29 Mar 2019 11:56:52 +0100 (CET) Received: from foss.arm.com (foss.arm.com [217.140.101.70]) by dpdk.org (Postfix) with ESMTP id D85FA2BF4 for ; Fri, 29 Mar 2019 11:56:51 +0100 (CET) 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 3A34680D; Fri, 29 Mar 2019 03:56:51 -0700 (PDT) Received: from phil-VirtualBox.shanghai.arm.com (unknown [10.169.106.173]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id AAC573F575; Fri, 29 Mar 2019 03:56:49 -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: Fri, 29 Mar 2019 18:56:35 +0800 Message-Id: <1553856998-25394-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 v2 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" Content-Type: text/plain; charset="UTF-8" Message-ID: <20190329105635.3lUPjgVZ-0V1Hg9hISwKZV3owBsxSZpY-kYCEshcGIw@z> v1: Reimplement packet_ordering with __atomic one-way barrier. 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. 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 | 18 +++++++++- app/test/test_distributor_perf.c | 7 +++- 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, 81 insertions(+), 10 deletions(-) -- 2.7.4