From: Zhirun Yan <zhirun.yan@intel.com>
To: dev@dpdk.org, jerinj@marvell.com, kirankumark@marvell.com,
ndabilpuram@marvell.com, stephen@networkplumber.org,
pbhagavatula@marvell.com, jerinjacobk@gmail.com,
david.marchand@redhat.com
Cc: cunming.liang@intel.com, haiyue.wang@intel.com,
mattias.ronnblom@ericsson.com, Zhirun Yan <zhirun.yan@intel.com>
Subject: [PATCH v14 07/16] graph: move node clone name func into private as common
Date: Tue, 13 Jun 2023 22:04:36 +0800 [thread overview]
Message-ID: <20230613140445.2155542-8-zhirun.yan@intel.com> (raw)
In-Reply-To: <20230613140445.2155542-1-zhirun.yan@intel.com>
Move clone_name() into graph_private.h as a common function for both node
and graph to naming a new cloned object.
Signed-off-by: Haiyue Wang <haiyue.wang@intel.com>
Signed-off-by: Cunming Liang <cunming.liang@intel.com>
Signed-off-by: Zhirun Yan <zhirun.yan@intel.com>
Acked-by: Jerin Jacob <jerinj@marvell.com>
---
lib/graph/graph_private.h | 41 +++++++++++++++++++++++++++++++++++++++
lib/graph/node.c | 26 +------------------------
2 files changed, 42 insertions(+), 25 deletions(-)
diff --git a/lib/graph/graph_private.h b/lib/graph/graph_private.h
index 6d2137c81b..a6d8c6e98b 100644
--- a/lib/graph/graph_private.h
+++ b/lib/graph/graph_private.h
@@ -11,6 +11,8 @@
#include <rte_common.h>
#include <rte_eal.h>
#include <rte_spinlock.h>
+#include <rte_errno.h>
+#include <rte_string_fns.h>
#include "rte_graph.h"
#include "rte_graph_worker.h"
@@ -114,6 +116,45 @@ struct graph {
/**< Nodes in a graph. */
};
+/* Node and graph common functions */
+/**
+ * @internal
+ *
+ * Naming a cloned graph or node by appending a string to base name.
+ *
+ * @param new_name
+ * Pointer to the name of the cloned object.
+ * @param base_name
+ * Pointer to the name of original object.
+ * @param append_str
+ * Pointer to the appended string.
+ *
+ * @return
+ * 0 on success, negative errno value otherwise.
+ */
+static inline int clone_name(char *new_name, char *base_name, const char *append_str)
+{
+ ssize_t sz, rc;
+
+#define SZ RTE_MIN(RTE_NODE_NAMESIZE, RTE_GRAPH_NAMESIZE)
+ rc = rte_strscpy(new_name, base_name, SZ);
+ if (rc < 0)
+ goto fail;
+ sz = rc;
+ rc = rte_strscpy(new_name + sz, "-", RTE_MAX((int16_t)(SZ - sz), 0));
+ if (rc < 0)
+ goto fail;
+ sz += rc;
+ sz = rte_strscpy(new_name + sz, append_str, RTE_MAX((int16_t)(SZ - sz), 0));
+ if (sz < 0)
+ goto fail;
+
+ return 0;
+fail:
+ rte_errno = E2BIG;
+ return -rte_errno;
+}
+
/* Node functions */
STAILQ_HEAD(node_head, node);
diff --git a/lib/graph/node.c b/lib/graph/node.c
index 339b4a0da5..99a9622779 100644
--- a/lib/graph/node.c
+++ b/lib/graph/node.c
@@ -115,30 +115,6 @@ __rte_node_register(const struct rte_node_register *reg)
return RTE_NODE_ID_INVALID;
}
-static int
-clone_name(struct rte_node_register *reg, struct node *node, const char *name)
-{
- ssize_t sz, rc;
-
-#define SZ RTE_NODE_NAMESIZE
- rc = rte_strscpy(reg->name, node->name, SZ);
- if (rc < 0)
- goto fail;
- sz = rc;
- rc = rte_strscpy(reg->name + sz, "-", RTE_MAX((int16_t)(SZ - sz), 0));
- if (rc < 0)
- goto fail;
- sz += rc;
- sz = rte_strscpy(reg->name + sz, name, RTE_MAX((int16_t)(SZ - sz), 0));
- if (sz < 0)
- goto fail;
-
- return 0;
-fail:
- rte_errno = E2BIG;
- return -rte_errno;
-}
-
static rte_node_t
node_clone(struct node *node, const char *name)
{
@@ -170,7 +146,7 @@ node_clone(struct node *node, const char *name)
reg->next_nodes[i] = node->next_nodes[i];
/* Naming ceremony of the new node. name is node->name + "-" + name */
- if (clone_name(reg, node, name))
+ if (clone_name(reg->name, node->name, name))
goto free;
rc = __rte_node_register(reg);
--
2.37.2
next prev parent reply other threads:[~2023-06-13 14:12 UTC|newest]
Thread overview: 369+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-17 5:09 [PATCH v1 00/13] graph enhancement for multi-core dispatch Zhirun Yan
2022-11-17 5:09 ` [PATCH v1 01/13] graph: split graph worker into common and default model Zhirun Yan
2023-02-20 13:38 ` Jerin Jacob
2023-02-24 6:29 ` Yan, Zhirun
2022-11-17 5:09 ` [PATCH v1 02/13] graph: move node process into inline function Zhirun Yan
2023-02-20 13:39 ` Jerin Jacob
2022-11-17 5:09 ` [PATCH v1 03/13] graph: add macro to walk on graph circular buffer Zhirun Yan
2023-02-20 13:45 ` Jerin Jacob
2023-02-24 6:30 ` Yan, Zhirun
2022-11-17 5:09 ` [PATCH v1 04/13] graph: add get/set graph worker model APIs Zhirun Yan
2022-12-06 3:35 ` [EXT] " Kiran Kumar Kokkilagadda
2022-12-08 7:26 ` Yan, Zhirun
2023-02-20 13:50 ` Jerin Jacob
2023-02-24 6:31 ` Yan, Zhirun
2023-02-26 22:23 ` Jerin Jacob
2023-03-02 8:38 ` Yan, Zhirun
2023-03-02 13:58 ` Jerin Jacob
2023-03-07 8:26 ` Yan, Zhirun
2022-11-17 5:09 ` [PATCH v1 05/13] graph: introduce core affinity API Zhirun Yan
2023-02-20 14:05 ` Jerin Jacob
2023-02-24 6:32 ` Yan, Zhirun
2022-11-17 5:09 ` [PATCH v1 06/13] graph: introduce graph " Zhirun Yan
2023-02-20 14:07 ` Jerin Jacob
2023-02-24 6:39 ` Yan, Zhirun
2022-11-17 5:09 ` [PATCH v1 07/13] graph: introduce graph clone API for other worker core Zhirun Yan
2022-11-17 5:09 ` [PATCH v1 08/13] graph: introduce stream moving cross cores Zhirun Yan
2023-02-20 14:17 ` Jerin Jacob
2023-02-24 6:48 ` Yan, Zhirun
2022-11-17 5:09 ` [PATCH v1 09/13] graph: enable create and destroy graph scheduling workqueue Zhirun Yan
2022-11-17 5:09 ` [PATCH v1 10/13] graph: introduce graph walk by cross-core dispatch Zhirun Yan
2022-11-17 5:09 ` [PATCH v1 11/13] graph: enable graph generic scheduler model Zhirun Yan
2022-11-17 5:09 ` [PATCH v1 12/13] graph: add stats for corss-core dispatching Zhirun Yan
2022-11-17 5:09 ` [PATCH v1 13/13] examples/l3fwd-graph: introduce generic worker model Zhirun Yan
2023-02-20 14:20 ` Jerin Jacob
2023-02-24 6:49 ` Yan, Zhirun
2023-02-20 0:22 ` [PATCH v1 00/13] graph enhancement for multi-core dispatch Thomas Monjalon
2023-02-20 8:28 ` Yan, Zhirun
2023-02-20 9:33 ` Jerin Jacob
2023-03-24 2:16 ` [PATCH v2 00/15] " Zhirun Yan
2023-03-24 2:16 ` [PATCH v2 01/15] graph: rename rte_graph_work as common Zhirun Yan
2023-03-24 2:16 ` [PATCH v2 02/15] graph: split graph worker into common and default model Zhirun Yan
2023-03-24 2:16 ` [PATCH v2 03/15] graph: move node process into inline function Zhirun Yan
2023-03-24 2:16 ` [PATCH v2 04/15] graph: add get/set graph worker model APIs Zhirun Yan
2023-03-24 2:16 ` [PATCH v2 05/15] graph: introduce graph node core affinity API Zhirun Yan
2023-03-24 2:16 ` [PATCH v2 06/15] graph: introduce graph bind unbind API Zhirun Yan
2023-03-24 2:16 ` [PATCH v2 07/15] graph: introduce graph clone API for other worker core Zhirun Yan
2023-03-24 2:16 ` [PATCH v2 08/15] graph: add struct for stream moving between cores Zhirun Yan
2023-03-24 2:16 ` [PATCH v2 09/15] graph: introduce stream moving cross cores Zhirun Yan
2023-03-24 2:16 ` [PATCH v2 10/15] graph: enable create and destroy graph scheduling workqueue Zhirun Yan
2023-03-24 2:16 ` [PATCH v2 11/15] graph: introduce graph walk by cross-core dispatch Zhirun Yan
2023-03-24 2:16 ` [PATCH v2 12/15] graph: enable graph multicore dispatch scheduler model Zhirun Yan
2023-03-24 2:16 ` [PATCH v2 13/15] graph: add stats for corss-core dispatching Zhirun Yan
2023-03-24 2:16 ` [PATCH v2 14/15] examples/l3fwd-graph: introduce multicore dispatch worker model Zhirun Yan
2023-03-24 2:16 ` [PATCH v2 15/15] doc: update multicore dispatch model in graph guides Zhirun Yan
2023-03-29 6:43 ` [PATCH v3 00/15] graph enhancement for multi-core dispatch Zhirun Yan
2023-03-29 6:43 ` [PATCH v3 01/15] graph: rename rte_graph_work as common Zhirun Yan
2023-03-29 6:43 ` [PATCH v3 02/15] graph: split graph worker into common and default model Zhirun Yan
2023-03-29 6:43 ` [PATCH v3 03/15] graph: move node process into inline function Zhirun Yan
2023-03-29 15:34 ` Stephen Hemminger
2023-03-29 15:41 ` Jerin Jacob
2023-03-29 6:43 ` [PATCH v3 04/15] graph: add get/set graph worker model APIs Zhirun Yan
2023-03-29 15:35 ` Stephen Hemminger
2023-03-30 3:37 ` Yan, Zhirun
2023-03-29 6:43 ` [PATCH v3 05/15] graph: introduce graph node core affinity API Zhirun Yan
2023-03-29 6:43 ` [PATCH v3 06/15] graph: introduce graph bind unbind API Zhirun Yan
2023-03-29 6:43 ` [PATCH v3 07/15] graph: introduce graph clone API for other worker core Zhirun Yan
2023-03-29 6:43 ` [PATCH v3 08/15] graph: add struct for stream moving between cores Zhirun Yan
2023-03-29 6:43 ` [PATCH v3 09/15] graph: introduce stream moving cross cores Zhirun Yan
2023-03-29 6:43 ` [PATCH v3 10/15] graph: enable create and destroy graph scheduling workqueue Zhirun Yan
2023-03-29 6:43 ` [PATCH v3 11/15] graph: introduce graph walk by cross-core dispatch Zhirun Yan
2023-03-29 6:43 ` [PATCH v3 12/15] graph: enable graph multicore dispatch scheduler model Zhirun Yan
2023-03-29 6:43 ` [PATCH v3 13/15] graph: add stats for cross-core dispatching Zhirun Yan
2023-03-29 6:43 ` [PATCH v3 14/15] examples/l3fwd-graph: introduce multicore dispatch worker model Zhirun Yan
2023-03-29 6:43 ` [PATCH v3 15/15] doc: update multicore dispatch model in graph guides Zhirun Yan
2023-03-30 6:18 ` [PATCH v4 00/15] graph enhancement for multi-core dispatch Zhirun Yan
2023-03-30 6:18 ` [PATCH v4 01/15] graph: rename rte_graph_work as common Zhirun Yan
2023-03-30 6:18 ` [PATCH v4 02/15] graph: split graph worker into common and default model Zhirun Yan
2023-03-30 6:18 ` [PATCH v4 03/15] graph: move node process into inline function Zhirun Yan
2023-03-30 6:18 ` [PATCH v4 04/15] graph: add get/set graph worker model APIs Zhirun Yan
2023-03-30 6:18 ` [PATCH v4 05/15] graph: introduce graph node core affinity API Zhirun Yan
2023-03-30 6:18 ` [PATCH v4 06/15] graph: introduce graph bind unbind API Zhirun Yan
2023-03-30 6:18 ` [PATCH v4 07/15] graph: introduce graph clone API for other worker core Zhirun Yan
2023-03-30 6:18 ` [PATCH v4 08/15] graph: add struct for stream moving between cores Zhirun Yan
2023-03-30 6:18 ` [PATCH v4 09/15] graph: introduce stream moving cross cores Zhirun Yan
2023-03-30 6:18 ` [PATCH v4 10/15] graph: enable create and destroy graph scheduling workqueue Zhirun Yan
2023-03-30 6:18 ` [PATCH v4 11/15] graph: introduce graph walk by cross-core dispatch Zhirun Yan
2023-03-30 6:18 ` [PATCH v4 12/15] graph: enable graph multicore dispatch scheduler model Zhirun Yan
2023-03-30 6:18 ` [PATCH v4 13/15] graph: add stats for cross-core dispatching Zhirun Yan
2023-03-30 6:18 ` [PATCH v4 14/15] examples/l3fwd-graph: introduce multicore dispatch worker model Zhirun Yan
2023-03-30 6:18 ` [PATCH v4 15/15] doc: update multicore dispatch model in graph guides Zhirun Yan
2023-03-31 4:02 ` [PATCH v5 00/15] graph enhancement for multi-core dispatch Zhirun Yan
2023-03-31 4:02 ` [PATCH v5 01/15] graph: rename rte_graph_work as common Zhirun Yan
2023-03-31 4:02 ` [PATCH v5 02/15] graph: split graph worker into common and default model Zhirun Yan
2023-04-27 14:11 ` [EXT] " Pavan Nikhilesh Bhagavatula
2023-05-05 2:09 ` Yan, Zhirun
2023-03-31 4:02 ` [PATCH v5 03/15] graph: move node process into inline function Zhirun Yan
2023-04-27 15:03 ` [EXT] " Pavan Nikhilesh Bhagavatula
2023-05-05 2:10 ` Yan, Zhirun
2023-03-31 4:02 ` [PATCH v5 04/15] graph: add get/set graph worker model APIs Zhirun Yan
2023-03-31 4:02 ` [PATCH v5 05/15] graph: introduce graph node core affinity API Zhirun Yan
2023-03-31 4:02 ` [PATCH v5 06/15] graph: introduce graph bind unbind API Zhirun Yan
2023-03-31 4:02 ` [PATCH v5 07/15] graph: introduce graph clone API for other worker core Zhirun Yan
2023-03-31 4:02 ` [PATCH v5 08/15] graph: add struct for stream moving between cores Zhirun Yan
2023-03-31 4:03 ` [PATCH v5 09/15] graph: introduce stream moving cross cores Zhirun Yan
2023-04-27 14:52 ` [EXT] " Pavan Nikhilesh Bhagavatula
2023-05-05 2:10 ` Yan, Zhirun
2023-03-31 4:03 ` [PATCH v5 10/15] graph: enable create and destroy graph scheduling workqueue Zhirun Yan
2023-03-31 4:03 ` [PATCH v5 11/15] graph: introduce graph walk by cross-core dispatch Zhirun Yan
2023-04-27 14:58 ` [EXT] " Pavan Nikhilesh Bhagavatula
2023-05-05 2:09 ` Yan, Zhirun
2023-03-31 4:03 ` [PATCH v5 12/15] graph: enable graph multicore dispatch scheduler model Zhirun Yan
2023-03-31 4:03 ` [PATCH v5 13/15] graph: add stats for cross-core dispatching Zhirun Yan
2023-03-31 4:03 ` [PATCH v5 14/15] examples/l3fwd-graph: introduce multicore dispatch worker model Zhirun Yan
2023-03-31 4:03 ` [PATCH v5 15/15] doc: update multicore dispatch model in graph guides Zhirun Yan
2023-05-09 6:03 ` [PATCH v6 00/15] graph enhancement for multi-core dispatch Zhirun Yan
2023-05-09 6:03 ` [PATCH v6 01/15] graph: rename rte_graph_work as common Zhirun Yan
2023-05-22 8:25 ` Jerin Jacob
2023-05-23 8:13 ` Yan, Zhirun
2023-05-09 6:03 ` [PATCH v6 02/15] graph: split graph worker into common and default model Zhirun Yan
2023-05-09 6:03 ` [PATCH v6 03/15] graph: move node process into inline function Zhirun Yan
2023-05-09 6:03 ` [PATCH v6 04/15] graph: add get/set graph worker model APIs Zhirun Yan
2023-05-24 6:08 ` Jerin Jacob
2023-05-26 9:58 ` Yan, Zhirun
2023-05-09 6:03 ` [PATCH v6 05/15] graph: introduce graph node core affinity API Zhirun Yan
2023-05-24 6:36 ` Jerin Jacob
2023-05-26 10:00 ` Yan, Zhirun
2023-05-09 6:03 ` [PATCH v6 06/15] graph: introduce graph bind unbind API Zhirun Yan
2023-05-24 6:23 ` Jerin Jacob
2023-05-26 10:00 ` Yan, Zhirun
2023-05-09 6:03 ` [PATCH v6 07/15] graph: introduce graph clone API for other worker core Zhirun Yan
2023-05-24 7:14 ` Jerin Jacob
2023-05-26 10:02 ` Yan, Zhirun
2023-05-09 6:03 ` [PATCH v6 08/15] graph: add struct for stream moving between cores Zhirun Yan
2023-05-24 7:24 ` Jerin Jacob
2023-05-26 10:02 ` Yan, Zhirun
2023-05-09 6:03 ` [PATCH v6 09/15] graph: introduce stream moving cross cores Zhirun Yan
2023-05-24 8:00 ` Jerin Jacob
2023-05-26 10:03 ` Yan, Zhirun
2023-05-09 6:03 ` [PATCH v6 10/15] graph: enable create and destroy graph scheduling workqueue Zhirun Yan
2023-05-09 6:03 ` [PATCH v6 11/15] graph: introduce graph walk by cross-core dispatch Zhirun Yan
2023-05-09 6:03 ` [PATCH v6 12/15] graph: enable graph multicore dispatch scheduler model Zhirun Yan
2023-05-24 8:45 ` Jerin Jacob
2023-05-26 10:04 ` Yan, Zhirun
2023-05-09 6:03 ` [PATCH v6 13/15] graph: add stats for cross-core dispatching Zhirun Yan
2023-05-24 8:08 ` Jerin Jacob
2023-05-26 10:03 ` Yan, Zhirun
2023-05-09 6:03 ` [PATCH v6 14/15] examples/l3fwd-graph: introduce multicore dispatch worker model Zhirun Yan
2023-05-09 6:03 ` [PATCH v6 15/15] doc: update multicore dispatch model in graph guides Zhirun Yan
2023-05-24 8:12 ` Jerin Jacob
2023-05-26 10:04 ` Yan, Zhirun
2023-06-05 11:19 ` [PATCH v7 00/15] graph enhancement for multi-core dispatch Zhirun Yan
2023-06-05 11:19 ` [PATCH v7 01/17] graph: rename rte_graph_work as common Zhirun Yan
2023-06-05 11:19 ` [PATCH v7 02/17] graph: split graph worker into common and default model Zhirun Yan
2023-06-05 11:19 ` [PATCH v7 03/17] graph: move node process into inline function Zhirun Yan
2023-06-05 11:19 ` [PATCH v7 04/17] graph: add get/set graph worker model APIs Zhirun Yan
2023-06-05 12:38 ` Jerin Jacob
2023-06-06 4:30 ` Yan, Zhirun
2023-06-06 5:48 ` Jerin Jacob
2023-06-06 6:34 ` Yan, Zhirun
2023-06-06 6:39 ` Jerin Jacob
2023-06-05 11:19 ` [PATCH v7 05/17] graph: introduce graph node core affinity API Zhirun Yan
2023-06-05 11:19 ` [PATCH v7 06/17] graph: introduce graph bind unbind API Zhirun Yan
2023-06-05 12:41 ` Jerin Jacob
2023-06-06 4:30 ` Yan, Zhirun
2023-06-05 11:19 ` [PATCH v7 07/17] graph: move node clone name func into private as common Zhirun Yan
2023-06-05 11:19 ` [PATCH v7 08/17] graph: introduce graph clone API for other worker core Zhirun Yan
2023-06-05 11:19 ` [PATCH v7 09/17] graph: add structure for stream moving between cores Zhirun Yan
2023-06-05 12:46 ` Jerin Jacob
2023-06-06 4:30 ` Yan, Zhirun
2023-06-05 11:19 ` [PATCH v7 10/17] graph: introduce stream moving cross cores Zhirun Yan
2023-06-05 11:19 ` [PATCH v7 11/17] graph: enable create and destroy graph scheduling workqueue Zhirun Yan
2023-06-05 11:19 ` [PATCH v7 12/17] graph: introduce graph walk by cross-core dispatch Zhirun Yan
2023-06-05 11:19 ` [PATCH v7 13/17] graph: enable graph multicore dispatch scheduler model Zhirun Yan
2023-06-05 11:19 ` [PATCH v7 14/17] graph: add stats for cross-core dispatching Zhirun Yan
2023-06-05 11:19 ` [PATCH v7 15/17] examples/l3fwd-graph: introduce multicore dispatch worker model Zhirun Yan
2023-06-05 13:42 ` Jerin Jacob
2023-06-06 5:10 ` Yan, Zhirun
2023-06-06 5:55 ` Jerin Jacob
2023-06-06 8:51 ` Yan, Zhirun
2023-06-05 11:19 ` [PATCH v7 16/17] test/graph: add functional tests for mcore dispatch model Zhirun Yan
2023-06-05 11:19 ` [PATCH v7 17/17] doc: update multicore dispatch model in graph guides Zhirun Yan
2023-06-06 14:47 ` [PATCH v8 00/17] graph enhancement for multi-core dispatch Zhirun Yan
2023-06-06 14:47 ` [PATCH v8 01/17] graph: rename rte_graph_work as common Zhirun Yan
2023-06-06 14:47 ` [PATCH v8 02/17] graph: split graph worker into common and default model Zhirun Yan
2023-06-06 14:47 ` [PATCH v8 03/17] graph: move node process into inline function Zhirun Yan
2023-06-06 14:47 ` [PATCH v8 04/17] graph: add get/set graph worker model APIs Zhirun Yan
2023-06-06 14:47 ` [PATCH v8 05/17] graph: introduce graph node core affinity API Zhirun Yan
2023-06-06 14:47 ` [PATCH v8 06/17] graph: introduce graph bind unbind API Zhirun Yan
2023-06-06 14:47 ` [PATCH v8 07/17] graph: move node clone name func into private as common Zhirun Yan
2023-06-06 14:47 ` [PATCH v8 08/17] graph: introduce graph clone API for other worker core Zhirun Yan
2023-06-06 14:47 ` [PATCH v8 09/17] graph: add structure for stream moving between cores Zhirun Yan
2023-06-06 14:47 ` [PATCH v8 10/17] graph: introduce stream moving cross cores Zhirun Yan
2023-06-06 14:47 ` [PATCH v8 11/17] graph: enable create and destroy graph scheduling workqueue Zhirun Yan
2023-06-06 14:47 ` [PATCH v8 12/17] graph: introduce graph walk by cross-core dispatch Zhirun Yan
2023-06-06 14:47 ` [PATCH v8 13/17] graph: enable graph multicore dispatch scheduler model Zhirun Yan
2023-06-06 14:47 ` [PATCH v8 14/17] graph: add stats for cross-core dispatching Zhirun Yan
2023-06-06 14:47 ` [PATCH v8 15/17] examples/l3fwd-graph: introduce multicore dispatch worker model Zhirun Yan
2023-06-06 14:47 ` [PATCH v8 16/17] test/graph: add functional tests for mcore dispatch model Zhirun Yan
2023-06-06 14:47 ` [PATCH v8 17/17] doc: update multicore dispatch model in graph guides Zhirun Yan
2023-06-07 3:51 ` [PATCH v9 00/17] graph enhancement for multi-core dispatch Zhirun Yan
2023-06-07 3:51 ` [PATCH v9 01/17] graph: rename rte_graph_work as common Zhirun Yan
2023-06-07 7:28 ` Jerin Jacob
2023-06-07 3:51 ` [PATCH v9 02/17] graph: split graph worker into common and default model Zhirun Yan
2023-06-07 7:30 ` Jerin Jacob
2023-06-07 3:51 ` [PATCH v9 03/17] graph: move node process into inline function Zhirun Yan
2023-06-07 7:31 ` Jerin Jacob
2023-06-07 3:51 ` [PATCH v9 04/17] graph: add get/set graph worker model APIs Zhirun Yan
2023-06-07 7:42 ` Jerin Jacob
2023-06-07 12:25 ` Yan, Zhirun
2023-06-07 13:28 ` Jerin Jacob
2023-06-08 3:08 ` Yan, Zhirun
2023-06-07 3:51 ` [PATCH v9 05/17] graph: introduce graph node core affinity API Zhirun Yan
2023-06-07 7:56 ` Jerin Jacob
2023-06-07 3:51 ` [PATCH v9 06/17] graph: introduce graph bind unbind API Zhirun Yan
2023-06-07 7:59 ` Jerin Jacob
2023-06-07 3:51 ` [PATCH v9 07/17] graph: move node clone name func into private as common Zhirun Yan
2023-06-07 8:01 ` Jerin Jacob
2023-06-07 3:51 ` [PATCH v9 08/17] graph: introduce graph clone API for other worker core Zhirun Yan
2023-06-07 8:04 ` Jerin Jacob
2023-06-07 3:51 ` [PATCH v9 09/17] graph: add structure for stream moving between cores Zhirun Yan
2023-06-07 3:51 ` [PATCH v9 10/17] graph: introduce stream moving cross cores Zhirun Yan
2023-06-07 3:51 ` [PATCH v9 11/17] graph: enable create and destroy graph scheduling workqueue Zhirun Yan
2023-06-07 3:51 ` [PATCH v9 12/17] graph: introduce graph walk by cross-core dispatch Zhirun Yan
2023-06-07 8:09 ` Jerin Jacob
2023-06-07 3:51 ` [PATCH v9 13/17] graph: enable graph multicore dispatch scheduler model Zhirun Yan
2023-06-07 8:15 ` Jerin Jacob
2023-06-07 12:25 ` Yan, Zhirun
2023-06-07 13:26 ` Jerin Jacob
2023-06-08 3:08 ` Yan, Zhirun
2023-06-08 5:33 ` Jerin Jacob
2023-06-08 7:06 ` Yan, Zhirun
2023-06-07 3:51 ` [PATCH v9 14/17] graph: add stats for cross-core dispatching Zhirun Yan
2023-06-07 8:20 ` Jerin Jacob
2023-06-07 3:51 ` [PATCH v9 15/17] examples/l3fwd-graph: introduce multicore dispatch worker model Zhirun Yan
2023-06-07 8:27 ` Jerin Jacob
2023-06-07 12:26 ` Yan, Zhirun
2023-06-07 13:58 ` Jerin Jacob
2023-06-08 2:58 ` Yan, Zhirun
2023-06-07 3:51 ` [PATCH v9 16/17] test/graph: add functional tests for mcore dispatch model Zhirun Yan
2023-06-07 3:51 ` [PATCH v9 17/17] doc: update multicore dispatch model in graph guides Zhirun Yan
2023-06-07 12:45 ` Jerin Jacob
2023-06-08 3:21 ` Yan, Zhirun
2023-06-08 9:57 ` [PATCH v10 00/16] graph enhancement for multi-core dispatch Zhirun Yan
2023-06-08 9:57 ` [PATCH v10 01/16] graph: rename rte_graph_work as common Zhirun Yan
2023-06-08 9:57 ` [PATCH v10 02/16] graph: split graph worker into common and default model Zhirun Yan
2023-06-08 9:57 ` [PATCH v10 03/16] graph: move node process into inline function Zhirun Yan
2023-06-08 9:57 ` [PATCH v10 04/16] graph: add get/set graph worker model APIs Zhirun Yan
2023-06-08 10:38 ` Jerin Jacob
2023-06-08 9:57 ` [PATCH v10 05/16] graph: introduce graph node core affinity API Zhirun Yan
2023-06-08 9:57 ` [PATCH v10 06/16] graph: introduce graph bind unbind API Zhirun Yan
2023-06-08 10:40 ` Jerin Jacob
2023-06-08 13:47 ` Yan, Zhirun
2023-06-08 9:57 ` [PATCH v10 07/16] graph: move node clone name func into private as common Zhirun Yan
2023-06-08 9:57 ` [PATCH v10 08/16] graph: introduce graph clone API for other worker core Zhirun Yan
2023-06-08 9:57 ` [PATCH v10 09/16] graph: add structure for stream moving between cores Zhirun Yan
2023-06-08 9:57 ` [PATCH v10 10/16] graph: introduce stream moving cross cores Zhirun Yan
2023-06-08 13:39 ` [EXT] " Pavan Nikhilesh Bhagavatula
2023-06-08 9:57 ` [PATCH v10 11/16] graph: enable create and destroy graph scheduling workqueue Zhirun Yan
2023-06-08 13:43 ` [EXT] " Pavan Nikhilesh Bhagavatula
2023-06-08 9:57 ` [PATCH v10 12/16] graph: introduce graph walk by cross-core dispatch Zhirun Yan
2023-06-08 13:43 ` [EXT] " Pavan Nikhilesh Bhagavatula
2023-06-08 9:57 ` [PATCH v10 13/16] graph: enable graph multicore dispatch scheduler model Zhirun Yan
2023-06-08 10:42 ` Jerin Jacob
2023-06-08 14:29 ` [EXT] " Pavan Nikhilesh Bhagavatula
2023-06-08 9:57 ` [PATCH v10 14/16] graph: add stats for mcore dispatch model Zhirun Yan
2023-06-08 13:11 ` [EXT] " Pavan Nikhilesh Bhagavatula
2023-06-08 9:57 ` [PATCH v10 15/16] test/graph: add functional tests " Zhirun Yan
2023-06-08 12:27 ` [EXT] " Pavan Nikhilesh Bhagavatula
2023-06-08 9:57 ` [PATCH v10 16/16] examples/l3fwd-graph: introduce mcore dispatch worker model Zhirun Yan
2023-06-08 10:45 ` Jerin Jacob
2023-06-08 12:08 ` [EXT] " Pavan Nikhilesh Bhagavatula
2023-06-08 13:50 ` Yan, Zhirun
2023-06-08 15:18 ` [PATCH v11 00/16] graph enhancement for multi-core dispatch Zhirun Yan
2023-06-08 15:18 ` [PATCH v11 01/16] graph: rename rte_graph_work as common Zhirun Yan
2023-06-08 15:18 ` [PATCH v11 02/16] graph: split graph worker into common and default model Zhirun Yan
2023-06-08 15:18 ` [PATCH v11 03/16] graph: move node process into inline function Zhirun Yan
2023-06-08 15:18 ` [PATCH v11 04/16] graph: add get/set graph worker model APIs Zhirun Yan
2023-06-08 15:18 ` [PATCH v11 05/16] graph: introduce graph node core affinity API Zhirun Yan
2023-06-08 15:18 ` [PATCH v11 06/16] graph: introduce graph bind unbind API Zhirun Yan
2023-06-08 15:18 ` [PATCH v11 07/16] graph: move node clone name func into private as common Zhirun Yan
2023-06-08 15:18 ` [PATCH v11 08/16] graph: introduce graph clone API for other worker core Zhirun Yan
2023-06-08 15:18 ` [PATCH v11 09/16] graph: add structure for stream moving between cores Zhirun Yan
2023-06-08 15:18 ` [PATCH v11 10/16] graph: introduce stream moving cross cores Zhirun Yan
2023-06-08 15:18 ` [PATCH v11 11/16] graph: enable create and destroy graph scheduling workqueue Zhirun Yan
2023-06-08 15:18 ` [PATCH v11 12/16] graph: introduce graph walk by cross-core dispatch Zhirun Yan
2023-06-08 15:18 ` [PATCH v11 13/16] graph: enable graph multicore dispatch scheduler model Zhirun Yan
2023-06-08 15:18 ` [PATCH v11 14/16] graph: add stats for mcore dispatch model Zhirun Yan
2023-06-08 15:18 ` [PATCH v11 15/16] test/graph: add functional tests " Zhirun Yan
2023-06-08 15:18 ` [PATCH v11 16/16] examples/l3fwd-graph: introduce mcore dispatch worker model Zhirun Yan
2023-06-08 15:30 ` [PATCH v11 00/16] graph enhancement for multi-core dispatch Jerin Jacob
2023-06-09 13:39 ` David Marchand
2023-06-09 14:36 ` David Marchand
2023-06-09 15:47 ` Yan, Zhirun
2023-06-12 14:55 ` David Marchand
2023-06-13 8:06 ` Yan, Zhirun
2023-06-09 19:12 ` [PATCH v12 " Zhirun Yan
2023-06-09 19:12 ` [PATCH v12 01/16] graph: rename rte_graph_work as common Zhirun Yan
2023-06-09 19:12 ` [PATCH v12 02/16] graph: split graph worker into common and default model Zhirun Yan
2023-06-09 19:12 ` [PATCH v12 03/16] graph: move node process into inline function Zhirun Yan
2023-06-09 19:12 ` [PATCH v12 04/16] graph: add get/set graph worker model APIs Zhirun Yan
2023-06-09 19:12 ` [PATCH v12 05/16] graph: introduce graph node core affinity API Zhirun Yan
2023-06-09 19:12 ` [PATCH v12 06/16] graph: introduce graph bind unbind API Zhirun Yan
2023-06-09 19:12 ` [PATCH v12 07/16] graph: move node clone name func into private as common Zhirun Yan
2023-06-09 19:12 ` [PATCH v12 08/16] graph: introduce graph clone API for other worker core Zhirun Yan
2023-06-09 19:12 ` [PATCH v12 09/16] graph: add structure for stream moving between cores Zhirun Yan
2023-06-09 19:12 ` [PATCH v12 10/16] graph: introduce stream moving cross cores Zhirun Yan
2023-06-09 19:12 ` [PATCH v12 11/16] graph: enable create and destroy graph scheduling workqueue Zhirun Yan
2023-06-09 19:12 ` [PATCH v12 12/16] graph: introduce graph walk by cross-core dispatch Zhirun Yan
2023-06-09 19:12 ` [PATCH v12 13/16] graph: enable graph multicore dispatch scheduler model Zhirun Yan
2023-06-09 19:12 ` [PATCH v12 14/16] graph: add stats for mcore dispatch model Zhirun Yan
2023-06-09 19:12 ` [PATCH v12 15/16] test/graph: add functional tests " Zhirun Yan
2023-06-09 19:12 ` [PATCH v12 16/16] examples/l3fwd-graph: introduce mcore dispatch worker model Zhirun Yan
2023-06-13 10:13 ` [PATCH v13 00/16] graph enhancement for multi-core dispatch Zhirun Yan
2023-06-13 10:13 ` [PATCH v13 01/16] graph: rename rte_graph_work as common Zhirun Yan
2023-06-13 10:13 ` [PATCH v13 02/16] graph: split graph worker into common and default model Zhirun Yan
2023-06-13 10:13 ` [PATCH v13 03/16] graph: move node process into inline function Zhirun Yan
2023-06-13 10:13 ` [PATCH v13 04/16] graph: add get/set graph worker model APIs Zhirun Yan
2023-06-13 10:13 ` [PATCH v13 05/16] graph: introduce graph node core affinity API Zhirun Yan
2023-06-13 10:13 ` [PATCH v13 06/16] graph: introduce graph bind unbind API Zhirun Yan
2023-06-13 10:13 ` [PATCH v13 07/16] graph: move node clone name func into private as common Zhirun Yan
2023-06-13 10:13 ` [PATCH v13 08/16] graph: introduce graph clone API for other worker core Zhirun Yan
2023-06-13 10:13 ` [PATCH v13 09/16] graph: add structure for stream moving between cores Zhirun Yan
2023-06-13 10:13 ` [PATCH v13 10/16] graph: introduce stream moving cross cores Zhirun Yan
2023-06-13 10:13 ` [PATCH v13 11/16] graph: enable create and destroy graph scheduling workqueue Zhirun Yan
2023-06-13 10:14 ` [PATCH v13 12/16] graph: introduce graph walk by cross-core dispatch Zhirun Yan
2023-06-13 10:14 ` [PATCH v13 13/16] graph: enable graph multicore dispatch scheduler model Zhirun Yan
2023-06-13 10:14 ` [PATCH v13 14/16] graph: add stats for mcore dispatch model Zhirun Yan
2023-06-13 10:14 ` [PATCH v13 15/16] test/graph: add functional tests " Zhirun Yan
2023-06-13 10:14 ` [PATCH v13 16/16] examples/l3fwd-graph: introduce mcore dispatch worker model Zhirun Yan
2023-06-13 11:12 ` [PATCH v13 00/16] graph enhancement for multi-core dispatch Jerin Jacob
2023-06-13 11:26 ` Yan, Zhirun
2023-06-13 14:04 ` [PATCH v14 " Zhirun Yan
2023-06-13 14:04 ` [PATCH v14 01/16] graph: rename rte_graph_work as common Zhirun Yan
2023-06-13 14:04 ` [PATCH v14 02/16] graph: split graph worker into common and default model Zhirun Yan
2023-06-13 14:04 ` [PATCH v14 03/16] graph: move node process into inline function Zhirun Yan
2023-06-13 14:04 ` [PATCH v14 04/16] graph: add get/set graph worker model APIs Zhirun Yan
2023-06-13 14:04 ` [PATCH v14 05/16] graph: introduce graph node core affinity API Zhirun Yan
2023-06-13 14:04 ` [PATCH v14 06/16] graph: introduce graph bind unbind API Zhirun Yan
2023-06-13 14:04 ` Zhirun Yan [this message]
2023-06-13 14:04 ` [PATCH v14 08/16] graph: introduce graph clone API for other worker core Zhirun Yan
2023-06-13 14:04 ` [PATCH v14 09/16] graph: add structure for stream moving between cores Zhirun Yan
2023-06-13 14:04 ` [PATCH v14 10/16] graph: introduce stream moving cross cores Zhirun Yan
2023-06-13 14:04 ` [PATCH v14 11/16] graph: enable create and destroy graph scheduling workqueue Zhirun Yan
2023-06-13 14:04 ` [PATCH v14 12/16] graph: introduce graph walk by cross-core dispatch Zhirun Yan
2023-06-13 14:04 ` [PATCH v14 13/16] graph: enable graph multicore dispatch scheduler model Zhirun Yan
2023-06-13 14:04 ` [PATCH v14 14/16] graph: add stats for mcore dispatch model Zhirun Yan
2023-06-13 14:04 ` [PATCH v14 15/16] test/graph: add functional tests " Zhirun Yan
2023-06-13 14:04 ` [PATCH v14 16/16] examples/l3fwd-graph: introduce mcore dispatch worker model Zhirun Yan
2023-06-13 14:40 ` [PATCH v14 00/16] graph enhancement for multi-core dispatch David Marchand
2023-06-13 16:08 ` Jerin Jacob
2023-06-14 1:52 ` Yan, Zhirun
2023-06-14 15:58 ` [PATCH v15 " Zhirun Yan
2023-06-14 15:58 ` [PATCH v15 01/16] graph: rename rte graph worker header as common Zhirun Yan
2023-06-14 15:58 ` [PATCH v15 02/16] graph: split graph worker into common and default model Zhirun Yan
2023-06-14 15:58 ` [PATCH v15 03/16] graph: move node process into inline function Zhirun Yan
2023-06-14 15:58 ` [PATCH v15 04/16] graph: add get/set graph worker model APIs Zhirun Yan
2023-06-14 15:58 ` [PATCH v15 05/16] graph: introduce graph node core affinity API Zhirun Yan
2023-06-14 15:58 ` [PATCH v15 06/16] graph: introduce graph bind unbind API Zhirun Yan
2023-06-14 15:58 ` [PATCH v15 07/16] graph: move node clone name func into private as common Zhirun Yan
2023-06-14 15:58 ` [PATCH v15 08/16] graph: introduce graph clone API for other worker core Zhirun Yan
2023-06-14 15:58 ` [PATCH v15 09/16] graph: add structure for stream moving between cores Zhirun Yan
2023-06-14 15:58 ` [PATCH v15 10/16] graph: introduce stream moving cross cores Zhirun Yan
2023-06-14 15:58 ` [PATCH v15 11/16] graph: enable create and destroy graph scheduling workqueue Zhirun Yan
2023-06-14 15:58 ` [PATCH v15 12/16] graph: introduce graph walk by cross-core dispatch Zhirun Yan
2023-06-14 15:58 ` [PATCH v15 13/16] graph: enable graph multicore dispatch scheduler model Zhirun Yan
2023-06-14 15:59 ` [PATCH v15 14/16] graph: add stats for mcore dispatch model Zhirun Yan
2023-06-14 15:59 ` [PATCH v15 15/16] test/graph: add functional tests " Zhirun Yan
2023-06-14 15:59 ` [PATCH v15 16/16] examples/l3fwd-graph: introduce mcore dispatch worker model Zhirun Yan
2023-06-19 20:45 ` [PATCH v15 00/16] graph enhancement for multi-core dispatch David Marchand
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230613140445.2155542-8-zhirun.yan@intel.com \
--to=zhirun.yan@intel.com \
--cc=cunming.liang@intel.com \
--cc=david.marchand@redhat.com \
--cc=dev@dpdk.org \
--cc=haiyue.wang@intel.com \
--cc=jerinj@marvell.com \
--cc=jerinjacobk@gmail.com \
--cc=kirankumark@marvell.com \
--cc=mattias.ronnblom@ericsson.com \
--cc=ndabilpuram@marvell.com \
--cc=pbhagavatula@marvell.com \
--cc=stephen@networkplumber.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).