Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/107593/?format=api
http://patchwork.dpdk.org/api/patches/107593/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20220215123037.608981-9-sean.morrissey@intel.com/", "project": { "id": 1, "url": "http://patchwork.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": "<20220215123037.608981-9-sean.morrissey@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20220215123037.608981-9-sean.morrissey@intel.com", "date": "2022-02-15T12:29:55", "name": "[v9,08/50] table: remove unneeded header includes", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "5ffb2174ad4744f40408f45b28985d1f98a27593", "submitter": { "id": 1359, "url": "http://patchwork.dpdk.org/api/people/1359/?format=api", "name": "Sean Morrissey", "email": "sean.morrissey@intel.com" }, "delegate": { "id": 1, "url": "http://patchwork.dpdk.org/api/users/1/?format=api", "username": "tmonjalo", "first_name": "Thomas", "last_name": "Monjalon", "email": "thomas@monjalon.net" }, "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/20220215123037.608981-9-sean.morrissey@intel.com/mbox/", "series": [ { "id": 21680, "url": "http://patchwork.dpdk.org/api/series/21680/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=21680", "date": "2022-02-15T12:29:47", "name": "introduce IWYU", "version": 9, "mbox": "http://patchwork.dpdk.org/series/21680/mbox/" } ], "comments": "http://patchwork.dpdk.org/api/patches/107593/comments/", "check": "success", "checks": "http://patchwork.dpdk.org/api/patches/107593/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 2F015A00C5;\n\tTue, 15 Feb 2022 13:33:01 +0100 (CET)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 28DD941199;\n\tTue, 15 Feb 2022 13:32:22 +0100 (CET)", "from mga11.intel.com (mga11.intel.com [192.55.52.93])\n by mails.dpdk.org (Postfix) with ESMTP id 9558841161\n for <dev@dpdk.org>; Tue, 15 Feb 2022 13:32:13 +0100 (CET)", "from orsmga008.jf.intel.com ([10.7.209.65])\n by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 15 Feb 2022 04:32:07 -0800", "from silpixa00401215.ir.intel.com ([10.55.128.96])\n by orsmga008.jf.intel.com with ESMTP; 15 Feb 2022 04:32:06 -0800" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n d=intel.com; i=@intel.com; q=dns/txt; s=Intel;\n t=1644928333; x=1676464333;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=8n7uNAWvK5Pf6Iru/aZ+6Vk5CWQYZSMjVYa+VtnZgVM=;\n b=j/aVXV2gzUDi60AWiiHpVlYO7V+W1wpIfLzJm5Z4e8hg6/JuqRLBqLaI\n 5NLKADqsNdfEW/pwId2n30iu2bFfumBuZa6OMMvmfGasnbGvuR2WS36Bm\n 2suhYpyLaR3Y88fCzzpPnwSFUgfbzXEvsWlt3rEfMOF1QpIUKd5/XiuaE\n bfdcj4YlCiqHxlEpL8uGwj/rP/Ru73KHyfnnmFp8hFW7zlqhlvQl3seJf\n 4VcXLhZhzsZ8MdlPM2VGTv9Osb7qIC9P4W+impJAYjf8qwCKP0mQYC/24\n R8oIJM8VWB5mg1q6Kf5OQ97tiH8D3Ml/EA61wzC6+1Qz9j5G4htxXxD2J A==;", "X-IronPort-AV": [ "E=McAfee;i=\"6200,9189,10258\"; a=\"247936551\"", "E=Sophos;i=\"5.88,370,1635231600\"; d=\"scan'208\";a=\"247936551\"", "E=Sophos;i=\"5.88,370,1635231600\"; d=\"scan'208\";a=\"544280298\"" ], "X-ExtLoop1": "1", "From": "Sean Morrissey <sean.morrissey@intel.com>", "To": "Cristian Dumitrescu <cristian.dumitrescu@intel.com>", "Cc": "dev@dpdk.org,\n\tSean Morrissey <sean.morrissey@intel.com>", "Subject": "[PATCH v9 08/50] table: remove unneeded header includes", "Date": "Tue, 15 Feb 2022 12:29:55 +0000", "Message-Id": "<20220215123037.608981-9-sean.morrissey@intel.com>", "X-Mailer": "git-send-email 2.25.1", "In-Reply-To": "<20220215123037.608981-1-sean.morrissey@intel.com>", "References": "<20220214144406.4192233-1-sean.morrissey@intel.com>\n <20220215123037.608981-1-sean.morrissey@intel.com>", "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": "These header includes have been flagged by the iwyu_tool\nand removed.\n\nSigned-off-by: Sean Morrissey <sean.morrissey@intel.com>\n---\n lib/table/rte_swx_table_em.c | 1 -\n lib/table/rte_swx_table_em.h | 1 -\n lib/table/rte_swx_table_learner.c | 1 -\n lib/table/rte_swx_table_learner.h | 1 -\n lib/table/rte_swx_table_selector.c | 1 -\n lib/table/rte_swx_table_wm.c | 2 --\n lib/table/rte_swx_table_wm.h | 1 -\n lib/table/rte_table_acl.c | 3 ---\n lib/table/rte_table_array.c | 2 --\n lib/table/rte_table_hash_cuckoo.c | 2 --\n lib/table/rte_table_hash_ext.c | 2 --\n lib/table/rte_table_hash_key16.c | 2 --\n lib/table/rte_table_hash_key32.c | 2 --\n lib/table/rte_table_hash_key8.c | 2 --\n lib/table/rte_table_hash_lru.c | 2 --\n lib/table/rte_table_lpm.c | 2 --\n lib/table/rte_table_lpm_ipv6.c | 3 ---\n lib/table/rte_table_stub.c | 1 -\n lib/table/rte_table_stub.h | 1 -\n 19 files changed, 32 deletions(-)", "diff": "diff --git a/lib/table/rte_swx_table_em.c b/lib/table/rte_swx_table_em.c\nindex 03b28c4c9d..f783cfe282 100644\n--- a/lib/table/rte_swx_table_em.c\n+++ b/lib/table/rte_swx_table_em.c\n@@ -1,7 +1,6 @@\n /* SPDX-License-Identifier: BSD-3-Clause\n * Copyright(c) 2020 Intel Corporation\n */\n-#include <stdlib.h>\n #include <string.h>\n #include <stdio.h>\n #include <errno.h>\ndiff --git a/lib/table/rte_swx_table_em.h b/lib/table/rte_swx_table_em.h\nindex 909ada483b..b7423dd060 100644\n--- a/lib/table/rte_swx_table_em.h\n+++ b/lib/table/rte_swx_table_em.h\n@@ -13,7 +13,6 @@ extern \"C\" {\n * RTE SWX Exact Match Table\n */\n \n-#include <stdint.h>\n \n #include <rte_swx_table.h>\n \ndiff --git a/lib/table/rte_swx_table_learner.c b/lib/table/rte_swx_table_learner.c\nindex c3c840ff06..15576c2aa3 100644\n--- a/lib/table/rte_swx_table_learner.c\n+++ b/lib/table/rte_swx_table_learner.c\n@@ -1,7 +1,6 @@\n /* SPDX-License-Identifier: BSD-3-Clause\n * Copyright(c) 2020 Intel Corporation\n */\n-#include <stdlib.h>\n #include <string.h>\n #include <stdio.h>\n #include <errno.h>\ndiff --git a/lib/table/rte_swx_table_learner.h b/lib/table/rte_swx_table_learner.h\nindex d6ec733655..eb9d7689fd 100644\n--- a/lib/table/rte_swx_table_learner.h\n+++ b/lib/table/rte_swx_table_learner.h\n@@ -22,7 +22,6 @@ extern \"C\" {\n */\n \n #include <stdint.h>\n-#include <sys/queue.h>\n \n #include <rte_compat.h>\n \ndiff --git a/lib/table/rte_swx_table_selector.c b/lib/table/rte_swx_table_selector.c\nindex 541ebc2213..ad99f18453 100644\n--- a/lib/table/rte_swx_table_selector.c\n+++ b/lib/table/rte_swx_table_selector.c\n@@ -7,7 +7,6 @@\n #include <errno.h>\n \n #include <rte_common.h>\n-#include <rte_prefetch.h>\n \n #include \"rte_swx_table_selector.h\"\n \ndiff --git a/lib/table/rte_swx_table_wm.c b/lib/table/rte_swx_table_wm.c\nindex e260be1062..27a67b47bd 100644\n--- a/lib/table/rte_swx_table_wm.c\n+++ b/lib/table/rte_swx_table_wm.c\n@@ -4,10 +4,8 @@\n #include <stdlib.h>\n #include <string.h>\n #include <stdio.h>\n-#include <errno.h>\n \n #include <rte_common.h>\n-#include <rte_prefetch.h>\n #include <rte_cycles.h>\n #include <rte_acl.h>\n \ndiff --git a/lib/table/rte_swx_table_wm.h b/lib/table/rte_swx_table_wm.h\nindex 9e228f971c..4fd52c0a17 100644\n--- a/lib/table/rte_swx_table_wm.h\n+++ b/lib/table/rte_swx_table_wm.h\n@@ -13,7 +13,6 @@ extern \"C\" {\n * RTE SWX Wildcard Match Table\n */\n \n-#include <stdint.h>\n \n #include <rte_swx_table.h>\n \ndiff --git a/lib/table/rte_table_acl.c b/lib/table/rte_table_acl.c\nindex 14d54019f0..179a1da835 100644\n--- a/lib/table/rte_table_acl.c\n+++ b/lib/table/rte_table_acl.c\n@@ -6,13 +6,10 @@\n #include <stdio.h>\n \n #include <rte_common.h>\n-#include <rte_mbuf.h>\n-#include <rte_memory.h>\n #include <rte_malloc.h>\n #include <rte_log.h>\n \n #include \"rte_table_acl.h\"\n-#include <rte_ether.h>\n \n #ifdef RTE_TABLE_STATS_COLLECT\n \ndiff --git a/lib/table/rte_table_array.c b/lib/table/rte_table_array.c\nindex 8264c50c27..54a0c42f7d 100644\n--- a/lib/table/rte_table_array.c\n+++ b/lib/table/rte_table_array.c\n@@ -6,8 +6,6 @@\n #include <stdio.h>\n \n #include <rte_common.h>\n-#include <rte_mbuf.h>\n-#include <rte_memory.h>\n #include <rte_malloc.h>\n #include <rte_log.h>\n \ndiff --git a/lib/table/rte_table_hash_cuckoo.c b/lib/table/rte_table_hash_cuckoo.c\nindex f024303330..c77eccf527 100644\n--- a/lib/table/rte_table_hash_cuckoo.c\n+++ b/lib/table/rte_table_hash_cuckoo.c\n@@ -5,8 +5,6 @@\n #include <stdio.h>\n \n #include <rte_common.h>\n-#include <rte_mbuf.h>\n-#include <rte_memory.h>\n #include <rte_malloc.h>\n #include <rte_log.h>\n \ndiff --git a/lib/table/rte_table_hash_ext.c b/lib/table/rte_table_hash_ext.c\nindex 802a24fe0f..70ea84fa2e 100644\n--- a/lib/table/rte_table_hash_ext.c\n+++ b/lib/table/rte_table_hash_ext.c\n@@ -6,8 +6,6 @@\n #include <stdio.h>\n \n #include <rte_common.h>\n-#include <rte_mbuf.h>\n-#include <rte_memory.h>\n #include <rte_malloc.h>\n #include <rte_log.h>\n \ndiff --git a/lib/table/rte_table_hash_key16.c b/lib/table/rte_table_hash_key16.c\nindex c4384b114d..ea8195dc17 100644\n--- a/lib/table/rte_table_hash_key16.c\n+++ b/lib/table/rte_table_hash_key16.c\n@@ -5,8 +5,6 @@\n #include <stdio.h>\n \n #include <rte_common.h>\n-#include <rte_mbuf.h>\n-#include <rte_memory.h>\n #include <rte_malloc.h>\n #include <rte_log.h>\n \ndiff --git a/lib/table/rte_table_hash_key32.c b/lib/table/rte_table_hash_key32.c\nindex 3e0031fe1e..87f83ce6f5 100644\n--- a/lib/table/rte_table_hash_key32.c\n+++ b/lib/table/rte_table_hash_key32.c\n@@ -5,8 +5,6 @@\n #include <stdio.h>\n \n #include <rte_common.h>\n-#include <rte_mbuf.h>\n-#include <rte_memory.h>\n #include <rte_malloc.h>\n #include <rte_log.h>\n \ndiff --git a/lib/table/rte_table_hash_key8.c b/lib/table/rte_table_hash_key8.c\nindex 34e3ed1af9..7779a9d1a3 100644\n--- a/lib/table/rte_table_hash_key8.c\n+++ b/lib/table/rte_table_hash_key8.c\n@@ -5,8 +5,6 @@\n #include <stdio.h>\n \n #include <rte_common.h>\n-#include <rte_mbuf.h>\n-#include <rte_memory.h>\n #include <rte_malloc.h>\n #include <rte_log.h>\n \ndiff --git a/lib/table/rte_table_hash_lru.c b/lib/table/rte_table_hash_lru.c\nindex 5bcdb7ba02..c31acc11cf 100644\n--- a/lib/table/rte_table_hash_lru.c\n+++ b/lib/table/rte_table_hash_lru.c\n@@ -6,8 +6,6 @@\n #include <stdio.h>\n \n #include <rte_common.h>\n-#include <rte_mbuf.h>\n-#include <rte_memory.h>\n #include <rte_malloc.h>\n #include <rte_log.h>\n \ndiff --git a/lib/table/rte_table_lpm.c b/lib/table/rte_table_lpm.c\nindex 4dd8289ce5..9de9e8a20d 100644\n--- a/lib/table/rte_table_lpm.c\n+++ b/lib/table/rte_table_lpm.c\n@@ -6,8 +6,6 @@\n #include <stdio.h>\n \n #include <rte_common.h>\n-#include <rte_mbuf.h>\n-#include <rte_memory.h>\n #include <rte_malloc.h>\n #include <rte_byteorder.h>\n #include <rte_log.h>\ndiff --git a/lib/table/rte_table_lpm_ipv6.c b/lib/table/rte_table_lpm_ipv6.c\nindex 4e068d79bf..8fde2c012f 100644\n--- a/lib/table/rte_table_lpm_ipv6.c\n+++ b/lib/table/rte_table_lpm_ipv6.c\n@@ -6,10 +6,7 @@\n #include <stdio.h>\n \n #include <rte_common.h>\n-#include <rte_mbuf.h>\n-#include <rte_memory.h>\n #include <rte_malloc.h>\n-#include <rte_byteorder.h>\n #include <rte_log.h>\n #include <rte_lpm6.h>\n \ndiff --git a/lib/table/rte_table_stub.c b/lib/table/rte_table_stub.c\nindex 9ce7be9cec..23d0de5c79 100644\n--- a/lib/table/rte_table_stub.c\n+++ b/lib/table/rte_table_stub.c\n@@ -4,7 +4,6 @@\n \n #include <string.h>\n \n-#include <rte_mbuf.h>\n #include <rte_malloc.h>\n \n #include \"rte_table_stub.h\"\ndiff --git a/lib/table/rte_table_stub.h b/lib/table/rte_table_stub.h\nindex 2b40739790..9086e4edcc 100644\n--- a/lib/table/rte_table_stub.h\n+++ b/lib/table/rte_table_stub.h\n@@ -17,7 +17,6 @@ extern \"C\" {\n *\n ***/\n \n-#include <stdint.h>\n \n #include \"rte_table.h\"\n \n", "prefixes": [ "v9", "08/50" ] }{ "id": 107593, "url": "