get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/patches/132984/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 132984,
    "url": "http://patches.dpdk.org/api/patches/132984/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20231019105000.520914-13-skori@marvell.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": "<20231019105000.520914-13-skori@marvell.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20231019105000.520914-13-skori@marvell.com",
    "date": "2023-10-19T10:50:00",
    "name": "[v10,12/12] app/graph: support l3fwd use case",
    "commit_ref": null,
    "pull_url": null,
    "state": "changes-requested",
    "archived": true,
    "hash": "fafbfd5a0748f2f277369ae7b128ad2f68a16de0",
    "submitter": {
        "id": 1318,
        "url": "http://patches.dpdk.org/api/people/1318/?format=api",
        "name": "Sunil Kumar Kori",
        "email": "skori@marvell.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/20231019105000.520914-13-skori@marvell.com/mbox/",
    "series": [
        {
            "id": 29919,
            "url": "http://patches.dpdk.org/api/series/29919/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=29919",
            "date": "2023-10-19T10:49:48",
            "name": "add CLI based graph application",
            "version": 10,
            "mbox": "http://patches.dpdk.org/series/29919/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/132984/comments/",
    "check": "fail",
    "checks": "http://patches.dpdk.org/api/patches/132984/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 ECC06431A9;\n\tThu, 19 Oct 2023 12:51:56 +0200 (CEST)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 30AE942DD7;\n\tThu, 19 Oct 2023 12:50:34 +0200 (CEST)",
            "from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com\n [67.231.148.174])\n by mails.dpdk.org (Postfix) with ESMTP id 6C8DF4021F\n for <dev@dpdk.org>; Thu, 19 Oct 2023 12:50:32 +0200 (CEST)",
            "from pps.filterd (m0045849.ppops.net [127.0.0.1])\n by mx0a-0016f401.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id\n 39J01XJu008186 for <dev@dpdk.org>; Thu, 19 Oct 2023 03:50:31 -0700",
            "from dc5-exch02.marvell.com ([199.233.59.182])\n by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3ttshua3f7-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT)\n for <dev@dpdk.org>; Thu, 19 Oct 2023 03:50:31 -0700",
            "from DC5-EXCH02.marvell.com (10.69.176.39) by DC5-EXCH02.marvell.com\n (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.48;\n Thu, 19 Oct 2023 03:50:29 -0700",
            "from maili.marvell.com (10.69.176.80) by DC5-EXCH02.marvell.com\n (10.69.176.39) with Microsoft SMTP Server id 15.0.1497.48 via Frontend\n Transport; Thu, 19 Oct 2023 03:50:29 -0700",
            "from localhost.localdomain (unknown [10.28.34.25])\n by maili.marvell.com (Postfix) with ESMTP id 4BD5F5B6953;\n Thu, 19 Oct 2023 03:50:28 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com;\n h=from : to : cc :\n subject : date : message-id : in-reply-to : references : mime-version :\n content-transfer-encoding : content-type; s=pfpt0220;\n bh=ULZAR6BGQfnae8ewoEuNRUBQAcpdUF64Cif1TGhsESA=;\n b=H6VEB9P8I8D3291h0Uft4KhWDhZZoMh9I4o0t+pnC1TdMme69oKa9wosHRGDTS9Imu8r\n KN9ZkOX4YK/65dYFAHEJrbB94DeZnXIMBCzIMbITqVDdsGrdyqBHykSMQkRMm5TJeMnr\n LBaWP7nMwKQEN1NftqqrpaATknxZCAfxOUK3dg4of1Dk48vhYH3g0Bp9FgAkZmwP9dNJ\n zbBaNzkk+jdsqPMpXn3b3IgFzunFrB7INmOLjKgv78PiqpmPGYE/78hUNbK+Xdf9WajS\n hNvzc+M7/+pOTZRZ5XqQP8VqF0cT2R9OgS/cLnCBJABu5QtgxBcyXt4x/xnXLuOdY8zj 9Q==",
        "From": "<skori@marvell.com>",
        "To": "Sunil Kumar Kori <skori@marvell.com>, Rakesh Kudurumalla\n <rkudurumalla@marvell.com>",
        "CC": "<dev@dpdk.org>",
        "Subject": "[PATCH v10 12/12] app/graph: support l3fwd use case",
        "Date": "Thu, 19 Oct 2023 16:20:00 +0530",
        "Message-ID": "<20231019105000.520914-13-skori@marvell.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "In-Reply-To": "<20231019105000.520914-1-skori@marvell.com>",
        "References": "<20231018063347.68081-13-skori@marvell.com>\n <20231019105000.520914-1-skori@marvell.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Content-Type": "text/plain",
        "X-Proofpoint-GUID": "ptuyqzFVMChvKmwRtnOM1VhEsVCAA0W_",
        "X-Proofpoint-ORIG-GUID": "ptuyqzFVMChvKmwRtnOM1VhEsVCAA0W_",
        "X-Proofpoint-Virus-Version": "vendor=baseguard\n engine=ICAP:2.0.272,Aquarius:18.0.980,Hydra:6.0.619,FMLib:17.11.176.26\n definitions=2023-10-19_08,2023-10-19_01,2023-05-22_02",
        "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": "From: Rakesh Kudurumalla <rkudurumalla@marvell.com>\n\nAdds an use case l3fwd. It contains a dedicated l3fwd.cli file\nmentioning commands to configure the required resources.\n\nOnce application successfully parses the l3fwd.cli then a graph is\ncreated having below nodes:\n - ethdev_rx -> pkt_cls\n\n - pkt_cls -> ip4_lookup\n - pkt_cls -> ip6_lookup\n - pkt_cls -> pkt_drop\n\n - ip4_lookup -> ip4_rewrite\n - ip4_lookup -> pkt_drop\n\n - ip6_lookup -> ip6_rewrite\n - ip6_lookup -> pkt_drop\n\n - ip4_rewrite -> ethdev_tx\n - ip4_rewrite -> pkt_drop\n\n - ip6_rewrite -> ethdev_tx\n - ip6_rewrite -> pkt_drop\n\n - ethdev_tx -> pkt_drop\n\nSigned-off-by: Sunil Kumar Kori <skori@marvell.com>\nSigned-off-by: Rakesh Kudurumalla <rkudurumalla@marvell.com>\n---\n app/graph/examples/l3fwd.cli                 |  73 +++++++\n app/graph/examples/l3fwd_pcap.cli            |  71 +++++++\n app/graph/graph.c                            |   2 +-\n app/graph/l3fwd.c                            | 136 ++++++++++++\n app/graph/l3fwd.h                            |  11 +\n app/graph/meson.build                        |   1 +\n app/graph/module_api.h                       |   1 +\n doc/guides/tools/graph.rst                   | 109 ++++++++++\n doc/guides/tools/img/graph-usecase-l3fwd.svg | 210 +++++++++++++++++++\n 9 files changed, 613 insertions(+), 1 deletion(-)\n create mode 100644 app/graph/examples/l3fwd.cli\n create mode 100644 app/graph/examples/l3fwd_pcap.cli\n create mode 100644 app/graph/l3fwd.c\n create mode 100644 app/graph/l3fwd.h\n create mode 100644 doc/guides/tools/img/graph-usecase-l3fwd.svg",
    "diff": "diff --git a/app/graph/examples/l3fwd.cli b/app/graph/examples/l3fwd.cli\nnew file mode 100644\nindex 0000000000..c4977d4322\n--- /dev/null\n+++ b/app/graph/examples/l3fwd.cli\n@@ -0,0 +1,73 @@\n+; SPDX-License-Identifier: BSD-3-Clause\n+; Copyright(c) 2023 Marvell.\n+\n+;\n+; Graph configuration for given usecase\n+;\n+graph l3fwd coremask 0xff bsz 32 tmo 10 model default pcap_enable 1 num_pcap_pkts 100000 pcap_file /tmp/output.pcap\n+\n+;\n+; Mempools to be attached with ethdev\n+;\n+mempool mempool0 size 8192 buffers 4000 cache 256 numa 0\n+\n+;\n+; DPDK devices and configuration.\n+;\n+; Note: Customize the parameters below to match your setup.\n+;\n+ethdev 0002:02:00.0 rxq 1 txq 8 mempool0\n+ethdev 0002:03:00.0 rxq 1 txq 8 mempool0\n+ethdev 0002:02:00.0 mtu 1700\n+ethdev 0002:03:00.0 mtu 1700\n+ethdev 0002:02:00.0 promiscuous on\n+ethdev 0002:03:00.0 promiscuous on\n+\n+;\n+; IPv4 addresses assigned to DPDK devices\n+;\n+ethdev 0002:02:00.0 ip4 addr add 10.0.2.1 netmask 255.255.255.0\n+ethdev 0002:03:00.0 ip4 addr add 20.0.2.1 netmask 255.255.255.0\n+\n+;\n+; IPv6 addresses assigned to DPDK devices\n+;\n+ethdev 0002:02:00.0 ip6 addr add 52:20:DA:4F:68:70:52:20:DA:4F:68:70:52:20:DA:4A netmask FF:FF:FF:FF:FF:FF:FF:FF:FF:00:00:00:00:00:00:00\n+ethdev 0002:03:00.0 ip6 addr add 62:20:DA:4F:68:70:52:20:DA:4F:68:70:52:20:DA:4B netmask FF:FF:FF:FF:FF:FF:FF:FF:FF:00:00:00:00:00:00:00\n+\n+;\n+; IPv4 routes which are installed to ipv4_lookup node for LPM processing\n+;\n+ipv4_lookup route add ipv4 10.0.2.0 netmask 255.255.255.0 via 10.0.2.1\n+ipv4_lookup route add ipv4 20.0.2.0 netmask 255.255.255.0 via 20.0.2.1\n+\n+;\n+; IPv6 routes which are installed to ipv6_lookup node for LPM processing\n+;\n+ipv6_lookup route add ipv6 52:20:DA:4F:68:70:52:20:DA:4F:68:70:52:20:DA:4A netmask FF:FF:FF:FF:FF:FF:FF:FF:FF:00:00:00:00:00:00:00 via 52:20:DA:4F:68:70:52:20:DA:4F:68:70:52:20:DA:4A\n+ipv6_lookup route add ipv6 62:20:DA:4F:68:70:52:20:DA:4F:68:70:52:20:DA:4B netmask FF:FF:FF:FF:FF:FF:FF:FF:FF:00:00:00:00:00:00:00 via 62:20:DA:4F:68:70:52:20:DA:4F:68:70:52:20:DA:4B\n+\n+;\n+; Peer MAC and IPv4 address mapping\n+;\n+neigh add ipv4 10.0.2.2 52:20:DA:4F:68:70\n+neigh add ipv4 20.0.2.2 62:20:DA:4F:68:70\n+\n+;\n+; Peer MAC and IPv6 address mapping\n+;\n+neigh add ipv6 52:20:DA:4F:68:70:52:20:DA:4F:68:70:52:20:DA:4A 52:20:DA:4F:68:70\n+neigh add ipv6 62:20:DA:4F:68:70:52:20:DA:4F:68:70:52:20:DA:4B 62:20:DA:4F:68:70\n+\n+;\n+; Port-Queue-Core mapping for ethdev_rx node\n+;\n+ethdev_rx map port 0002:02:00.0 queue 0 core 1\n+ethdev_rx map port 0002:03:00.0 queue 0 core 2\n+\n+;\n+; Graph start command to create graph.\n+;\n+; Note: No more command should come after this.\n+;\n+graph start\ndiff --git a/app/graph/examples/l3fwd_pcap.cli b/app/graph/examples/l3fwd_pcap.cli\nnew file mode 100644\nindex 0000000000..30dde74a65\n--- /dev/null\n+++ b/app/graph/examples/l3fwd_pcap.cli\n@@ -0,0 +1,71 @@\n+; SPDX-License-Identifier: BSD-3-Clause\n+; Copyright(c) 2023 Marvell.\n+\n+;\n+; Graph configuration for given usecase\n+;\n+graph l3fwd coremask 0x03 bsz 32 tmo 10 model default pcap_enable 1 num_pcap_pkts 100000 pcap_file /tmp/output.pcap\n+\n+;\n+; Mempools to be attached with ethdev\n+;\n+mempool mempool0 size 8192 buffers 4000 cache 256 numa 0\n+\n+;\n+; DPDK devices and configuration.\n+;\n+; Note: Customize the parameters below to match your setup.\n+;\n+ethdev net_pcap0 rxq 1 txq 1 mempool0\n+ethdev net_pcap1 rxq 1 txq 1 mempool0\n+ethdev net_pcap0 promiscuous on\n+ethdev net_pcap1 promiscuous on\n+\n+;\n+; IPv4 addresses assigned to DPDK devices\n+;\n+ethdev net_pcap0 ip4 addr add 10.0.2.1 netmask 255.255.255.0\n+ethdev net_pcap1 ip4 addr add 20.0.2.1 netmask 255.255.255.0\n+\n+;\n+; IPv6 addresses assigned to DPDK devices\n+;\n+ethdev net_pcap0 ip6 addr add 52:20:DA:4F:68:70:52:20:DA:4F:68:70:52:20:DA:4A netmask FF:FF:FF:FF:FF:FF:FF:FF:FF:00:00:00:00:00:00:00\n+ethdev net_pcap1 ip6 addr add 62:20:DA:4F:68:70:52:20:DA:4F:68:70:52:20:DA:4B netmask FF:FF:FF:FF:FF:FF:FF:FF:FF:00:00:00:00:00:00:00\n+\n+;\n+; IPv4 routes which are installed to ipv4_lookup node for LPM processing\n+;\n+ipv4_lookup route add ipv4 10.0.2.0 netmask 255.255.255.0 via 10.0.2.1\n+ipv4_lookup route add ipv4 20.0.2.0 netmask 255.255.255.0 via 20.0.2.1\n+\n+;\n+; IPv6 routes which are installed to ipv6_lookup node for LPM processing\n+;\n+ipv6_lookup route add ipv6 52:20:DA:4F:68:70:52:20:DA:4F:68:70:52:20:DA:4A netmask FF:FF:FF:FF:FF:FF:FF:FF:FF:00:00:00:00:00:00:00 via 52:20:DA:4F:68:70:52:20:DA:4F:68:70:52:20:DA:4A\n+ipv6_lookup route add ipv6 62:20:DA:4F:68:70:52:20:DA:4F:68:70:52:20:DA:4B netmask FF:FF:FF:FF:FF:FF:FF:FF:FF:00:00:00:00:00:00:00 via 62:20:DA:4F:68:70:52:20:DA:4F:68:70:52:20:DA:4B\n+\n+;\n+; Peer MAC and IPv4 address mapping\n+;\n+neigh add ipv4 10.0.2.2 52:20:DA:4F:68:70\n+neigh add ipv4 20.0.2.2 62:20:DA:4F:68:70\n+\n+;\n+; Peer MAC and IPv6 address mapping\n+;\n+neigh add ipv6 52:20:DA:4F:68:70:52:20:DA:4F:68:70:52:20:DA:4A 52:20:DA:4F:68:70\n+neigh add ipv6 62:20:DA:4F:68:70:52:20:DA:4F:68:70:52:20:DA:4B 62:20:DA:4F:68:70\n+\n+;\n+; Port-Queue-Core mapping for ethdev_rx node\n+;\n+ethdev_rx map port net_pcap0 queue 0 core 1\n+ethdev_rx map port net_pcap1 queue 0 core 1\n+\n+;\n+; Graph start command to create graph.\n+;\n+; Note: No more command should come after this.\n+;\n+graph start\ndiff --git a/app/graph/graph.c b/app/graph/graph.c\nindex 4396f02da5..496105eef1 100644\n--- a/app/graph/graph.c\n+++ b/app/graph/graph.c\n@@ -269,7 +269,7 @@ cli_graph_start(__rte_unused void *parsed_result, __rte_unused struct cmdline *c\n \tfor (i = 0; i < MAX_GRAPH_USECASES; i++) {\n \t\tif (!strcmp(graph_config.usecases[i].name, \"l3fwd\")) {\n \t\t\tif (graph_config.usecases[i].enabled) {\n-\t\t\t\tRTE_SET_USED(conf);\n+\t\t\t\trc  = usecase_l3fwd_configure(conf, nb_conf, nb_graphs);\n \t\t\t\tbreak;\n \t\t\t}\n \t\t}\ndiff --git a/app/graph/l3fwd.c b/app/graph/l3fwd.c\nnew file mode 100644\nindex 0000000000..a2648df27d\n--- /dev/null\n+++ b/app/graph/l3fwd.c\n@@ -0,0 +1,136 @@\n+/* SPDX-License-Identifier: BSD-3-Clause\n+ * Copyright(c) 2023 Marvell.\n+ */\n+\n+#include <errno.h>\n+#include <stdbool.h>\n+#include <stdint.h>\n+#include <stdio.h>\n+#include <stdlib.h>\n+#include <string.h>\n+\n+#include <rte_common.h>\n+#include <rte_ethdev.h>\n+#include <rte_graph.h>\n+#include <rte_graph_worker.h>\n+#include <rte_lcore.h>\n+#include <rte_node_eth_api.h>\n+\n+#include \"module_api.h\"\n+\n+static int\n+l3fwd_pattern_configure(void)\n+{\n+\t/* Graph initialization. 8< */\n+\tstatic const char * const default_patterns[] = {\n+\t\t\"ip4*\",\n+\t\t\"ethdev_tx-*\",\n+\t\t\"pkt_drop\",\n+\t};\n+\tstruct rte_graph_param graph_conf;\n+\tconst char **node_patterns;\n+\tuint64_t pcap_pkts_count;\n+\tstruct lcore_conf *qconf;\n+\tuint16_t nb_patterns;\n+\tuint8_t pcap_ena;\n+\tint rc, lcore_id;\n+\tchar *pcap_file;\n+\n+\tnb_patterns = RTE_DIM(default_patterns);\n+\tnode_patterns = malloc((ETHDEV_RX_QUEUE_PER_LCORE_MAX + nb_patterns) *\n+\t\t\tsizeof(*node_patterns));\n+\tif (!node_patterns)\n+\t\treturn -ENOMEM;\n+\tmemcpy(node_patterns, default_patterns,\n+\t\t\tnb_patterns * sizeof(*node_patterns));\n+\n+\tmemset(&graph_conf, 0, sizeof(graph_conf));\n+\tgraph_conf.node_patterns = node_patterns;\n+\n+\t/* Pcap config */\n+\tgraph_pcap_config_get(&pcap_ena, &pcap_pkts_count, &pcap_file);\n+\tgraph_conf.pcap_enable = pcap_ena;\n+\tgraph_conf.num_pkt_to_capture = pcap_pkts_count;\n+\tgraph_conf.pcap_filename = strdup(pcap_file);\n+\n+\tfor (lcore_id = 0; lcore_id < RTE_MAX_LCORE; lcore_id++) {\n+\t\trte_graph_t graph_id;\n+\t\trte_edge_t i;\n+\n+\t\tif (rte_lcore_is_enabled(lcore_id) == 0)\n+\t\t\tcontinue;\n+\n+\t\tqconf = &lcore_conf[lcore_id];\n+\n+\t\t/* Skip graph creation if no source exists */\n+\t\tif (!qconf->n_rx_queue)\n+\t\t\tcontinue;\n+\n+\t\t/* Add rx node patterns of this lcore */\n+\t\tfor (i = 0; i < qconf->n_rx_queue; i++) {\n+\t\t\tgraph_conf.node_patterns[nb_patterns + i] =\n+\t\t\t\tqconf->rx_queue_list[i].node_name;\n+\t\t}\n+\n+\t\tgraph_conf.nb_node_patterns = nb_patterns + i;\n+\t\tgraph_conf.socket_id = rte_lcore_to_socket_id(lcore_id);\n+\n+\t\tsnprintf(qconf->name, sizeof(qconf->name), \"worker_%u\",\n+\t\t\t\tlcore_id);\n+\n+\t\tgraph_id = rte_graph_create(qconf->name, &graph_conf);\n+\t\tif (graph_id == RTE_GRAPH_ID_INVALID)\n+\t\t\trte_exit(EXIT_FAILURE,\n+\t\t\t\t\t\"rte_graph_create(): graph_id invalid\"\n+\t\t\t\t\t\" for lcore %u\\n\", lcore_id);\n+\n+\t\tqconf->graph_id = graph_id;\n+\t\tqconf->graph = rte_graph_lookup(qconf->name);\n+\t\t/* >8 End of graph initialization. */\n+\t\tif (!qconf->graph)\n+\t\t\trte_exit(EXIT_FAILURE,\n+\t\t\t\t\t\"rte_graph_lookup(): graph %s not found\\n\",\n+\t\t\t\t\tqconf->name);\n+\t}\n+\n+\trc = route_ip4_add_to_lookup();\n+\tif (rc < 0)\n+\t\trte_exit(EXIT_FAILURE, \"Unable to add v4 route to lookup table\\n\");\n+\n+\trc = route_ip6_add_to_lookup();\n+\tif (rc < 0)\n+\t\trte_exit(EXIT_FAILURE, \"Unable to add v6 route to lookup table\\n\");\n+\n+\trc = neigh_ip4_add_to_rewrite();\n+\tif (rc < 0)\n+\t\trte_exit(EXIT_FAILURE, \"Unable to add v4 to rewrite node\\n\");\n+\n+\trc = neigh_ip6_add_to_rewrite();\n+\tif (rc < 0)\n+\t\trte_exit(EXIT_FAILURE, \"Unable to add v6 to rewrite node\\n\");\n+\n+\t/* Launch per-lcore init on every worker lcore */\n+\trte_eal_mp_remote_launch(graph_walk_start, NULL, SKIP_MAIN);\n+\n+\t/* Accumulate and print stats on main until exit */\n+\tif (rte_graph_has_stats_feature() && app_graph_stats_enabled())\n+\t\tgraph_stats_print();\n+\n+\treturn rc;\n+}\n+\n+int\n+usecase_l3fwd_configure(struct rte_node_ethdev_config *conf, uint16_t nb_confs, uint16_t nb_graphs)\n+{\n+\tint rc;\n+\n+\trc = rte_node_eth_config(conf, nb_confs, nb_graphs);\n+\tif (rc)\n+\t\trte_exit(EXIT_FAILURE, \"rte_node_eth_config: err=%d\\n\", rc);\n+\n+\trc = l3fwd_pattern_configure();\n+\tif (rc)\n+\t\trte_exit(EXIT_FAILURE, \"l3fwd_pattern_failure: err=%d\\n\", rc);\n+\n+\treturn rc;\n+}\ndiff --git a/app/graph/l3fwd.h b/app/graph/l3fwd.h\nnew file mode 100644\nindex 0000000000..e1d23165e6\n--- /dev/null\n+++ b/app/graph/l3fwd.h\n@@ -0,0 +1,11 @@\n+/* SPDX-License-Identifier: BSD-3-Clause\n+ * Copyright(c) 2023 Marvell.\n+ */\n+\n+#ifndef APP_GRAPH_L3FWD_H\n+#define APP_GRAPH_L3FWD_H\n+\n+int usecase_l3fwd_configure(struct rte_node_ethdev_config *conf, uint16_t nb_conf,\n+\t\t\t    uint16_t nb_graphs);\n+\n+#endif\ndiff --git a/app/graph/meson.build b/app/graph/meson.build\nindex 15d16a302e..5b0f966d99 100644\n--- a/app/graph/meson.build\n+++ b/app/graph/meson.build\n@@ -17,6 +17,7 @@ sources = files(\n         'graph.c',\n         'ip4_route.c',\n         'ip6_route.c',\n+        'l3fwd.c',\n         'main.c',\n         'mempool.c',\n         'neigh.c',\ndiff --git a/app/graph/module_api.h b/app/graph/module_api.h\nindex a7d287f5c8..7193e0b616 100644\n--- a/app/graph/module_api.h\n+++ b/app/graph/module_api.h\n@@ -13,6 +13,7 @@\n #include \"ethdev.h\"\n #include \"ethdev_rx.h\"\n #include \"graph.h\"\n+#include \"l3fwd.h\"\n #include \"mempool.h\"\n #include \"neigh.h\"\n #include \"route.h\"\ndiff --git a/doc/guides/tools/graph.rst b/doc/guides/tools/graph.rst\nindex 0be4a09a9a..2fd150052c 100644\n--- a/doc/guides/tools/graph.rst\n+++ b/doc/guides/tools/graph.rst\n@@ -12,6 +12,14 @@ Based on the input file, application creates a graph to cater the use case.\n \n Also this application framework can be used by other graph based applications.\n \n+Supported Use cases\n+-------------------\n+ * l3fwd\n+\n+This use case is supported for both PF and PCAP network devices. To demonstrate,\n+corresponding .cli files are available at ``<dpdk_root_dir/app/graph/examples/>``\n+named as ``l3fwd.cli`` and  ``l3fwd_pcap.cli`` respectively.\n+\n Running the Application\n -----------------------\n \n@@ -63,6 +71,26 @@ Following are the application command-line options:\n \n        Dumps application usage\n \n+Examples\n+~~~~~~~~\n+\n+For PF devices\n+\n+.. code-block:: console\n+\n+   ./dpdk-graph -c 0xff -a 0002:02:00.0 -a 0002:03:00.0 --\n+             -s <dpdk_root_dir>/app/graph/examples/l3fwd.cli\n+\n+For net_pcapX devices\n+\n+.. code-block:: console\n+\n+   ./dpdk-graph -c 0xff --vdev=net_pcap0,rx_pcap=in_net_pcap0.pcap,tx_pcap=out_net_pcap1.pcap\n+                        --vdev=net_pcap1,rx_pcap=in_net_pcap1.pcap,tx_pcap=out_net_pcap0.pcap\n+                        -- -s <dpdk_root_dir>/app/graph/examples/l3fwd_pcap.cli\n+\n+Refer section :ref:`verifying_traffic` to create .pcap file used here.\n+\n Supported CLI commands\n ----------------------\n \n@@ -223,3 +251,84 @@ Created graph for use case\n \n On the successful execution of ``<usecase>.cli`` file, corresponding graph will be created.\n This section mentions the created graph for each use case.\n+\n+l3fwd\n+~~~~~\n+\n+.. _figure_l3fwd_graph:\n+\n+.. figure:: img/graph-usecase-l3fwd.*\n+\n+.. _verifying_traffic:\n+\n+Verifying traffic\n+~~~~~~~~~~~~~~~~~\n+\n+``l3fwd.cli`` and ``l3fwd_pcap.cli`` creates setup with two network ports. Routing between\n+these ports are done by lookup node routing information. For current use case, following\n+routing table is used:\n+\n+.. code-block:: console\n+\n+   DIP        port\n+   10.0.2.2    1\n+   20.0.2.2    0\n+\n+On the successful execution of ``l3fwd.cli`` or ``l3fwd_pcap.cli``, user needs to send traffic\n+with mentioned DIP.\n+\n+For net_pcapX devices, required pcap file should be created and passed to application. These\n+pcap files can be created in several ways. Scapy is one of the method to get the same:\n+\n+.. code-block:: console\n+\n+   # scapy\n+\n+                     aSPY//YASa\n+             apyyyyCY//////////YCa       |\n+            sY//////YSpcs  scpCY//Pp     | Welcome to Scapy\n+    ayp ayyyyyyySCP//Pp           syY//C    | Version 2.4.3\n+    AYAsAYYYYYYYY///Ps              cY//S   |\n+         pCCCCY//p          cSSps y//Y   | https://github.com/secdev/scapy\n+         SPPPP///a          pP///AC//Y   |\n+              A//A            cyP////C   | Have fun!\n+              p///Ac            sC///a   |\n+              P////YCpc           A//A   | We are in France, we say Skappee.\n+       scccccp///pSP///p          p//Y   | OK? Merci.\n+      sY/////////y  caa           S//P   |             -- Sebastien Chabal\n+       cayCyayP//Ya              pY/Ya   |\n+        sY/PsY////YCc          aC//Yp\n+         sc  sccaCY//PCypaapyCP//YSs\n+                  spCPY//////YPSps\n+                       ccaacs\n+                                       using IPython 7.13.0\n+   >>>\n+   >>>\n+   >>> pkts=[Ether(dst=\"FA:09:F9:D7:E0:9D\", src=\"10:70:1d:2f:42:2d\")/IP(src=\"28.0.0.1\", dst=\"10.0.2.2\"),\n+             Ether(dst=\"FA:09:F9:D7:E0:9D\", src=\"10:70:1d:2f:42:2d\")/IP(src=\"28.0.0.1\", dst=\"10.0.2.2\"),\n+             Ether(dst=\"FA:09:F9:D7:E0:9D\", src=\"10:70:1d:2f:42:2d\")/IP(src=\"28.0.0.1\", dst=\"10.0.2.2\"),\n+             Ether(dst=\"FA:09:F9:D7:E0:9D\", src=\"10:70:1d:2f:42:2d\")/IP(src=\"28.0.0.1\", dst=\"10.0.2.2\"),\n+             Ether(dst=\"FA:09:F9:D7:E0:9D\", src=\"10:70:1d:2f:42:2d\")/IP(src=\"28.0.0.1\", dst=\"10.0.2.2\"),\n+             Ether(dst=\"FA:09:F9:D7:E0:9D\", src=\"10:70:1d:2f:42:2d\")/IP(src=\"28.0.0.1\", dst=\"10.0.2.2\"),\n+             Ether(dst=\"FA:09:F9:D7:E0:9D\", src=\"10:70:1d:2f:42:2d\")/IP(src=\"28.0.0.1\", dst=\"10.0.2.2\"),\n+             Ether(dst=\"FA:09:F9:D7:E0:9D\", src=\"10:70:1d:2f:42:2d\")/IP(src=\"28.0.0.1\", dst=\"10.0.2.2\"),\n+             Ether(dst=\"FA:09:F9:D7:E0:9D\", src=\"10:70:1d:2f:42:2d\")/IP(src=\"28.0.0.1\", dst=\"10.0.2.2\"),\n+             Ether(dst=\"FA:09:F9:D7:E0:9D\", src=\"10:70:1d:2f:42:2d\")/IP(src=\"28.0.0.1\", dst=\"10.0.2.2\")]\n+   >>>\n+   >>>wrpcap(\"in_net_pcap1.pcap\",pkts)\n+   >>>\n+   >>>\n+   >>> pkts=[Ether(dst=\"FA:09:F9:D7:E0:9D\", src=\"10:70:1d:2f:42:2d\")/IP(src=\"29.0.0.1\", dst=\"20.0.2.2\"),\n+             Ether(dst=\"FA:09:F9:D7:E0:9D\", src=\"10:70:1d:2f:42:2d\")/IP(src=\"29.0.0.1\", dst=\"20.0.2.2\"),\n+             Ether(dst=\"FA:09:F9:D7:E0:9D\", src=\"10:70:1d:2f:42:2d\")/IP(src=\"29.0.0.1\", dst=\"20.0.2.2\"),\n+             Ether(dst=\"FA:09:F9:D7:E0:9D\", src=\"10:70:1d:2f:42:2d\")/IP(src=\"29.0.0.1\", dst=\"20.0.2.2\"),\n+             Ether(dst=\"FA:09:F9:D7:E0:9D\", src=\"10:70:1d:2f:42:2d\")/IP(src=\"29.0.0.1\", dst=\"20.0.2.2\"),\n+             Ether(dst=\"FA:09:F9:D7:E0:9D\", src=\"10:70:1d:2f:42:2d\")/IP(src=\"29.0.0.1\", dst=\"20.0.2.2\"),\n+             Ether(dst=\"FA:09:F9:D7:E0:9D\", src=\"10:70:1d:2f:42:2d\")/IP(src=\"29.0.0.1\", dst=\"20.0.2.2\"),\n+             Ether(dst=\"FA:09:F9:D7:E0:9D\", src=\"10:70:1d:2f:42:2d\")/IP(src=\"29.0.0.1\", dst=\"20.0.2.2\"),\n+             Ether(dst=\"FA:09:F9:D7:E0:9D\", src=\"10:70:1d:2f:42:2d\")/IP(src=\"29.0.0.1\", dst=\"20.0.2.2\"),\n+             Ether(dst=\"FA:09:F9:D7:E0:9D\", src=\"10:70:1d:2f:42:2d\")/IP(src=\"28.0.0.1\", dst=\"20.0.2.2\")]\n+   >>>\n+   >>>wrpcap(\"in_net_pcap0.pcap\",pkts)\n+   >>>\n+   >>> quit\ndiff --git a/doc/guides/tools/img/graph-usecase-l3fwd.svg b/doc/guides/tools/img/graph-usecase-l3fwd.svg\nnew file mode 100644\nindex 0000000000..3b991c4cf0\n--- /dev/null\n+++ b/doc/guides/tools/img/graph-usecase-l3fwd.svg\n@@ -0,0 +1,210 @@\n+<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n+<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG 1.1//EN\"\n+ \"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\">\n+<!-- Generated by graphviz version 2.43.0 (0)\n+ -->\n+<!-- SPDX-License-Identifier: BSD-3-Clause -->\n+<!-- Copyright(C) 2023 Marvell. -->\n+<!--\n+\n+Generated with following command\n+dot -Tsvg dot.dot -o doc/guides/tools/img/graph-usecase-l3fwd.svg\n+\n+cat dot.dot\n+digraph dpdk_app_graph_l3fwd_nodes_flow {\n+    ingress_port [shape=rect]\n+    ethdev_rx\n+    pkt_cls\n+    ip4_lookup\n+    ip6_lookup\n+    ip4_rewrite\n+    ip6_rewrite\n+    ethdev_tx\n+    pkt_drop\n+    egress_port  [shape=rect]\n+\n+    ingress_port -> ethdev_rx [label=\"ingress packet\"]\n+\n+    ethdev_rx -> pkt_cls\n+\n+    pkt_cls -> ip4_lookup [color=\"green\"]\n+    pkt_cls -> ip6_lookup [color=\"blue\"]\n+    pkt_cls -> pkt_drop   [color=\"red\" style=\"dashed\"]\n+\n+    ip4_lookup -> ip4_rewrite [color=\"green\"]\n+    ip4_lookup -> pkt_drop [color=\"red\" style=\"dashed\"]\n+\n+    ip6_lookup -> ip6_rewrite [color=\"blue\"]\n+    ip6_lookup -> pkt_drop [color=\"red\" style=\"dashed\"]\n+\n+    ip4_rewrite -> ethdev_tx [color=\"green\"]\n+    ip4_rewrite -> pkt_drop  [color=\"red\" style=\"dashed\"]\n+\n+    ip6_rewrite -> ethdev_tx [color=\"blue\"]\n+    ip6_rewrite -> pkt_drop  [color=\"red\" style=\"dashed\"]\n+\n+    ethdev_tx -> egress_port [label=\"egress packet\"]\n+    ethdev_tx -> pkt_drop [color=\"red\" style=\"dashed\"]\n+}\n+\n+ -->\n+<!-- Title: dpdk_app_graph_l3fwd_nodes_flow Pages: 1 -->\n+<svg width=\"550pt\" height=\"510pt\"\n+ viewBox=\"0.00 0.00 549.50 510.00\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n+<g id=\"graph0\" class=\"graph\" transform=\"scale(1 1) rotate(0) translate(4 506)\">\n+<title>dpdk_app_graph_l3fwd_nodes_flow</title>\n+<polygon fill=\"white\" stroke=\"transparent\" points=\"-4,4 -4,-506 545.5,-506 545.5,4 -4,4\"/>\n+<!-- ingress_port -->\n+<g id=\"node1\" class=\"node\">\n+<title>ingress_port</title>\n+<polygon fill=\"none\" stroke=\"black\" points=\"489.5,-502 383.5,-502 383.5,-466 489.5,-466 489.5,-502\"/>\n+<text text-anchor=\"middle\" x=\"436.5\" y=\"-480.3\" font-family=\"Times,serif\" font-size=\"14.00\">ingress_port</text>\n+</g>\n+<!-- ethdev_rx -->\n+<g id=\"node2\" class=\"node\">\n+<title>ethdev_rx</title>\n+<ellipse fill=\"none\" stroke=\"black\" cx=\"436.5\" cy=\"-397\" rx=\"56.59\" ry=\"18\"/>\n+<text text-anchor=\"middle\" x=\"436.5\" y=\"-393.3\" font-family=\"Times,serif\" font-size=\"14.00\">ethdev_rx</text>\n+</g>\n+<!-- ingress_port&#45;&gt;ethdev_rx -->\n+<g id=\"edge1\" class=\"edge\">\n+<title>ingress_port&#45;&gt;ethdev_rx</title>\n+<path fill=\"none\" stroke=\"black\" d=\"M436.5,-465.8C436.5,-454.16 436.5,-438.55 436.5,-425.24\"/>\n+<polygon fill=\"black\" stroke=\"black\" points=\"440,-425.18 436.5,-415.18 433,-425.18 440,-425.18\"/>\n+<text text-anchor=\"middle\" x=\"489\" y=\"-436.8\" font-family=\"Times,serif\" font-size=\"14.00\">ingress packet</text>\n+</g>\n+<!-- pkt_cls -->\n+<g id=\"node3\" class=\"node\">\n+<title>pkt_cls</title>\n+<ellipse fill=\"none\" stroke=\"black\" cx=\"436.5\" cy=\"-324\" rx=\"42.79\" ry=\"18\"/>\n+<text text-anchor=\"middle\" x=\"436.5\" y=\"-320.3\" font-family=\"Times,serif\" font-size=\"14.00\">pkt_cls</text>\n+</g>\n+<!-- ethdev_rx&#45;&gt;pkt_cls -->\n+<g id=\"edge2\" class=\"edge\">\n+<title>ethdev_rx&#45;&gt;pkt_cls</title>\n+<path fill=\"none\" stroke=\"black\" d=\"M436.5,-378.81C436.5,-370.79 436.5,-361.05 436.5,-352.07\"/>\n+<polygon fill=\"black\" stroke=\"black\" points=\"440,-352.03 436.5,-342.03 433,-352.03 440,-352.03\"/>\n+</g>\n+<!-- ip4_lookup -->\n+<g id=\"node4\" class=\"node\">\n+<title>ip4_lookup</title>\n+<ellipse fill=\"none\" stroke=\"black\" cx=\"436.5\" cy=\"-251\" rx=\"60.39\" ry=\"18\"/>\n+<text text-anchor=\"middle\" x=\"436.5\" y=\"-247.3\" font-family=\"Times,serif\" font-size=\"14.00\">ip4_lookup</text>\n+</g>\n+<!-- pkt_cls&#45;&gt;ip4_lookup -->\n+<g id=\"edge3\" class=\"edge\">\n+<title>pkt_cls&#45;&gt;ip4_lookup</title>\n+<path fill=\"none\" stroke=\"green\" d=\"M436.5,-305.81C436.5,-297.79 436.5,-288.05 436.5,-279.07\"/>\n+<polygon fill=\"green\" stroke=\"green\" points=\"440,-279.03 436.5,-269.03 433,-279.03 440,-279.03\"/>\n+</g>\n+<!-- ip6_lookup -->\n+<g id=\"node5\" class=\"node\">\n+<title>ip6_lookup</title>\n+<ellipse fill=\"none\" stroke=\"black\" cx=\"297.5\" cy=\"-251\" rx=\"60.39\" ry=\"18\"/>\n+<text text-anchor=\"middle\" x=\"297.5\" y=\"-247.3\" font-family=\"Times,serif\" font-size=\"14.00\">ip6_lookup</text>\n+</g>\n+<!-- pkt_cls&#45;&gt;ip6_lookup -->\n+<g id=\"edge4\" class=\"edge\">\n+<title>pkt_cls&#45;&gt;ip6_lookup</title>\n+<path fill=\"none\" stroke=\"blue\" d=\"M410.36,-309.65C389.39,-298.94 359.66,-283.75 335.97,-271.65\"/>\n+<polygon fill=\"blue\" stroke=\"blue\" points=\"337.39,-268.45 326.9,-267.02 334.21,-274.68 337.39,-268.45\"/>\n+</g>\n+<!-- pkt_drop -->\n+<g id=\"node9\" class=\"node\">\n+<title>pkt_drop</title>\n+<ellipse fill=\"none\" stroke=\"black\" cx=\"361.5\" cy=\"-18\" rx=\"51.99\" ry=\"18\"/>\n+<text text-anchor=\"middle\" x=\"361.5\" y=\"-14.3\" font-family=\"Times,serif\" font-size=\"14.00\">pkt_drop</text>\n+</g>\n+<!-- pkt_cls&#45;&gt;pkt_drop -->\n+<g id=\"edge5\" class=\"edge\">\n+<title>pkt_cls&#45;&gt;pkt_drop</title>\n+<path fill=\"none\" stroke=\"red\" stroke-dasharray=\"5,2\" d=\"M468.77,-311.93C493.88,-301.02 524.5,-281.64 524.5,-252 524.5,-252 524.5,-252 524.5,-104 524.5,-55.68 467.5,-34.79 420.91,-25.78\"/>\n+<polygon fill=\"red\" stroke=\"red\" points=\"421.31,-22.29 410.85,-23.98 420.08,-29.18 421.31,-22.29\"/>\n+</g>\n+<!-- ip4_rewrite -->\n+<g id=\"node6\" class=\"node\">\n+<title>ip4_rewrite</title>\n+<ellipse fill=\"none\" stroke=\"black\" cx=\"394.5\" cy=\"-178\" rx=\"63.89\" ry=\"18\"/>\n+<text text-anchor=\"middle\" x=\"394.5\" y=\"-174.3\" font-family=\"Times,serif\" font-size=\"14.00\">ip4_rewrite</text>\n+</g>\n+<!-- ip4_lookup&#45;&gt;ip4_rewrite -->\n+<g id=\"edge6\" class=\"edge\">\n+<title>ip4_lookup&#45;&gt;ip4_rewrite</title>\n+<path fill=\"none\" stroke=\"green\" d=\"M426.55,-233.17C421.55,-224.72 415.38,-214.29 409.79,-204.85\"/>\n+<polygon fill=\"green\" stroke=\"green\" points=\"412.78,-203.02 404.67,-196.2 406.75,-206.59 412.78,-203.02\"/>\n+</g>\n+<!-- ip4_lookup&#45;&gt;pkt_drop -->\n+<g id=\"edge7\" class=\"edge\">\n+<title>ip4_lookup&#45;&gt;pkt_drop</title>\n+<path fill=\"none\" stroke=\"red\" stroke-dasharray=\"5,2\" d=\"M449.33,-233.03C456.19,-222.87 463.94,-209.37 467.5,-196 471.62,-180.54 472.57,-175.18 467.5,-160 451.61,-112.41 412.64,-67.99 386.65,-42.17\"/>\n+<polygon fill=\"red\" stroke=\"red\" points=\"388.97,-39.54 379.36,-35.08 384.09,-44.56 388.97,-39.54\"/>\n+</g>\n+<!-- ip6_rewrite -->\n+<g id=\"node7\" class=\"node\">\n+<title>ip6_rewrite</title>\n+<ellipse fill=\"none\" stroke=\"black\" cx=\"210.5\" cy=\"-178\" rx=\"63.89\" ry=\"18\"/>\n+<text text-anchor=\"middle\" x=\"210.5\" y=\"-174.3\" font-family=\"Times,serif\" font-size=\"14.00\">ip6_rewrite</text>\n+</g>\n+<!-- ip6_lookup&#45;&gt;ip6_rewrite -->\n+<g id=\"edge8\" class=\"edge\">\n+<title>ip6_lookup&#45;&gt;ip6_rewrite</title>\n+<path fill=\"none\" stroke=\"blue\" d=\"M277.76,-233.89C266.16,-224.42 251.31,-212.31 238.52,-201.87\"/>\n+<polygon fill=\"blue\" stroke=\"blue\" points=\"240.43,-198.9 230.46,-195.29 236,-204.33 240.43,-198.9\"/>\n+</g>\n+<!-- ip6_lookup&#45;&gt;pkt_drop -->\n+<g id=\"edge9\" class=\"edge\">\n+<title>ip6_lookup&#45;&gt;pkt_drop</title>\n+<path fill=\"none\" stroke=\"red\" stroke-dasharray=\"5,2\" d=\"M302.02,-232.72C306.79,-214.59 314.55,-185.26 321.5,-160 332.39,-120.41 345.45,-74.7 353.61,-46.32\"/>\n+<polygon fill=\"red\" stroke=\"red\" points=\"357.08,-46.92 356.49,-36.34 350.35,-44.98 357.08,-46.92\"/>\n+</g>\n+<!-- ethdev_tx -->\n+<g id=\"node8\" class=\"node\">\n+<title>ethdev_tx</title>\n+<ellipse fill=\"none\" stroke=\"black\" cx=\"249.5\" cy=\"-105\" rx=\"55.79\" ry=\"18\"/>\n+<text text-anchor=\"middle\" x=\"249.5\" y=\"-101.3\" font-family=\"Times,serif\" font-size=\"14.00\">ethdev_tx</text>\n+</g>\n+<!-- ip4_rewrite&#45;&gt;ethdev_tx -->\n+<g id=\"edge10\" class=\"edge\">\n+<title>ip4_rewrite&#45;&gt;ethdev_tx</title>\n+<path fill=\"none\" stroke=\"green\" d=\"M364.1,-162.12C341.96,-151.27 311.81,-136.51 287.98,-124.84\"/>\n+<polygon fill=\"green\" stroke=\"green\" points=\"289.39,-121.63 278.87,-120.38 286.31,-127.92 289.39,-121.63\"/>\n+</g>\n+<!-- ip4_rewrite&#45;&gt;pkt_drop -->\n+<g id=\"edge11\" class=\"edge\">\n+<title>ip4_rewrite&#45;&gt;pkt_drop</title>\n+<path fill=\"none\" stroke=\"red\" stroke-dasharray=\"5,2\" d=\"M390.91,-159.79C385.2,-132.48 374.03,-78.99 367.22,-46.38\"/>\n+<polygon fill=\"red\" stroke=\"red\" points=\"370.56,-45.26 365.09,-36.19 363.71,-46.69 370.56,-45.26\"/>\n+</g>\n+<!-- ip6_rewrite&#45;&gt;ethdev_tx -->\n+<g id=\"edge12\" class=\"edge\">\n+<title>ip6_rewrite&#45;&gt;ethdev_tx</title>\n+<path fill=\"none\" stroke=\"blue\" d=\"M219.74,-160.17C224.34,-151.81 230,-141.51 235.14,-132.14\"/>\n+<polygon fill=\"blue\" stroke=\"blue\" points=\"238.31,-133.65 240.05,-123.2 232.17,-130.28 238.31,-133.65\"/>\n+</g>\n+<!-- ip6_rewrite&#45;&gt;pkt_drop -->\n+<g id=\"edge13\" class=\"edge\">\n+<title>ip6_rewrite&#45;&gt;pkt_drop</title>\n+<path fill=\"none\" stroke=\"red\" stroke-dasharray=\"5,2\" d=\"M197.68,-160.05C184.87,-140.87 169.12,-109.39 184.5,-87 210.62,-48.98 261.18,-32.21 301.59,-24.82\"/>\n+<polygon fill=\"red\" stroke=\"red\" points=\"302.35,-28.24 311.63,-23.13 301.19,-21.33 302.35,-28.24\"/>\n+</g>\n+<!-- ethdev_tx&#45;&gt;pkt_drop -->\n+<g id=\"edge15\" class=\"edge\">\n+<title>ethdev_tx&#45;&gt;pkt_drop</title>\n+<path fill=\"none\" stroke=\"red\" stroke-dasharray=\"5,2\" d=\"M270.3,-88.21C287.91,-74.85 313.31,-55.57 332.84,-40.75\"/>\n+<polygon fill=\"red\" stroke=\"red\" points=\"334.96,-43.54 340.81,-34.7 330.73,-37.96 334.96,-43.54\"/>\n+</g>\n+<!-- egress_port -->\n+<g id=\"node10\" class=\"node\">\n+<title>egress_port</title>\n+<polygon fill=\"none\" stroke=\"black\" points=\"101,-36 0,-36 0,0 101,0 101,-36\"/>\n+<text text-anchor=\"middle\" x=\"50.5\" y=\"-14.3\" font-family=\"Times,serif\" font-size=\"14.00\">egress_port</text>\n+</g>\n+<!-- ethdev_tx&#45;&gt;egress_port -->\n+<g id=\"edge14\" class=\"edge\">\n+<title>ethdev_tx&#45;&gt;egress_port</title>\n+<path fill=\"none\" stroke=\"black\" d=\"M217.08,-90.15C185.34,-76.59 136.54,-55.75 99.95,-40.12\"/>\n+<polygon fill=\"black\" stroke=\"black\" points=\"101.03,-36.78 90.45,-36.07 98.28,-43.21 101.03,-36.78\"/>\n+<text text-anchor=\"middle\" x=\"211.5\" y=\"-57.8\" font-family=\"Times,serif\" font-size=\"14.00\">egress packet</text>\n+</g>\n+</g>\n+</svg>\n",
    "prefixes": [
        "v10",
        "12/12"
    ]
}