Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/97203/?format=api
https://patches.dpdk.org/api/patches/97203/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/20210823054952.15001-9-joyce.kong@arm.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": "<20210823054952.15001-9-joyce.kong@arm.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20210823054952.15001-9-joyce.kong@arm.com", "date": "2021-08-23T05:49:52", "name": "[v2,8/8] examples: remove unnecessary include of atomic", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "80d6e2302d09ec8f192d75f2cef6c050ae91c152", "submitter": { "id": 970, "url": "https://patches.dpdk.org/api/people/970/?format=api", "name": "Joyce Kong", "email": "joyce.kong@arm.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/20210823054952.15001-9-joyce.kong@arm.com/mbox/", "series": [ { "id": 18395, "url": "https://patches.dpdk.org/api/series/18395/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=18395", "date": "2021-08-23T05:49:44", "name": "use compiler atomic builtins for examples", "version": 2, "mbox": "https://patches.dpdk.org/series/18395/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/97203/comments/", "check": "fail", "checks": "https://patches.dpdk.org/api/patches/97203/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 4C044A0C56;\n\tMon, 23 Aug 2021 07:51:04 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 6AEAE41140;\n\tMon, 23 Aug 2021 07:50:42 +0200 (CEST)", "from foss.arm.com (foss.arm.com [217.140.110.172])\n by mails.dpdk.org (Postfix) with ESMTP id BCC124114C\n for <dev@dpdk.org>; Mon, 23 Aug 2021 07:50:41 +0200 (CEST)", "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 429A51FB;\n Sun, 22 Aug 2021 22:50:41 -0700 (PDT)", "from net-arm-n1sdp.shanghai.arm.com (net-arm-n1sdp.shanghai.arm.com\n [10.169.208.222])\n by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 4B9403F5A1;\n Sun, 22 Aug 2021 22:50:35 -0700 (PDT)" ], "From": "Joyce Kong <joyce.kong@arm.com>", "To": "Chas Williams <chas3@att.com>, \"Min Hu (Connor)\" <humin29@huawei.com>,\n Konstantin Ananyev <konstantin.ananyev@intel.com>,\n Radu Nicolau <radu.nicolau@intel.com>, Akhil Goyal <gakhil@marvell.com>,\n Declan Doherty <declan.doherty@intel.com>,\n Sunil Kumar Kori <skori@marvell.com>,\n Pavan Nikhilesh <pbhagavatula@marvell.com>,\n Bruce Richardson <bruce.richardson@intel.com>,\n David Hunt <david.hunt@intel.com>,\n Anatoly Burakov <anatoly.burakov@intel.com>,\n Byron Marohn <byron.marohn@intel.com>,\n Yipeng Wang <yipeng1.wang@intel.com>,\n Maxime Coquelin <maxime.coquelin@redhat.com>,\n Chenbo Xia <chenbo.xia@intel.com>", "Cc": "dev@dpdk.org, thomas@monjalon.net, david.marchand@redhat.com,\n honnappa.nagarahalli@arm.com, ruifeng.wang@arm.com, nd@arm.com", "Date": "Mon, 23 Aug 2021 00:49:52 -0500", "Message-Id": "<20210823054952.15001-9-joyce.kong@arm.com>", "X-Mailer": "git-send-email 2.17.1", "In-Reply-To": "<20210823054952.15001-1-joyce.kong@arm.com>", "References": "<20210823054952.15001-1-joyce.kong@arm.com>", "Subject": "[dpdk-dev] [PATCH v2 8/8] examples: remove unnecessary include of\n atomic", "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": "Remove the unnecessary header file rte_atomic.h\nincluded in example module.\n\nSigned-off-by: Joyce Kong <joyce.kong@arm.com>\nReviewed-by: Ruifeng Wang <ruifeng.wang@arm.com>\n---\n examples/bond/main.c | 1 -\n examples/ip_fragmentation/main.c | 1 -\n examples/ip_reassembly/main.c | 1 -\n examples/ipsec-secgw/ipsec-secgw.c | 1 -\n examples/ipv4_multicast/main.c | 1 -\n examples/l2fwd-crypto/main.c | 1 -\n examples/l2fwd-event/l2fwd_common.h | 1 -\n examples/l2fwd-event/l2fwd_event.c | 1 -\n examples/l2fwd-keepalive/main.c | 1 -\n examples/l2fwd/main.c | 1 -\n examples/l3fwd-acl/main.c | 1 -\n examples/l3fwd-power/main.c | 1 -\n examples/l3fwd/main.c | 1 -\n examples/link_status_interrupt/main.c | 1 -\n examples/multi_process/client_server_mp/mp_client/client.c | 1 -\n examples/multi_process/client_server_mp/mp_server/init.c | 1 -\n examples/multi_process/simple_mp/main.c | 1 -\n examples/multi_process/simple_mp/mp_commands.c | 1 -\n examples/multi_process/symmetric_mp/main.c | 1 -\n examples/server_node_efd/node/node.c | 1 -\n examples/server_node_efd/server/init.c | 1 -\n examples/vhost_blk/blk.c | 1 -\n examples/vhost_blk/vhost_blk.c | 1 -\n examples/vm_power_manager/channel_manager.c | 1 -\n examples/vm_power_manager/channel_manager.h | 1 -\n examples/vmdq/main.c | 1 -\n examples/vmdq_dcb/main.c | 1 -\n 27 files changed, 27 deletions(-)", "diff": "diff --git a/examples/bond/main.c b/examples/bond/main.c\nindex f48400e211..de1e995a8a 100644\n--- a/examples/bond/main.c\n+++ b/examples/bond/main.c\n@@ -24,7 +24,6 @@\n #include <rte_memcpy.h>\n #include <rte_eal.h>\n #include <rte_launch.h>\n-#include <rte_atomic.h>\n #include <rte_cycles.h>\n #include <rte_prefetch.h>\n #include <rte_lcore.h>\ndiff --git a/examples/ip_fragmentation/main.c b/examples/ip_fragmentation/main.c\nindex f245369720..f965624c8b 100644\n--- a/examples/ip_fragmentation/main.c\n+++ b/examples/ip_fragmentation/main.c\n@@ -21,7 +21,6 @@\n #include <rte_memcpy.h>\n #include <rte_eal.h>\n #include <rte_launch.h>\n-#include <rte_atomic.h>\n #include <rte_cycles.h>\n #include <rte_prefetch.h>\n #include <rte_lcore.h>\ndiff --git a/examples/ip_reassembly/main.c b/examples/ip_reassembly/main.c\nindex 8645ac790b..6a8e91673d 100644\n--- a/examples/ip_reassembly/main.c\n+++ b/examples/ip_reassembly/main.c\n@@ -22,7 +22,6 @@\n #include <rte_memcpy.h>\n #include <rte_eal.h>\n #include <rte_launch.h>\n-#include <rte_atomic.h>\n #include <rte_cycles.h>\n #include <rte_prefetch.h>\n #include <rte_lcore.h>\ndiff --git a/examples/ipsec-secgw/ipsec-secgw.c b/examples/ipsec-secgw/ipsec-secgw.c\nindex f252d34985..012b908410 100644\n--- a/examples/ipsec-secgw/ipsec-secgw.c\n+++ b/examples/ipsec-secgw/ipsec-secgw.c\n@@ -24,7 +24,6 @@\n #include <rte_log.h>\n #include <rte_eal.h>\n #include <rte_launch.h>\n-#include <rte_atomic.h>\n #include <rte_cycles.h>\n #include <rte_prefetch.h>\n #include <rte_lcore.h>\ndiff --git a/examples/ipv4_multicast/main.c b/examples/ipv4_multicast/main.c\nindex cc527d7f6b..5830ad61c1 100644\n--- a/examples/ipv4_multicast/main.c\n+++ b/examples/ipv4_multicast/main.c\n@@ -20,7 +20,6 @@\n #include <rte_memcpy.h>\n #include <rte_eal.h>\n #include <rte_launch.h>\n-#include <rte_atomic.h>\n #include <rte_cycles.h>\n #include <rte_prefetch.h>\n #include <rte_lcore.h>\ndiff --git a/examples/l2fwd-crypto/main.c b/examples/l2fwd-crypto/main.c\nindex 5f539c458c..e302ad022c 100644\n--- a/examples/l2fwd-crypto/main.c\n+++ b/examples/l2fwd-crypto/main.c\n@@ -20,7 +20,6 @@\n #include <unistd.h>\n \n #include <rte_string_fns.h>\n-#include <rte_atomic.h>\n #include <rte_branch_prediction.h>\n #include <rte_common.h>\n #include <rte_cryptodev.h>\ndiff --git a/examples/l2fwd-event/l2fwd_common.h b/examples/l2fwd-event/l2fwd_common.h\nindex 939221d45a..1a418e6a22 100644\n--- a/examples/l2fwd-event/l2fwd_common.h\n+++ b/examples/l2fwd-event/l2fwd_common.h\n@@ -27,7 +27,6 @@\n #include <rte_memcpy.h>\n #include <rte_eal.h>\n #include <rte_launch.h>\n-#include <rte_atomic.h>\n #include <rte_cycles.h>\n #include <rte_prefetch.h>\n #include <rte_lcore.h>\ndiff --git a/examples/l2fwd-event/l2fwd_event.c b/examples/l2fwd-event/l2fwd_event.c\nindex 7ba5311d66..acfacfa4fb 100644\n--- a/examples/l2fwd-event/l2fwd_event.c\n+++ b/examples/l2fwd-event/l2fwd_event.c\n@@ -5,7 +5,6 @@\n #include <stdbool.h>\n #include <getopt.h>\n \n-#include <rte_atomic.h>\n #include <rte_cycles.h>\n #include <rte_ethdev.h>\n #include <rte_eventdev.h>\ndiff --git a/examples/l2fwd-keepalive/main.c b/examples/l2fwd-keepalive/main.c\nindex 4e1a17cfe4..cb7f267259 100644\n--- a/examples/l2fwd-keepalive/main.c\n+++ b/examples/l2fwd-keepalive/main.c\n@@ -24,7 +24,6 @@\n #include <rte_memcpy.h>\n #include <rte_eal.h>\n #include <rte_launch.h>\n-#include <rte_atomic.h>\n #include <rte_cycles.h>\n #include <rte_prefetch.h>\n #include <rte_lcore.h>\ndiff --git a/examples/l2fwd/main.c b/examples/l2fwd/main.c\nindex 911e40c66e..56a0663111 100644\n--- a/examples/l2fwd/main.c\n+++ b/examples/l2fwd/main.c\n@@ -24,7 +24,6 @@\n #include <rte_memcpy.h>\n #include <rte_eal.h>\n #include <rte_launch.h>\n-#include <rte_atomic.h>\n #include <rte_cycles.h>\n #include <rte_prefetch.h>\n #include <rte_lcore.h>\ndiff --git a/examples/l3fwd-acl/main.c b/examples/l3fwd-acl/main.c\nindex a1f457b564..2a942731bc 100644\n--- a/examples/l3fwd-acl/main.c\n+++ b/examples/l3fwd-acl/main.c\n@@ -20,7 +20,6 @@\n #include <rte_memcpy.h>\n #include <rte_eal.h>\n #include <rte_launch.h>\n-#include <rte_atomic.h>\n #include <rte_cycles.h>\n #include <rte_prefetch.h>\n #include <rte_lcore.h>\ndiff --git a/examples/l3fwd-power/main.c b/examples/l3fwd-power/main.c\nindex aa7b8db44a..c29b4fe034 100644\n--- a/examples/l3fwd-power/main.c\n+++ b/examples/l3fwd-power/main.c\n@@ -24,7 +24,6 @@\n #include <rte_memcpy.h>\n #include <rte_eal.h>\n #include <rte_launch.h>\n-#include <rte_atomic.h>\n #include <rte_cycles.h>\n #include <rte_prefetch.h>\n #include <rte_lcore.h>\ndiff --git a/examples/l3fwd/main.c b/examples/l3fwd/main.c\nindex 00ac267af1..518fefe90b 100644\n--- a/examples/l3fwd/main.c\n+++ b/examples/l3fwd/main.c\n@@ -24,7 +24,6 @@\n #include <rte_memcpy.h>\n #include <rte_eal.h>\n #include <rte_launch.h>\n-#include <rte_atomic.h>\n #include <rte_cycles.h>\n #include <rte_prefetch.h>\n #include <rte_lcore.h>\ndiff --git a/examples/link_status_interrupt/main.c b/examples/link_status_interrupt/main.c\nindex 7470aa539a..302a267e0e 100644\n--- a/examples/link_status_interrupt/main.c\n+++ b/examples/link_status_interrupt/main.c\n@@ -22,7 +22,6 @@\n #include <rte_memcpy.h>\n #include <rte_eal.h>\n #include <rte_launch.h>\n-#include <rte_atomic.h>\n #include <rte_cycles.h>\n #include <rte_prefetch.h>\n #include <rte_lcore.h>\ndiff --git a/examples/multi_process/client_server_mp/mp_client/client.c b/examples/multi_process/client_server_mp/mp_client/client.c\nindex 6d4c246816..087c38ef73 100644\n--- a/examples/multi_process/client_server_mp/mp_client/client.c\n+++ b/examples/multi_process/client_server_mp/mp_client/client.c\n@@ -17,7 +17,6 @@\n #include <rte_memory.h>\n #include <rte_memzone.h>\n #include <rte_eal.h>\n-#include <rte_atomic.h>\n #include <rte_branch_prediction.h>\n #include <rte_log.h>\n #include <rte_per_lcore.h>\ndiff --git a/examples/multi_process/client_server_mp/mp_server/init.c b/examples/multi_process/client_server_mp/mp_server/init.c\nindex 1ad71ca7ec..be669c2bcc 100644\n--- a/examples/multi_process/client_server_mp/mp_server/init.c\n+++ b/examples/multi_process/client_server_mp/mp_server/init.c\n@@ -15,7 +15,6 @@\n #include <rte_memzone.h>\n #include <rte_eal.h>\n #include <rte_byteorder.h>\n-#include <rte_atomic.h>\n #include <rte_launch.h>\n #include <rte_per_lcore.h>\n #include <rte_lcore.h>\ndiff --git a/examples/multi_process/simple_mp/main.c b/examples/multi_process/simple_mp/main.c\nindex df996f0f84..5df2a39000 100644\n--- a/examples/multi_process/simple_mp/main.c\n+++ b/examples/multi_process/simple_mp/main.c\n@@ -30,7 +30,6 @@\n #include <rte_per_lcore.h>\n #include <rte_lcore.h>\n #include <rte_debug.h>\n-#include <rte_atomic.h>\n #include <rte_branch_prediction.h>\n #include <rte_ring.h>\n #include <rte_log.h>\ndiff --git a/examples/multi_process/simple_mp/mp_commands.c b/examples/multi_process/simple_mp/mp_commands.c\nindex 311d0fe775..a5f91b00be 100644\n--- a/examples/multi_process/simple_mp/mp_commands.c\n+++ b/examples/multi_process/simple_mp/mp_commands.c\n@@ -14,7 +14,6 @@\n #include <rte_common.h>\n #include <rte_memory.h>\n #include <rte_eal.h>\n-#include <rte_atomic.h>\n #include <rte_branch_prediction.h>\n #include <rte_launch.h>\n #include <rte_log.h>\ndiff --git a/examples/multi_process/symmetric_mp/main.c b/examples/multi_process/symmetric_mp/main.c\nindex 01dc3acf34..a66328ba0c 100644\n--- a/examples/multi_process/symmetric_mp/main.c\n+++ b/examples/multi_process/symmetric_mp/main.c\n@@ -31,7 +31,6 @@\n #include <rte_eal.h>\n #include <rte_per_lcore.h>\n #include <rte_lcore.h>\n-#include <rte_atomic.h>\n #include <rte_branch_prediction.h>\n #include <rte_debug.h>\n #include <rte_interrupts.h>\ndiff --git a/examples/server_node_efd/node/node.c b/examples/server_node_efd/node/node.c\nindex 4580a44e3e..ba1c7e5153 100644\n--- a/examples/server_node_efd/node/node.c\n+++ b/examples/server_node_efd/node/node.c\n@@ -17,7 +17,6 @@\n #include <rte_memory.h>\n #include <rte_memzone.h>\n #include <rte_eal.h>\n-#include <rte_atomic.h>\n #include <rte_branch_prediction.h>\n #include <rte_log.h>\n #include <rte_per_lcore.h>\ndiff --git a/examples/server_node_efd/server/init.c b/examples/server_node_efd/server/init.c\nindex 9ebd88bac2..a19934dbe0 100644\n--- a/examples/server_node_efd/server/init.c\n+++ b/examples/server_node_efd/server/init.c\n@@ -15,7 +15,6 @@\n #include <rte_memzone.h>\n #include <rte_eal.h>\n #include <rte_byteorder.h>\n-#include <rte_atomic.h>\n #include <rte_launch.h>\n #include <rte_per_lcore.h>\n #include <rte_lcore.h>\ndiff --git a/examples/vhost_blk/blk.c b/examples/vhost_blk/blk.c\nindex f8c8549b3a..d082ab3c94 100644\n--- a/examples/vhost_blk/blk.c\n+++ b/examples/vhost_blk/blk.c\n@@ -15,7 +15,6 @@\n #include <string.h>\n #include <stddef.h>\n \n-#include <rte_atomic.h>\n #include <rte_cycles.h>\n #include <rte_log.h>\n #include <rte_malloc.h>\ndiff --git a/examples/vhost_blk/vhost_blk.c b/examples/vhost_blk/vhost_blk.c\nindex fe2b4e4803..9e291dc442 100644\n--- a/examples/vhost_blk/vhost_blk.c\n+++ b/examples/vhost_blk/vhost_blk.c\n@@ -17,7 +17,6 @@\n #include <linux/virtio_blk.h>\n #include <linux/virtio_ring.h>\n \n-#include <rte_atomic.h>\n #include <rte_cycles.h>\n #include <rte_log.h>\n #include <rte_malloc.h>\ndiff --git a/examples/vm_power_manager/channel_manager.c b/examples/vm_power_manager/channel_manager.c\nindex fe91567854..838465ab4b 100644\n--- a/examples/vm_power_manager/channel_manager.c\n+++ b/examples/vm_power_manager/channel_manager.c\n@@ -21,7 +21,6 @@\n #include <rte_memory.h>\n #include <rte_mempool.h>\n #include <rte_log.h>\n-#include <rte_atomic.h>\n #include <rte_spinlock.h>\n \n #include <libvirt/libvirt.h>\ndiff --git a/examples/vm_power_manager/channel_manager.h b/examples/vm_power_manager/channel_manager.h\nindex e55376fcdb..7038e9d83b 100644\n--- a/examples/vm_power_manager/channel_manager.h\n+++ b/examples/vm_power_manager/channel_manager.h\n@@ -11,7 +11,6 @@ extern \"C\" {\n \n #include <linux/limits.h>\n #include <linux/un.h>\n-#include <rte_atomic.h>\n #include <stdbool.h>\n \n /* Maximum name length including '\\0' terminator */\ndiff --git a/examples/vmdq/main.c b/examples/vmdq/main.c\nindex d3bc19f78e..a958ad2167 100644\n--- a/examples/vmdq/main.c\n+++ b/examples/vmdq/main.c\n@@ -20,7 +20,6 @@\n #include <rte_memcpy.h>\n #include <rte_eal.h>\n #include <rte_launch.h>\n-#include <rte_atomic.h>\n #include <rte_cycles.h>\n #include <rte_prefetch.h>\n #include <rte_lcore.h>\ndiff --git a/examples/vmdq_dcb/main.c b/examples/vmdq_dcb/main.c\nindex 685a03bdd1..52e930f83a 100644\n--- a/examples/vmdq_dcb/main.c\n+++ b/examples/vmdq_dcb/main.c\n@@ -20,7 +20,6 @@\n #include <rte_memcpy.h>\n #include <rte_eal.h>\n #include <rte_launch.h>\n-#include <rte_atomic.h>\n #include <rte_cycles.h>\n #include <rte_prefetch.h>\n #include <rte_lcore.h>\n", "prefixes": [ "v2", "8/8" ] }{ "id": 97203, "url": "