Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/128482/?format=api
http://patches.dpdk.org/api/patches/128482/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20230609191245.252521-2-zhirun.yan@intel.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": "<20230609191245.252521-2-zhirun.yan@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20230609191245.252521-2-zhirun.yan@intel.com", "date": "2023-06-09T19:12:30", "name": "[v12,01/16] graph: rename rte_graph_work as common", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "33e53266269fe4ef88d464db47ab200d4c6c1bdd", "submitter": { "id": 1154, "url": "http://patches.dpdk.org/api/people/1154/?format=api", "name": "Yan, Zhirun", "email": "zhirun.yan@intel.com" }, "delegate": { "id": 1, "url": "http://patches.dpdk.org/api/users/1/?format=api", "username": "tmonjalo", "first_name": "Thomas", "last_name": "Monjalon", "email": "thomas@monjalon.net" }, "mbox": "http://patches.dpdk.org/project/dpdk/patch/20230609191245.252521-2-zhirun.yan@intel.com/mbox/", "series": [ { "id": 28444, "url": "http://patches.dpdk.org/api/series/28444/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=28444", "date": "2023-06-09T19:12:29", "name": "graph enhancement for multi-core dispatch", "version": 12, "mbox": "http://patches.dpdk.org/series/28444/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/128482/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/128482/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 A9D4942C71;\n\tFri, 9 Jun 2023 21:19:57 +0200 (CEST)", "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 5EA86410F1;\n\tFri, 9 Jun 2023 21:19:53 +0200 (CEST)", "from mga09.intel.com (mga09.intel.com [134.134.136.24])\n by mails.dpdk.org (Postfix) with ESMTP id 5A045410D7\n for <dev@dpdk.org>; Fri, 9 Jun 2023 21:19:52 +0200 (CEST)", "from fmsmga006.fm.intel.com ([10.253.24.20])\n by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 09 Jun 2023 12:19:51 -0700", "from dpdk-zhirun-lmm.sh.intel.com ([10.67.119.94])\n by fmsmga006.fm.intel.com with ESMTP; 09 Jun 2023 12:19:48 -0700" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n d=intel.com; i=@intel.com; q=dns/txt; s=Intel;\n t=1686338392; x=1717874392;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=sm1hbIkeBfeS24ApYzQhkwySKgx/2r3ct9kpE/4xVgs=;\n b=b9xana8oEH0MmRtwaxSlcBs76ii2op2Q+m15tflLi78XE7mPMdqwzBeT\n SVqGvX3ft5O9HrzK+Iff6Q+kiHYlCAF7JbvUrJ4oziCFhq8N7UIgk2U70\n 2u1PPwfZnDucw/+7GkcxWDXJmgJgSkkd3HdOvcOJsWqEyD/LhPdB1KK3Y\n mt+64RZl/m+BRmQUozJbzXtXRzZFc/l6hIm6KwkZk/qIvKdJWzm+q/BYo\n vty9VBHW1NytlFkRL+SZFmI6RIkV52sa1M//J2qe8dcpLRAtwjo/V9OfE\n vcYglzSGNomg0KQ7bL03R1hP1FoyMo+emJWW1Pcl4BS4kVqqevDLj85li g==;", "X-IronPort-AV": [ "E=McAfee;i=\"6600,9927,10736\"; a=\"360154915\"", "E=Sophos;i=\"6.00,230,1681196400\"; d=\"scan'208\";a=\"360154915\"", "E=McAfee;i=\"6600,9927,10736\"; a=\"957254608\"", "E=Sophos;i=\"6.00,230,1681196400\"; d=\"scan'208\";a=\"957254608\"" ], "X-ExtLoop1": "1", "From": "Zhirun Yan <zhirun.yan@intel.com>", "To": "dev@dpdk.org, jerinj@marvell.com, kirankumark@marvell.com,\n ndabilpuram@marvell.com, stephen@networkplumber.org,\n pbhagavatula@marvell.com, jerinjacobk@gmail.com, david.marchand@redhat.com", "Cc": "cunming.liang@intel.com, haiyue.wang@intel.com,\n mattias.ronnblom@ericsson.com, Zhirun Yan <zhirun.yan@intel.com>", "Subject": "[PATCH v12 01/16] graph: rename rte_graph_work as common", "Date": "Sat, 10 Jun 2023 03:12:30 +0800", "Message-Id": "<20230609191245.252521-2-zhirun.yan@intel.com>", "X-Mailer": "git-send-email 2.37.2", "In-Reply-To": "<20230609191245.252521-1-zhirun.yan@intel.com>", "References": "<20230608151844.1823783-1-zhirun.yan@intel.com>\n <20230609191245.252521-1-zhirun.yan@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": "Rename rte_graph_work.h to rte_graph_work_common.h for supporting\nmultiple graph worker model.\n\nSigned-off-by: Haiyue Wang <haiyue.wang@intel.com>\nSigned-off-by: Cunming Liang <cunming.liang@intel.com>\nSigned-off-by: Zhirun Yan <zhirun.yan@intel.com>\nAcked-by: Jerin Jacob <jerinj@marvell.com>\n---\n MAINTAINERS | 3 ++-\n app/test/test_graph.c | 2 +-\n app/test/test_graph_perf.c | 2 +-\n doc/api/doxy-api-index.md | 2 +-\n doc/guides/prog_guide/graph_lib.rst | 2 +-\n examples/l3fwd-graph/main.c | 2 +-\n lib/graph/graph_pcap.c | 2 +-\n lib/graph/graph_private.h | 2 +-\n lib/graph/meson.build | 2 +-\n .../{rte_graph_worker.h => rte_graph_worker_common.h} | 8 ++++----\n lib/node/ethdev_rx.c | 2 +-\n lib/node/ethdev_tx.c | 2 +-\n lib/node/ip4_lookup.c | 2 +-\n lib/node/ip4_rewrite.c | 2 +-\n lib/node/pkt_cls.c | 2 +-\n 15 files changed, 19 insertions(+), 18 deletions(-)\n rename lib/graph/{rte_graph_worker.h => rte_graph_worker_common.h} (98%)", "diff": "diff --git a/MAINTAINERS b/MAINTAINERS\nindex ac22093dd4..3b11305bc0 100644\n--- a/MAINTAINERS\n+++ b/MAINTAINERS\n@@ -1721,10 +1721,11 @@ F: doc/guides/prog_guide/bpf_lib.rst\n Graph - EXPERIMENTAL\n M: Jerin Jacob <jerinj@marvell.com>\n M: Kiran Kumar K <kirankumark@marvell.com>\n+M: Nithin Dabilpuram <ndabilpuram@marvell.com>\n+M: Zhirun Yan <zhirun.yan@intel.com>\n F: lib/graph/\n F: doc/guides/prog_guide/graph_lib.rst\n F: app/test/test_graph*\n-M: Nithin Dabilpuram <ndabilpuram@marvell.com>\n F: examples/l3fwd-graph/\n F: doc/guides/sample_app_ug/l3_forward_graph.rst\n \ndiff --git a/app/test/test_graph.c b/app/test/test_graph.c\nindex 1a2d1e6fab..c2c855f776 100644\n--- a/app/test/test_graph.c\n+++ b/app/test/test_graph.c\n@@ -24,7 +24,7 @@ test_node_list_dump(void)\n #else\n \n #include <rte_graph.h>\n-#include <rte_graph_worker.h>\n+#include <rte_graph_worker_common.h>\n #include <rte_mbuf.h>\n #include <rte_mbuf_dyn.h>\n #include <rte_random.h>\ndiff --git a/app/test/test_graph_perf.c b/app/test/test_graph_perf.c\nindex c5b463f700..5c4e9c917b 100644\n--- a/app/test/test_graph_perf.c\n+++ b/app/test/test_graph_perf.c\n@@ -23,7 +23,7 @@ test_graph_perf_func(void)\n #else\n \n #include <rte_graph.h>\n-#include <rte_graph_worker.h>\n+#include <rte_graph_worker_common.h>\n #include <rte_lcore.h>\n #include <rte_malloc.h>\n #include <rte_mbuf.h>\ndiff --git a/doc/api/doxy-api-index.md b/doc/api/doxy-api-index.md\nindex c709fd48ad..6804d02c3c 100644\n--- a/doc/api/doxy-api-index.md\n+++ b/doc/api/doxy-api-index.md\n@@ -201,7 +201,7 @@ The public API headers are grouped by topics:\n [table_em](@ref rte_swx_table_em.h)\n [table_wm](@ref rte_swx_table_wm.h)\n * [graph](@ref rte_graph.h):\n- [graph_worker](@ref rte_graph_worker.h)\n+ [graph_worker](@ref rte_graph_worker_common.h)\n * graph_nodes:\n [eth_node](@ref rte_node_eth_api.h),\n [ip4_node](@ref rte_node_ip4_api.h)\ndiff --git a/doc/guides/prog_guide/graph_lib.rst b/doc/guides/prog_guide/graph_lib.rst\nindex 1cfdc86433..3eaa4b7f92 100644\n--- a/doc/guides/prog_guide/graph_lib.rst\n+++ b/doc/guides/prog_guide/graph_lib.rst\n@@ -26,7 +26,7 @@ Features of the Graph library are:\n - Low overhead statistics collection infrastructure.\n - Support to export the graph as a Graphviz dot file. See ``rte_graph_export()``.\n - Allow having another graph walk implementation in the future by segregating\n- the fast path(``rte_graph_worker.h``) and slow path code.\n+ the fast path(``rte_graph_worker_common.h``) and slow path code.\n \n Advantages of Graph architecture\n --------------------------------\ndiff --git a/examples/l3fwd-graph/main.c b/examples/l3fwd-graph/main.c\nindex 5feeab4f0f..48825da0ce 100644\n--- a/examples/l3fwd-graph/main.c\n+++ b/examples/l3fwd-graph/main.c\n@@ -23,7 +23,7 @@\n #include <rte_cycles.h>\n #include <rte_eal.h>\n #include <rte_ethdev.h>\n-#include <rte_graph_worker.h>\n+#include <rte_graph_worker_common.h>\n #include <rte_launch.h>\n #include <rte_lcore.h>\n #include <rte_log.h>\ndiff --git a/lib/graph/graph_pcap.c b/lib/graph/graph_pcap.c\nindex 6c43330029..8a220370fa 100644\n--- a/lib/graph/graph_pcap.c\n+++ b/lib/graph/graph_pcap.c\n@@ -10,7 +10,7 @@\n #include <rte_mbuf.h>\n #include <rte_pcapng.h>\n \n-#include \"rte_graph_worker.h\"\n+#include \"rte_graph_worker_common.h\"\n \n #include \"graph_pcap_private.h\"\n \ndiff --git a/lib/graph/graph_private.h b/lib/graph/graph_private.h\nindex eacdef45f0..307e5f70bc 100644\n--- a/lib/graph/graph_private.h\n+++ b/lib/graph/graph_private.h\n@@ -13,7 +13,7 @@\n #include <rte_spinlock.h>\n \n #include \"rte_graph.h\"\n-#include \"rte_graph_worker.h\"\n+#include \"rte_graph_worker_common.h\"\n \n extern int rte_graph_logtype;\n \ndiff --git a/lib/graph/meson.build b/lib/graph/meson.build\nindex 3526d1b5d4..4e2b612ad3 100644\n--- a/lib/graph/meson.build\n+++ b/lib/graph/meson.build\n@@ -16,6 +16,6 @@ sources = files(\n 'graph_populate.c',\n 'graph_pcap.c',\n )\n-headers = files('rte_graph.h', 'rte_graph_worker.h')\n+headers = files('rte_graph.h', 'rte_graph_worker_common.h')\n \n deps += ['eal', 'pcapng']\ndiff --git a/lib/graph/rte_graph_worker.h b/lib/graph/rte_graph_worker_common.h\nsimilarity index 98%\nrename from lib/graph/rte_graph_worker.h\nrename to lib/graph/rte_graph_worker_common.h\nindex 438595b15c..5a4b54e490 100644\n--- a/lib/graph/rte_graph_worker.h\n+++ b/lib/graph/rte_graph_worker_common.h\n@@ -2,11 +2,11 @@\n * Copyright(C) 2020 Marvell International Ltd.\n */\n \n-#ifndef _RTE_GRAPH_WORKER_H_\n-#define _RTE_GRAPH_WORKER_H_\n+#ifndef _RTE_GRAPH_WORKER_COMMON_H_\n+#define _RTE_GRAPH_WORKER_COMMON_H_\n \n /**\n- * @file rte_graph_worker.h\n+ * @file rte_graph_worker_common.h\n *\n * @warning\n * @b EXPERIMENTAL:\n@@ -518,4 +518,4 @@ rte_node_next_stream_move(struct rte_graph *graph, struct rte_node *src,\n }\n #endif\n \n-#endif /* _RTE_GRAPH_WORKER_H_ */\n+#endif /* _RTE_GRAPH_WORKER_COIMMON_H_ */\ndiff --git a/lib/node/ethdev_rx.c b/lib/node/ethdev_rx.c\nindex a19237b42f..e681f9f6ec 100644\n--- a/lib/node/ethdev_rx.c\n+++ b/lib/node/ethdev_rx.c\n@@ -6,7 +6,7 @@\n #include <rte_ethdev.h>\n #include <rte_ether.h>\n #include <rte_graph.h>\n-#include <rte_graph_worker.h>\n+#include <rte_graph_worker_common.h>\n \n #include \"ethdev_rx_priv.h\"\n #include \"node_private.h\"\ndiff --git a/lib/node/ethdev_tx.c b/lib/node/ethdev_tx.c\nindex 7d2d72f823..17231d8b34 100644\n--- a/lib/node/ethdev_tx.c\n+++ b/lib/node/ethdev_tx.c\n@@ -5,7 +5,7 @@\n #include <rte_debug.h>\n #include <rte_ethdev.h>\n #include <rte_graph.h>\n-#include <rte_graph_worker.h>\n+#include <rte_graph_worker_common.h>\n \n #include \"ethdev_tx_priv.h\"\n \ndiff --git a/lib/node/ip4_lookup.c b/lib/node/ip4_lookup.c\nindex 8bce03d7db..b84c066fe3 100644\n--- a/lib/node/ip4_lookup.c\n+++ b/lib/node/ip4_lookup.c\n@@ -8,7 +8,7 @@\n #include <rte_ethdev.h>\n #include <rte_ether.h>\n #include <rte_graph.h>\n-#include <rte_graph_worker.h>\n+#include <rte_graph_worker_common.h>\n #include <rte_ip.h>\n #include <rte_lpm.h>\n \ndiff --git a/lib/node/ip4_rewrite.c b/lib/node/ip4_rewrite.c\nindex 34a920df5e..72ca4b1370 100644\n--- a/lib/node/ip4_rewrite.c\n+++ b/lib/node/ip4_rewrite.c\n@@ -5,7 +5,7 @@\n #include <rte_ethdev.h>\n #include <rte_ether.h>\n #include <rte_graph.h>\n-#include <rte_graph_worker.h>\n+#include <rte_graph_worker_common.h>\n #include <rte_ip.h>\n #include <rte_malloc.h>\n #include <rte_vect.h>\ndiff --git a/lib/node/pkt_cls.c b/lib/node/pkt_cls.c\nindex 3e75f2cf78..03f8b03f6c 100644\n--- a/lib/node/pkt_cls.c\n+++ b/lib/node/pkt_cls.c\n@@ -3,7 +3,7 @@\n */\n \n #include <rte_graph.h>\n-#include <rte_graph_worker.h>\n+#include <rte_graph_worker_common.h>\n \n #include \"pkt_cls_priv.h\"\n #include \"node_private.h\"\n", "prefixes": [ "v12", "01/16" ] }{ "id": 128482, "url": "