[RFC,v1,0/6] refactor smp barriers in app/eventdev
Message ID | 20201222050728.41000-1-feifei.wang2@arm.com (mailing list archive) |
---|---|
Headers |
Return-Path: <dev-bounces@dpdk.org> 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 5A3CFA09EF; Tue, 22 Dec 2020 06:07:43 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 7841BCA8B; Tue, 22 Dec 2020 06:07:41 +0100 (CET) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by dpdk.org (Postfix) with ESMTP id A051ECA86 for <dev@dpdk.org>; Tue, 22 Dec 2020 06:07:38 +0100 (CET) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 0286330E; Mon, 21 Dec 2020 21:07:37 -0800 (PST) Received: from net-x86-dell-8268.shanghai.arm.com (net-x86-dell-8268.shanghai.arm.com [10.169.210.131]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 562EF3F718; Mon, 21 Dec 2020 21:07:35 -0800 (PST) From: Feifei Wang <feifei.wang2@arm.com> To: Cc: dev@dpdk.org, nd@arm.com, Honnappa.Nagarahalli@arm.com, Feifei Wang <feifei.wang2@arm.com> Date: Tue, 22 Dec 2020 13:07:21 +0800 Message-Id: <20201222050728.41000-1-feifei.wang2@arm.com> X-Mailer: git-send-email 2.17.1 Subject: [dpdk-dev] [RFC PATCH v1 0/6] refactor smp barriers in app/eventdev 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> |
Message
Feifei Wang
Dec. 22, 2020, 5:07 a.m. UTC
For smp barriers in app/eventdev, remove the unnecessary barriers or replace them with thread fence. Feifei Wang (6): app/eventdev: fix SMP barrier bugs for perf test app/eventdev: remove unnecessary barriers for perf test app/eventdev: replace wmb with thread fence for perf test app/eventdev: add release barriers for pipeline test app/eventdev: remove unnecessary barriers for pipeline test app/eventdev: remove unnecessary barriers for order test app/test-eventdev/test_order_common.h | 2 - app/test-eventdev/test_perf_common.c | 4 -- app/test-eventdev/test_perf_common.h | 14 +++++- app/test-eventdev/test_pipeline_common.c | 1 - app/test-eventdev/test_pipeline_queue.c | 64 +++++++++++++++++++++--- 5 files changed, 68 insertions(+), 17 deletions(-)