Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/133761/?format=api
http://patches.dpdk.org/api/patches/133761/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/1698894265-22963-5-git-send-email-roretzla@linux.microsoft.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": "<1698894265-22963-5-git-send-email-roretzla@linux.microsoft.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1698894265-22963-5-git-send-email-roretzla@linux.microsoft.com", "date": "2023-11-02T03:04:24", "name": "[4/5] ring: use rte atomic thread fence", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "06ec8b795fbddf85c4313c806be80d373a5fb661", "submitter": { "id": 2077, "url": "http://patches.dpdk.org/api/people/2077/?format=api", "name": "Tyler Retzlaff", "email": "roretzla@linux.microsoft.com" }, "delegate": { "id": 24651, "url": "http://patches.dpdk.org/api/users/24651/?format=api", "username": "dmarchand", "first_name": "David", "last_name": "Marchand", "email": "david.marchand@redhat.com" }, "mbox": "http://patches.dpdk.org/project/dpdk/patch/1698894265-22963-5-git-send-email-roretzla@linux.microsoft.com/mbox/", "series": [ { "id": 30107, "url": "http://patches.dpdk.org/api/series/30107/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=30107", "date": "2023-11-02T03:04:23", "name": "use rte atomic thread fence", "version": 1, "mbox": "http://patches.dpdk.org/series/30107/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/133761/comments/", "check": "warning", "checks": "http://patches.dpdk.org/api/patches/133761/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 5EEB043268;\n\tThu, 2 Nov 2023 04:04:50 +0100 (CET)", "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id E4035402DF;\n\tThu, 2 Nov 2023 04:04:36 +0100 (CET)", "from linux.microsoft.com (linux.microsoft.com [13.77.154.182])\n by mails.dpdk.org (Postfix) with ESMTP id DC9B4402CF\n for <dev@dpdk.org>; Thu, 2 Nov 2023 04:04:31 +0100 (CET)", "by linux.microsoft.com (Postfix, from userid 1086)\n id 16C5820B74C4; Wed, 1 Nov 2023 20:04:30 -0700 (PDT)" ], "DKIM-Filter": "OpenDKIM Filter v2.11.0 linux.microsoft.com 16C5820B74C4", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com;\n s=default; t=1698894271;\n bh=nXEJjRzDL4O01yO2JnhWFoRRiYXhzD8TQOzcce4OVIA=;\n h=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n b=ptWlFX6OBGTu0PtpQgWtCy7TMaznL/ERbXJnytj+iuhPICmnu4uRZB5ooUYc4cGaL\n wu7sqa/aYS0oXULKjccOL9JPRjcG/UiMLXSO7DnmYnp2FCLlFoqFyOyCoFmmyxhr13\n DQRR5lpvCbqpeZsTrygOM/jtVI8hxvWwxklpOT9A=", "From": "Tyler Retzlaff <roretzla@linux.microsoft.com>", "To": "dev@dpdk.org", "Cc": "Bruce Richardson <bruce.richardson@intel.com>,\n David Hunt <david.hunt@intel.com>,\n Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>,\n Jerin Jacob <jerinj@marvell.com>,\n Konstantin Ananyev <konstantin.v.ananyev@yandex.ru>,\n Sameh Gobriel <sameh.gobriel@intel.com>,\n Sunil Kumar Kori <skori@marvell.com>,\n Vladimir Medvedkin <vladimir.medvedkin@intel.com>,\n Yipeng Wang <yipeng1.wang@intel.com>,\n Tyler Retzlaff <roretzla@linux.microsoft.com>", "Subject": "[PATCH 4/5] ring: use rte atomic thread fence", "Date": "Wed, 1 Nov 2023 20:04:24 -0700", "Message-Id": "<1698894265-22963-5-git-send-email-roretzla@linux.microsoft.com>", "X-Mailer": "git-send-email 1.8.3.1", "In-Reply-To": "<1698894265-22963-1-git-send-email-roretzla@linux.microsoft.com>", "References": "<1698894265-22963-1-git-send-email-roretzla@linux.microsoft.com>", "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": "Use __rte_atomic_thread_fence instead of directly using\n__atomic_thread_fence builtin gcc intrinsic\n\nSigned-off-by: Tyler Retzlaff <roretzla@linux.microsoft.com>\n---\n lib/ring/rte_ring_c11_pvt.h | 4 ++--\n 1 file changed, 2 insertions(+), 2 deletions(-)", "diff": "diff --git a/lib/ring/rte_ring_c11_pvt.h b/lib/ring/rte_ring_c11_pvt.h\nindex 5c10ad8..38a003d 100644\n--- a/lib/ring/rte_ring_c11_pvt.h\n+++ b/lib/ring/rte_ring_c11_pvt.h\n@@ -68,7 +68,7 @@\n \t\tn = max;\n \n \t\t/* Ensure the head is read before tail */\n-\t\t__atomic_thread_fence(rte_memory_order_acquire);\n+\t\t__rte_atomic_thread_fence(rte_memory_order_acquire);\n \n \t\t/* load-acquire synchronize with store-release of ht->tail\n \t\t * in update_tail.\n@@ -145,7 +145,7 @@\n \t\tn = max;\n \n \t\t/* Ensure the head is read before tail */\n-\t\t__atomic_thread_fence(rte_memory_order_acquire);\n+\t\t__rte_atomic_thread_fence(rte_memory_order_acquire);\n \n \t\t/* this load-acquire synchronize with store-release of ht->tail\n \t\t * in update_tail.\n", "prefixes": [ "4/5" ] }{ "id": 133761, "url": "