Cover Detail
Show a cover letter.
GET /api/covers/103287/?format=api
http://patches.dpdk.org/api/covers/103287/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/cover/20211101060007.2632418-1-feifei.wang2@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": "<20211101060007.2632418-1-feifei.wang2@arm.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20211101060007.2632418-1-feifei.wang2@arm.com", "date": "2021-11-01T06:00:02", "name": "[v9,0/5] add new helper for wait scheme", "submitter": { "id": 1771, "url": "http://patches.dpdk.org/api/people/1771/?format=api", "name": "Feifei Wang", "email": "feifei.wang2@arm.com" }, "mbox": "http://patches.dpdk.org/project/dpdk/cover/20211101060007.2632418-1-feifei.wang2@arm.com/mbox/", "series": [ { "id": 20158, "url": "http://patches.dpdk.org/api/series/20158/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=20158", "date": "2021-11-01T06:00:02", "name": "add new helper for wait scheme", "version": 9, "mbox": "http://patches.dpdk.org/series/20158/mbox/" } ], "comments": "http://patches.dpdk.org/api/covers/103287/comments/", "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 63108A0C52;\n\tMon, 1 Nov 2021 07:00:19 +0100 (CET)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id DC52640E28;\n\tMon, 1 Nov 2021 07:00:17 +0100 (CET)", "from foss.arm.com (foss.arm.com [217.140.110.172])\n by mails.dpdk.org (Postfix) with ESMTP id 8323040DF6\n for <dev@dpdk.org>; Mon, 1 Nov 2021 07:00:16 +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 DD93BD6E;\n Sun, 31 Oct 2021 23:00:15 -0700 (PDT)", "from net-x86-dell-8268.shanghai.arm.com\n (net-x86-dell-8268.shanghai.arm.com [10.169.210.102])\n by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 846A53F70D;\n Sun, 31 Oct 2021 23:00:13 -0700 (PDT)" ], "From": "Feifei Wang <feifei.wang2@arm.com>", "To": "", "Cc": "dev@dpdk.org, nd@arm.com, jerinjacobk@gmail.com,\n stephen@networkplumber.org, thomas@monjalon.net, david.marchand@redhat.com,\n Feifei Wang <feifei.wang2@arm.com>", "Date": "Mon, 1 Nov 2021 14:00:02 +0800", "Message-Id": "<20211101060007.2632418-1-feifei.wang2@arm.com>", "X-Mailer": "git-send-email 2.25.1", "In-Reply-To": "<20210902053253.3017858-1-feifei.wang2@arm.com>", "References": "<20210902053253.3017858-1-feifei.wang2@arm.com>", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=UTF-8", "Content-Transfer-Encoding": "8bit", "Subject": "[dpdk-dev] [PATCH v9 0/5] add new helper for wait scheme", "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", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "Add new helper for wait scheme, and apply this new definitions into\nlib to replace rte_pause.\n\nv2:\n1. use macro to create new wait scheme (Stephen)\n\nv3:\n1. delete unnecessary bug fix in bpf (Konstantin)\n\nv4:\n1. put size into the macro body (Konstantin)\n2. replace assert with BUILD_BUG_ON (Stephen)\n3. delete unnecessary compiler barrier for bpf (Konstantin)\n\nv5:\n1. 'size' is not the parameter (Konstantin)\n2. put () around macro parameters (Konstantin)\n3. fix some original typo issue (Jerin)\n4. swap 'rte_wait_event' parameter location (Jerin)\n5. add new macro '__LOAD_EXC'\n6. delete 'undef' to prevent compilation warning\n\nv6:\n1. fix patch style check warning\n2. delete 'bpf' patch due to 'const' limit\n\nv7:\n1. add __RTE_ARM to to fix the namespace (Jerin)\n2. use 'uintptr_t *' in mcslock for different\narchitecture(32/64) (Mattias)\n3. add a new pointer 'next' in mcslock to fix\ncompiler issue\n4. add bpf patch and use 'uintptr_t' to fix const\ndiscard warning (Konstantin)\n\nv8:\n1. add __LOAD_EXC_128 (Jerin)\n2. use BUILD_BUG_ON to replace assert (Jerin)\n\nv9:\n1. rename 'wait_event' as 'wait_until' (David)\n2. change commit message (David)\n\nFeifei Wang (5):\n eal: add a new generic helper for wait scheme\n pflock: use wait until scheme for read pflock\n mcslock: use wait until scheme for mcslock\n bpf: use wait until scheme for Rx/Tx iteration\n distributor: use wait until scheme\n\n lib/bpf/bpf_pkt.c | 9 +-\n lib/distributor/rte_distributor_single.c | 10 +-\n lib/eal/arm/include/rte_pause_64.h | 202 ++++++++++++++---------\n lib/eal/include/generic/rte_mcslock.h | 5 +-\n lib/eal/include/generic/rte_pause.h | 29 ++++\n lib/eal/include/generic/rte_pflock.h | 4 +-\n 6 files changed, 166 insertions(+), 93 deletions(-)" }{ "id": 103287, "url": "