Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/104379/?format=api
http://patches.dpdk.org/api/patches/104379/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20211116094205.750359-1-joyce.kong@arm.com/", "project": { "id": 1, "url": "http://patches.dpdk.org/api/projects/1/?format=api", "name": "DPDK", "link_name": "dpdk", "list_id": "dev.dpdk.org", "list_email": "dev@dpdk.org", "web_url": "http://core.dpdk.org", "scm_url": "git://dpdk.org/dpdk", "webscm_url": "http://git.dpdk.org/dpdk", "list_archive_url": "https://inbox.dpdk.org/dev", "list_archive_url_format": "https://inbox.dpdk.org/dev/{}", "commit_url_format": "" }, "msgid": "<20211116094205.750359-1-joyce.kong@arm.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20211116094205.750359-1-joyce.kong@arm.com", "date": "2021-11-16T09:41:53", "name": "[v2,00/12] use compiler atomic builtins for app modules", "commit_ref": null, "pull_url": null, "state": null, "archived": false, "hash": null, "submitter": { "id": 970, "url": "http://patches.dpdk.org/api/people/970/?format=api", "name": "Joyce Kong", "email": "joyce.kong@arm.com" }, "delegate": null, "mbox": "http://patches.dpdk.org/project/dpdk/patch/20211116094205.750359-1-joyce.kong@arm.com/mbox/", "series": [], "comments": "http://patches.dpdk.org/api/patches/104379/comments/", "check": "pending", "checks": "http://patches.dpdk.org/api/patches/104379/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "X-Original-To": "patchwork@inbox.dpdk.org", "Delivered-To": "patchwork@inbox.dpdk.org", "Received": [ "from mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 2E83DA0C43;\n\tTue, 16 Nov 2021 10:42:44 +0100 (CET)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id B29ED41168;\n\tTue, 16 Nov 2021 10:42:43 +0100 (CET)", "from foss.arm.com (foss.arm.com [217.140.110.172])\n by mails.dpdk.org (Postfix) with ESMTP id 902A241157\n for <dev@dpdk.org>; Tue, 16 Nov 2021 10:42:42 +0100 (CET)", "from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14])\n by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id ED0AB1FB;\n Tue, 16 Nov 2021 01:42:41 -0800 (PST)", "from net-arm-n1amp-02.shanghai.arm.com\n (net-arm-n1amp-02.shanghai.arm.com [10.169.210.110])\n by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 628873F5A1;\n Tue, 16 Nov 2021 01:42:40 -0800 (PST)" ], "From": "Joyce Kong <joyce.kong@arm.com>", "To": "", "Cc": "dev@dpdk.org, honnappa.nagarahalli@arm.com, nd@arm.com,\n Joyce Kong <joyce.kong@arm.com>", "Subject": "[PATCH v2 00/12] use compiler atomic builtins for app modules", "Date": "Tue, 16 Nov 2021 09:41:53 +0000", "Message-Id": "<20211116094205.750359-1-joyce.kong@arm.com>", "X-Mailer": "git-send-email 2.25.1", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.29", "Precedence": "list", "List-Id": "DPDK patches and discussions <dev.dpdk.org>", "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <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>,\n <mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org" }, "content": "Since atomic operations have been adopted in DPDK now[1],\nchange rte_atomicNN_xxx APIs to compiler's atomic built-ins\nin app modules[2].\n\n[1] https://www.dpdk.org/blog/2021/03/26/dpdk-adopts-the-c11-memory-model/\n[2] https://doc.dpdk.org/guides/rel_notes/deprecation.html\n\nv2:\n By Honnappa Nagarahalli:\n 1. Replace the RELAXED barriers with suitable ones for shared\n data sync in pmd_perf and timer test cases.\n 2. Avoid unnecessary atomic operations in compress and testpmd\n modules.\n 3. Fix some typo.\n\nJoyce Kong (12):\n test/pmd_perf: use compiler atomic builtins for polling sync\n test/ring_perf: use compiler atomic builtins for lcores sync\n test/timer: use compiler atomic builtins for sync\n test/stack_perf: use compiler atomics for lcore sync\n test/bpf: use compiler atomics for calculation\n test/func_reentrancy: use compiler atomics for data sync\n app/eventdev: use compiler atomics for shared data sync\n app/crypto: use compiler atomic builtins for display sync\n app/compress: use compiler atomic builtins for display sync\n app/testpmd: remove atomic operations for port status\n app/bbdev: use compiler atomics for shared data sync\n app: remove unnecessary include of atomic header file\n\n app/proc-info/main.c | 1 -\n app/test-bbdev/test_bbdev_perf.c | 135 ++++++++----------\n .../comp_perf_test_common.h | 2 +-\n .../comp_perf_test_cyclecount.c | 15 +-\n .../comp_perf_test_throughput.c | 10 +-\n .../comp_perf_test_verify.c | 6 +-\n app/test-crypto-perf/cperf_test_latency.c | 6 +-\n .../cperf_test_pmd_cyclecount.c | 9 +-\n app/test-crypto-perf/cperf_test_throughput.c | 9 +-\n app/test-crypto-perf/cperf_test_verify.c | 9 +-\n app/test-eventdev/evt_main.c | 1 -\n app/test-eventdev/test_order_atq.c | 4 +-\n app/test-eventdev/test_order_common.c | 4 +-\n app/test-eventdev/test_order_common.h | 8 +-\n app/test-eventdev/test_order_queue.c | 4 +-\n app/test-pipeline/config.c | 1 -\n app/test-pipeline/init.c | 1 -\n app/test-pipeline/main.c | 1 -\n app/test-pipeline/runtime.c | 1 -\n app/test-pmd/cmdline.c | 1 -\n app/test-pmd/config.c | 1 -\n app/test-pmd/csumonly.c | 1 -\n app/test-pmd/flowgen.c | 1 -\n app/test-pmd/icmpecho.c | 1 -\n app/test-pmd/iofwd.c | 1 -\n app/test-pmd/macfwd.c | 1 -\n app/test-pmd/macswap.c | 1 -\n app/test-pmd/parameters.c | 1 -\n app/test-pmd/rxonly.c | 1 -\n app/test-pmd/testpmd.c | 58 ++++----\n app/test-pmd/txonly.c | 1 -\n app/test/test_barrier.c | 1 -\n app/test/test_bpf.c | 28 ++--\n app/test/test_func_reentrancy.c | 27 ++--\n app/test/test_mbuf.c | 1 -\n app/test/test_mp_secondary.c | 1 -\n app/test/test_pmd_perf.c | 14 +-\n app/test/test_ring.c | 1 -\n app/test/test_ring_perf.c | 9 +-\n app/test/test_stack_perf.c | 14 +-\n app/test/test_timer.c | 30 ++--\n app/test/test_timer_secondary.c | 1 -\n 42 files changed, 197 insertions(+), 226 deletions(-)", "diff": null, "prefixes": [ "v2", "00/12" ] }{ "id": 104379, "url": "