Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/139858/?format=api
https://patches.dpdk.org/api/patches/139858/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/20240503183547.31944-1-daniel.gregory@bytedance.com/", "project": { "id": 1, "url": "https://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": "<20240503183547.31944-1-daniel.gregory@bytedance.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20240503183547.31944-1-daniel.gregory@bytedance.com", "date": "2024-05-03T18:35:48", "name": "eal/arm: use stdatomic api in rte_pause", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "76877464a940ef71f0378dd834970b208b8745cd", "submitter": { "id": 3322, "url": "https://patches.dpdk.org/api/people/3322/?format=api", "name": "Daniel Gregory", "email": "daniel.gregory@bytedance.com" }, "delegate": { "id": 1, "url": "https://patches.dpdk.org/api/users/1/?format=api", "username": "tmonjalo", "first_name": "Thomas", "last_name": "Monjalon", "email": "thomas@monjalon.net" }, "mbox": "https://patches.dpdk.org/project/dpdk/patch/20240503183547.31944-1-daniel.gregory@bytedance.com/mbox/", "series": [ { "id": 31878, "url": "https://patches.dpdk.org/api/series/31878/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=31878", "date": "2024-05-03T18:35:48", "name": "eal/arm: use stdatomic api in rte_pause", "version": 1, "mbox": "https://patches.dpdk.org/series/31878/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/139858/comments/", "check": "success", "checks": "https://patches.dpdk.org/api/patches/139858/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 4504443F37;\n\tFri, 3 May 2024 20:36:42 +0200 (CEST)", "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id BD5A5402D4;\n\tFri, 3 May 2024 20:36:41 +0200 (CEST)", "from mail-wm1-f44.google.com (mail-wm1-f44.google.com\n [209.85.128.44]) by mails.dpdk.org (Postfix) with ESMTP id 24E69402D1\n for <dev@dpdk.org>; Fri, 3 May 2024 20:36:40 +0200 (CEST)", "by mail-wm1-f44.google.com with SMTP id\n 5b1f17b1804b1-41adf155cffso143645e9.2\n for <dev@dpdk.org>; Fri, 03 May 2024 11:36:40 -0700 (PDT)", "from C02FF2N1MD6T.bytedance.net ([79.173.157.19])\n by smtp.gmail.com with ESMTPSA id\n dd22-20020a0560001e9600b0034d829982c5sm4397138wrb.5.2024.05.03.11.36.38\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Fri, 03 May 2024 11:36:39 -0700 (PDT)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=bytedance.com; s=google; t=1714761400; x=1715366200; darn=dpdk.org;\n h=content-transfer-encoding:mime-version:message-id:date:subject:cc\n :to:from:from:to:cc:subject:date:message-id:reply-to;\n bh=18rarmz8sSjkfsV96aASM+sG+c3MFMp52kmF4RnffIc=;\n b=HI9Y0InFny4oxqj9c+YtFWsDe/kLw0SO5kcv0ul90ymYgUN0rs3omGUpFujYvXyS//\n yIHtZz5TvC93/QdRFfXJ0PYfhrniUSEDL0iW0V6uyUBPMVClGiyY71B3qQzyXkTwpRRM\n KUBlede90hG8p5NBpSvzZ0I6yx7GeGhgAQ1XL/SbWVfMyik2U33UgzKKAlM0WOk3lWnr\n KPaxsQtIyMeh6C2assqxaQpyeetuckAQYuru4XVjpjM0uSPAbZK67pdCZfwUt79FJgIB\n eCn5Xn2QWArBA6rBXFfQnGJe6lJl35XGLr5+jBCriXT3dnHA16hCLOb2sjjY89hsBhRZ\n N85w==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20230601; t=1714761400; x=1715366200;\n h=content-transfer-encoding:mime-version:message-id:date:subject:cc\n :to:from:x-gm-message-state:from:to:cc:subject:date:message-id\n :reply-to;\n bh=18rarmz8sSjkfsV96aASM+sG+c3MFMp52kmF4RnffIc=;\n b=IEZyv0WtCz3BJdFEkCfCL9M8xaNePPCt798Urpc3NyAAaIQ3SI3s7jelnyeQDU1KaU\n 6PnHua3GnAbwZ0aiUw6Dhrv6oluFPCp2mAHlTRliI0tULMgi/Nb5DIRhCBiiHFpxxczJ\n T3IyvhKvFZrsgM7DiOJK4DcnzxjSKz5P/xNNJf5FodB6Oj/wxmM3tYB37IvUw1r3ZD3V\n ipO58jIaridk/3jGwRes+TKmqHZmvqGzN3MjnitQ2ISQ4d0yg2Qhd1c4YA7gvj1Ce8vP\n LdqnktFwyp8nRsy+g8JESMenkWi7QY7wH8JqP9xgry9zelckIBbnNUNtCMz70WwAdVyi\n Du4A==", "X-Gm-Message-State": "AOJu0YweJs0cRKcHuT6p9Gaav/pFaZ7P2bxEYJyzRSlieu5imSjl29ku\n YEQS/gMO5fNdbBAgKOD1+66PfyLh4mb3ZSNL5zsKh5snwbLpdhDnZCkTisRSvKk=", "X-Google-Smtp-Source": "\n AGHT+IGhkci1mEuYamN6dObGTjNiq5xU74Fo/++mZXbPQfAVIC93c6u4cwrFBaA5HXffl210aGNIWg==", "X-Received": "by 2002:adf:c08c:0:b0:34a:1a7a:9d60 with SMTP id\n d12-20020adfc08c000000b0034a1a7a9d60mr2752840wrf.62.1714761399721;\n Fri, 03 May 2024 11:36:39 -0700 (PDT)", "From": "Daniel Gregory <daniel.gregory@bytedance.com>", "To": "Ruifeng Wang <ruifeng.wang@arm.com>", "Cc": "dev@dpdk.org, Punit Agrawal <punit.agrawal@bytedance.com>,\n Liang Ma <liangma@liangbit.com>,\n Daniel Gregory <daniel.gregory@bytedance.com>", "Subject": "[PATCH] eal/arm: use stdatomic api in rte_pause", "Date": "Fri, 3 May 2024 19:35:48 +0100", "Message-Id": "<20240503183547.31944-1-daniel.gregory@bytedance.com>", "X-Mailer": "git-send-email 2.39.3 (Apple Git-146)", "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": "Missed during commit 1ec6a845b5cb\n(\"eal: use stdatomic API in public headers\")\n\nSigned-off-by: Daniel Gregory <daniel.gregory@bytedance.com>\n---\n lib/eal/arm/include/rte_pause_64.h | 7 ++++---\n 1 file changed, 4 insertions(+), 3 deletions(-)", "diff": "diff --git a/lib/eal/arm/include/rte_pause_64.h b/lib/eal/arm/include/rte_pause_64.h\nindex 5cb8b59056..9e2dbf3531 100644\n--- a/lib/eal/arm/include/rte_pause_64.h\n+++ b/lib/eal/arm/include/rte_pause_64.h\n@@ -11,6 +11,7 @@ extern \"C\" {\n #endif\n \n #include <rte_common.h>\n+#include <rte_stdatomic.h>\n \n #ifdef RTE_ARM_USE_WFE\n #define RTE_WAIT_UNTIL_EQUAL_ARCH_DEFINED\n@@ -149,7 +150,7 @@ static inline void rte_pause(void)\n \n static __rte_always_inline void\n rte_wait_until_equal_16(volatile uint16_t *addr, uint16_t expected,\n-\t\tint memorder)\n+\t\trte_memory_order memorder)\n {\n \tuint16_t value;\n \n@@ -168,7 +169,7 @@ rte_wait_until_equal_16(volatile uint16_t *addr, uint16_t expected,\n \n static __rte_always_inline void\n rte_wait_until_equal_32(volatile uint32_t *addr, uint32_t expected,\n-\t\tint memorder)\n+\t\trte_memory_order memorder)\n {\n \tuint32_t value;\n \n@@ -187,7 +188,7 @@ rte_wait_until_equal_32(volatile uint32_t *addr, uint32_t expected,\n \n static __rte_always_inline void\n rte_wait_until_equal_64(volatile uint64_t *addr, uint64_t expected,\n-\t\tint memorder)\n+\t\trte_memory_order memorder)\n {\n \tuint64_t value;\n \n", "prefixes": [] }{ "id": 139858, "url": "