From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from foss.arm.com (foss.arm.com [217.140.101.70]) by dpdk.org (Postfix) with ESMTP id DD19B5B2C for ; Wed, 3 Apr 2019 09:02:46 +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 1A81980D; Wed, 3 Apr 2019 00:02:46 -0700 (PDT) Received: from phil-VirtualBox.shanghai.arm.com (unknown [10.169.109.179]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 938B63F68F; Wed, 3 Apr 2019 00:02:44 -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: Wed, 3 Apr 2019 14:59:53 +0800 Message-Id: <1554274796-23258-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 v3 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: , X-List-Received-Date: Wed, 03 Apr 2019 07:02:47 -0000 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(-) -- 2.7.4 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 BEB88A0679 for ; Wed, 3 Apr 2019 09:02:50 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 9BFFA5F20; Wed, 3 Apr 2019 09:02:48 +0200 (CEST) Received: from foss.arm.com (foss.arm.com [217.140.101.70]) by dpdk.org (Postfix) with ESMTP id DD19B5B2C for ; Wed, 3 Apr 2019 09:02:46 +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 1A81980D; Wed, 3 Apr 2019 00:02:46 -0700 (PDT) Received: from phil-VirtualBox.shanghai.arm.com (unknown [10.169.109.179]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 938B63F68F; Wed, 3 Apr 2019 00:02:44 -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: Wed, 3 Apr 2019 14:59:53 +0800 Message-Id: <1554274796-23258-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 v3 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: <20190403065953.KCQPAanP_3lVn52ETvtfo9Eb5bLZdZKks7KiN5Eqrpw@z> 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(-) -- 2.7.4