Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/65097/?format=api
http://patches.dpdk.org/api/patches/65097/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20200124040542.2360-2-pbhagavatula@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": "<20200124040542.2360-2-pbhagavatula@marvell.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20200124040542.2360-2-pbhagavatula@marvell.com", "date": "2020-01-24T04:05:32", "name": "[v5,01/11] examples/l3fwd: add framework for event device", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "64c7efdd2208e76912f29cad90ee16e1d4003a10", "submitter": { "id": 1183, "url": "http://patches.dpdk.org/api/people/1183/?format=api", "name": "Pavan Nikhilesh Bhagavatula", "email": "pbhagavatula@marvell.com" }, "delegate": { "id": 310, "url": "http://patches.dpdk.org/api/users/310/?format=api", "username": "jerin", "first_name": "Jerin", "last_name": "Jacob", "email": "jerinj@marvell.com" }, "mbox": "http://patches.dpdk.org/project/dpdk/patch/20200124040542.2360-2-pbhagavatula@marvell.com/mbox/", "series": [ { "id": 8280, "url": "http://patches.dpdk.org/api/series/8280/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=8280", "date": "2020-01-24T04:05:31", "name": "example/l3fwd: introduce event device support", "version": 5, "mbox": "http://patches.dpdk.org/series/8280/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/65097/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/65097/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 dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 18B5DA052F;\n\tFri, 24 Jan 2020 05:06:00 +0100 (CET)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id DE27934F3;\n\tFri, 24 Jan 2020 05:05:59 +0100 (CET)", "from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com\n [67.231.148.174]) by dpdk.org (Postfix) with ESMTP id C64E234F3\n for <dev@dpdk.org>; Fri, 24 Jan 2020 05:05:51 +0100 (CET)", "from pps.filterd (m0045849.ppops.net [127.0.0.1])\n by mx0a-0016f401.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id\n 00O3woNg015424; Thu, 23 Jan 2020 20:05:50 -0800", "from sc-exch03.marvell.com ([199.233.58.183])\n by mx0a-0016f401.pphosted.com with ESMTP id 2xq4x4mm1k-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT);\n Thu, 23 Jan 2020 20:05:50 -0800", "from SC-EXCH01.marvell.com (10.93.176.81) by SC-EXCH03.marvell.com\n (10.93.176.83) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 23 Jan\n 2020 20:05:49 -0800", "from maili.marvell.com (10.93.176.43) by SC-EXCH01.marvell.com\n (10.93.176.81) with Microsoft SMTP Server id 15.0.1497.2 via Frontend\n Transport; Thu, 23 Jan 2020 20:05:49 -0800", "from BG-LT7430.marvell.com (bg-lt7430.marvell.com [10.28.10.90])\n by maili.marvell.com (Postfix) with ESMTP id 208C13F703F;\n Thu, 23 Jan 2020 20:05:45 -0800 (PST)" ], "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=pfpt0818;\n bh=IZgMGMaT8jY9z697cXlxXWdM/KiRo4VYoM+30Zf5pyc=;\n b=yMI/iZf4Rmyoyl+w7kTDvsPmb/ryPHDWgPH/ROW3em5soDXdNB+HVraz9Kkth6YVPRXg\n BPtSrqOmx6MhpRdnOn30dkrcrgS9idiPZvNLFAjaHVt+YPzaMQSoK8OdSrQXHszadfyD\n O2SEvWA2Ildl5M9uaxBkYqlcTS6UnoAr+9LP62s/ymlVtvmbNP5Zc29YtXB2vxbmnIX0\n NoKVfUy/p1ybbYukn4k3xB2J55iqH+oBjR9ZWTfw8a25F2Wh7yX870/YdYPa8qNd2P6R\n y/9gI+Pusrrrc/TfkgdUDST3hSwz3rRFVqu06rP8QDIp6YWoc4OsMjE1dq5YLseK27U2 XQ==", "From": "<pbhagavatula@marvell.com>", "To": "<jerinj@marvell.com>, <konstantin.ananyev@intel.com>, Marko Kovacevic\n <marko.kovacevic@intel.com>, Ori Kam <orika@mellanox.com>, Bruce Richardson\n <bruce.richardson@intel.com>, Radu Nicolau <radu.nicolau@intel.com>, \"Akhil\n Goyal\" <akhil.goyal@nxp.com>, Tomasz Kantecki <tomasz.kantecki@intel.com>,\n Sunil Kumar Kori <skori@marvell.com>, Pavan Nikhilesh\n <pbhagavatula@marvell.com>", "CC": "<dev@dpdk.org>, Nipun Gupta <nipun.gupta@nxp.com>", "Date": "Fri, 24 Jan 2020 09:35:32 +0530", "Message-ID": "<20200124040542.2360-2-pbhagavatula@marvell.com>", "X-Mailer": "git-send-email 2.17.1", "In-Reply-To": "<20200124040542.2360-1-pbhagavatula@marvell.com>", "References": "<20200122182817.1667-1-pbhagavatula@marvell.com>\n <20200124040542.2360-1-pbhagavatula@marvell.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Content-Type": "text/plain", "X-Proofpoint-Virus-Version": "vendor=fsecure engine=2.50.10434:6.0.138, 18.0.572\n definitions=2020-01-23_13:2020-01-23,\n 2020-01-23 signatures=0", "Subject": "[dpdk-dev] [PATCH v5 01/11] examples/l3fwd: add framework for event\n\tdevice", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.15", "Precedence": "list", "List-Id": "DPDK patches and discussions <dev.dpdk.org>", "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <mailto:dev-request@dpdk.org?subject=unsubscribe>", "List-Archive": "<http://mails.dpdk.org/archives/dev/>", "List-Post": "<mailto:dev@dpdk.org>", "List-Help": "<mailto:dev-request@dpdk.org?subject=help>", "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n <mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "From: Sunil Kumar Kori <skori@marvell.com>\n\nAdd framework to enable event device as a producer of packets.\nTo switch between event mode and poll mode the following options\nhave been added:\n\t`--mode=\"eventdev\"` or `--mode=\"poll\"`\nAllow the user to select the schedule type to be either\nRTE_SCHED_TYPE_ORDERED, RTE_SCHED_TYPE_ATOMIC or RTE_SCHED_TYPE_PARALLEL\nthrough:\n\t`--eventq-sched=\"ordered\"` or `--eventq-sched=\"atomic\"` or\n\t\t`--eventq-sched=\"parallel\"`\nAllow the user to specify the number of Rx queues to be connected to\nevent queue using:\n\t`--event-eth-rxqs`\n\nPoll mode is still the default operation mode.\n\nSigned-off-by: Sunil Kumar Kori <skori@marvell.com>\nSigned-off-by: Nipun Gupta <nipun.gupta@nxp.com>\n---\n examples/l3fwd/Makefile | 2 +-\n examples/l3fwd/l3fwd.h | 1 +\n examples/l3fwd/l3fwd_event.c | 40 +++++++++++++\n examples/l3fwd/l3fwd_event.h | 23 ++++++++\n examples/l3fwd/main.c | 110 ++++++++++++++++++++++++++++++++++-\n examples/l3fwd/meson.build | 4 +-\n 6 files changed, 174 insertions(+), 6 deletions(-)\n create mode 100644 examples/l3fwd/l3fwd_event.c\n create mode 100644 examples/l3fwd/l3fwd_event.h", "diff": "diff --git a/examples/l3fwd/Makefile b/examples/l3fwd/Makefile\nindex b2dbf2607..c892b867b 100644\n--- a/examples/l3fwd/Makefile\n+++ b/examples/l3fwd/Makefile\n@@ -5,7 +5,7 @@\n APP = l3fwd\n \n # all source are stored in SRCS-y\n-SRCS-y := main.c l3fwd_lpm.c l3fwd_em.c\n+SRCS-y := main.c l3fwd_lpm.c l3fwd_em.c l3fwd_event.c\n \n # Build using pkg-config variables if possible\n ifeq ($(shell pkg-config --exists libdpdk && echo 0),0)\ndiff --git a/examples/l3fwd/l3fwd.h b/examples/l3fwd/l3fwd.h\nindex 293fb1fa2..e2399d76b 100644\n--- a/examples/l3fwd/l3fwd.h\n+++ b/examples/l3fwd/l3fwd.h\n@@ -5,6 +5,7 @@\n #ifndef __L3_FWD_H__\n #define __L3_FWD_H__\n \n+#include <rte_ethdev.h>\n #include <rte_vect.h>\n \n #define DO_RFC_1812_CHECKS\ndiff --git a/examples/l3fwd/l3fwd_event.c b/examples/l3fwd/l3fwd_event.c\nnew file mode 100644\nindex 000000000..1040da4ea\n--- /dev/null\n+++ b/examples/l3fwd/l3fwd_event.c\n@@ -0,0 +1,40 @@\n+/* SPDX-License-Identifier: BSD-3-Clause\n+ * Copyright(C) 2019 Marvell International Ltd.\n+ */\n+\n+#include <stdbool.h>\n+#include <getopt.h>\n+\n+#include <rte_malloc.h>\n+\n+#include \"l3fwd.h\"\n+#include \"l3fwd_event.h\"\n+\n+struct l3fwd_event_resources *\n+l3fwd_get_eventdev_rsrc(void)\n+{\n+\tstatic struct l3fwd_event_resources *rsrc;\n+\n+\tif (rsrc != NULL)\n+\t\treturn rsrc;\n+\n+\trsrc = rte_zmalloc(\"l3fwd\", sizeof(struct l3fwd_event_resources), 0);\n+\tif (rsrc != NULL) {\n+\t\trsrc->sched_type = RTE_SCHED_TYPE_ATOMIC;\n+\t\trsrc->eth_rx_queues = 1;\n+\t\treturn rsrc;\n+\t}\n+\n+\trte_exit(EXIT_FAILURE, \"Unable to allocate memory for eventdev cfg\\n\");\n+\n+\treturn NULL;\n+}\n+\n+void\n+l3fwd_event_resource_setup(void)\n+{\n+\tstruct l3fwd_event_resources *evt_rsrc = l3fwd_get_eventdev_rsrc();\n+\n+\tif (!evt_rsrc->enabled)\n+\t\treturn;\n+}\ndiff --git a/examples/l3fwd/l3fwd_event.h b/examples/l3fwd/l3fwd_event.h\nnew file mode 100644\nindex 000000000..4c23c4e1a\n--- /dev/null\n+++ b/examples/l3fwd/l3fwd_event.h\n@@ -0,0 +1,23 @@\n+/* SPDX-License-Identifier: BSD-3-Clause\n+ * Copyright(C) 2019 Marvell International Ltd.\n+ */\n+\n+#ifndef __L3FWD_EVENTDEV_H__\n+#define __L3FWD_EVENTDEV_H__\n+\n+#include <rte_common.h>\n+#include <rte_eventdev.h>\n+#include <rte_spinlock.h>\n+\n+#include \"l3fwd.h\"\n+\n+struct l3fwd_event_resources {\n+\tuint8_t sched_type;\n+\tuint8_t enabled;\n+\tuint8_t eth_rx_queues;\n+};\n+\n+struct l3fwd_event_resources *l3fwd_get_eventdev_rsrc(void);\n+void l3fwd_event_resource_setup(void);\n+\n+#endif /* __L3FWD_EVENTDEV_H__ */\ndiff --git a/examples/l3fwd/main.c b/examples/l3fwd/main.c\nindex 4dea12a65..8a5cdb52e 100644\n--- a/examples/l3fwd/main.c\n+++ b/examples/l3fwd/main.c\n@@ -19,6 +19,7 @@\n #include <rte_vect.h>\n #include <rte_byteorder.h>\n #include <rte_log.h>\n+#include <rte_malloc.h>\n #include <rte_memory.h>\n #include <rte_memcpy.h>\n #include <rte_eal.h>\n@@ -33,7 +34,6 @@\n #include <rte_random.h>\n #include <rte_debug.h>\n #include <rte_ether.h>\n-#include <rte_ethdev.h>\n #include <rte_mempool.h>\n #include <rte_mbuf.h>\n #include <rte_ip.h>\n@@ -46,6 +46,7 @@\n #include <cmdline_parse_etheraddr.h>\n \n #include \"l3fwd.h\"\n+#include \"l3fwd_event.h\"\n \n /*\n * Configurable number of RX/TX ring descriptors\n@@ -289,7 +290,9 @@ print_usage(const char *prgname)\n \t\t\" [--hash-entry-num]\"\n \t\t\" [--ipv6]\"\n \t\t\" [--parse-ptype]\"\n-\t\t\" [--per-port-pool]\\n\\n\"\n+\t\t\" [--per-port-pool]\"\n+\t\t\" [--mode]\"\n+\t\t\" [--eventq-sched]\\n\\n\"\n \n \t\t\" -p PORTMASK: Hexadecimal bitmask of ports to configure\\n\"\n \t\t\" -P : Enable promiscuous mode\\n\"\n@@ -304,7 +307,16 @@ print_usage(const char *prgname)\n \t\t\" --hash-entry-num: Specify the hash entry number in hexadecimal to be setup\\n\"\n \t\t\" --ipv6: Set if running ipv6 packets\\n\"\n \t\t\" --parse-ptype: Set to use software to analyze packet type\\n\"\n-\t\t\" --per-port-pool: Use separate buffer pool per port\\n\\n\",\n+\t\t\" --per-port-pool: Use separate buffer pool per port\\n\"\n+\t\t\" --mode: Packet transfer mode for I/O, poll or eventdev\\n\"\n+\t\t\" Default mode = poll\\n\"\n+\t\t\" --eventq-sched: Event queue synchronization method\\n\"\n+\t\t\" ordered, atomic or parallel.\\n\"\n+\t\t\" Default: atomic\\n\"\n+\t\t\" Valid only if --mode=eventdev\\n\"\n+\t\t\" --event-eth-rxqs: Number of ethernet RX queues per device.\\n\"\n+\t\t\" Default: 1\\n\"\n+\t\t\" Valid only if --mode=eventdev\\n\\n\",\n \t\tprgname);\n }\n \n@@ -440,6 +452,48 @@ parse_eth_dest(const char *optarg)\n \t*(uint64_t *)(val_eth + portid) = dest_eth_addr[portid];\n }\n \n+static void\n+parse_mode(const char *optarg)\n+{\n+\tstruct l3fwd_event_resources *evt_rsrc = l3fwd_get_eventdev_rsrc();\n+\n+\tif (!strcmp(optarg, \"poll\"))\n+\t\tevt_rsrc->enabled = false;\n+\telse if (!strcmp(optarg, \"eventdev\"))\n+\t\tevt_rsrc->enabled = true;\n+}\n+\n+static void\n+parse_eventq_sched(const char *optarg)\n+{\n+\tstruct l3fwd_event_resources *evt_rsrc = l3fwd_get_eventdev_rsrc();\n+\n+\tif (!strcmp(optarg, \"ordered\"))\n+\t\tevt_rsrc->sched_type = RTE_SCHED_TYPE_ORDERED;\n+\tif (!strcmp(optarg, \"atomic\"))\n+\t\tevt_rsrc->sched_type = RTE_SCHED_TYPE_ATOMIC;\n+\tif (!strcmp(optarg, \"parallel\"))\n+\t\tevt_rsrc->sched_type = RTE_SCHED_TYPE_PARALLEL;\n+}\n+\n+static void\n+parse_event_eth_rx_queues(const char *eth_rx_queues)\n+{\n+\tstruct l3fwd_event_resources *evt_rsrc = l3fwd_get_eventdev_rsrc();\n+\tchar *end = NULL;\n+\tuint8_t num_eth_rx_queues;\n+\n+\t/* parse decimal string */\n+\tnum_eth_rx_queues = strtoul(eth_rx_queues, &end, 10);\n+\tif ((eth_rx_queues[0] == '\\0') || (end == NULL) || (*end != '\\0'))\n+\t\treturn;\n+\n+\tif (num_eth_rx_queues == 0)\n+\t\treturn;\n+\n+\tevt_rsrc->eth_rx_queues = num_eth_rx_queues;\n+}\n+\n #define MAX_JUMBO_PKT_LEN 9600\n #define MEMPOOL_CACHE_SIZE 256\n \n@@ -458,6 +512,9 @@ static const char short_options[] =\n #define CMD_LINE_OPT_HASH_ENTRY_NUM \"hash-entry-num\"\n #define CMD_LINE_OPT_PARSE_PTYPE \"parse-ptype\"\n #define CMD_LINE_OPT_PER_PORT_POOL \"per-port-pool\"\n+#define CMD_LINE_OPT_MODE \"mode\"\n+#define CMD_LINE_OPT_EVENTQ_SYNC \"eventq-sched\"\n+#define CMD_LINE_OPT_EVENT_ETH_RX_QUEUES \"event-eth-rxqs\"\n enum {\n \t/* long options mapped to a short option */\n \n@@ -472,6 +529,9 @@ enum {\n \tCMD_LINE_OPT_HASH_ENTRY_NUM_NUM,\n \tCMD_LINE_OPT_PARSE_PTYPE_NUM,\n \tCMD_LINE_OPT_PARSE_PER_PORT_POOL,\n+\tCMD_LINE_OPT_MODE_NUM,\n+\tCMD_LINE_OPT_EVENTQ_SYNC_NUM,\n+\tCMD_LINE_OPT_EVENT_ETH_RX_QUEUES_NUM,\n };\n \n static const struct option lgopts[] = {\n@@ -483,6 +543,10 @@ static const struct option lgopts[] = {\n \t{CMD_LINE_OPT_HASH_ENTRY_NUM, 1, 0, CMD_LINE_OPT_HASH_ENTRY_NUM_NUM},\n \t{CMD_LINE_OPT_PARSE_PTYPE, 0, 0, CMD_LINE_OPT_PARSE_PTYPE_NUM},\n \t{CMD_LINE_OPT_PER_PORT_POOL, 0, 0, CMD_LINE_OPT_PARSE_PER_PORT_POOL},\n+\t{CMD_LINE_OPT_MODE, 1, 0, CMD_LINE_OPT_MODE_NUM},\n+\t{CMD_LINE_OPT_EVENTQ_SYNC, 1, 0, CMD_LINE_OPT_EVENTQ_SYNC_NUM},\n+\t{CMD_LINE_OPT_EVENT_ETH_RX_QUEUES, 1, 0,\n+\t\t\t\t\tCMD_LINE_OPT_EVENT_ETH_RX_QUEUES_NUM},\n \t{NULL, 0, 0, 0}\n };\n \n@@ -508,6 +572,10 @@ parse_args(int argc, char **argv)\n \tchar **argvopt;\n \tint option_index;\n \tchar *prgname = argv[0];\n+\tuint8_t lcore_params = 0;\n+\tuint8_t eventq_sched = 0;\n+\tuint8_t eth_rx_q = 0;\n+\tstruct l3fwd_event_resources *evt_rsrc = l3fwd_get_eventdev_rsrc();\n \n \targvopt = argv;\n \n@@ -546,6 +614,7 @@ parse_args(int argc, char **argv)\n \t\t\t\tprint_usage(prgname);\n \t\t\t\treturn -1;\n \t\t\t}\n+\t\t\tlcore_params = 1;\n \t\t\tbreak;\n \n \t\tcase CMD_LINE_OPT_ETH_DEST_NUM:\n@@ -607,6 +676,20 @@ parse_args(int argc, char **argv)\n \t\t\tper_port_pool = 1;\n \t\t\tbreak;\n \n+\t\tcase CMD_LINE_OPT_MODE_NUM:\n+\t\t\tparse_mode(optarg);\n+\t\t\tbreak;\n+\n+\t\tcase CMD_LINE_OPT_EVENTQ_SYNC_NUM:\n+\t\t\tparse_eventq_sched(optarg);\n+\t\t\teventq_sched = 1;\n+\t\t\tbreak;\n+\n+\t\tcase CMD_LINE_OPT_EVENT_ETH_RX_QUEUES_NUM:\n+\t\t\tparse_event_eth_rx_queues(optarg);\n+\t\t\teth_rx_q = 1;\n+\t\t\tbreak;\n+\n \t\tdefault:\n \t\t\tprint_usage(prgname);\n \t\t\treturn -1;\n@@ -619,6 +702,21 @@ parse_args(int argc, char **argv)\n \t\treturn -1;\n \t}\n \n+\tif (evt_rsrc->enabled && lcore_params) {\n+\t\tfprintf(stderr, \"lcore config is not valid when event mode is selected\\n\");\n+\t\treturn -1;\n+\t}\n+\n+\tif (!evt_rsrc->enabled && eth_rx_q) {\n+\t\tfprintf(stderr, \"eth_rx_queues is valid only when event mode is selected\\n\");\n+\t\treturn -1;\n+\t}\n+\n+\tif (!evt_rsrc->enabled && eventq_sched) {\n+\t\tfprintf(stderr, \"eventq_sched is valid only when event mode is selected\\n\");\n+\t\treturn -1;\n+\t}\n+\n \t/*\n \t * Nothing is selected, pick longest-prefix match\n \t * as default match.\n@@ -811,6 +909,7 @@ prepare_ptype_parser(uint16_t portid, uint16_t queueid)\n int\n main(int argc, char **argv)\n {\n+\tstruct l3fwd_event_resources *evt_rsrc;\n \tstruct lcore_conf *qconf;\n \tstruct rte_eth_dev_info dev_info;\n \tstruct rte_eth_txconf *txconf;\n@@ -839,11 +938,16 @@ main(int argc, char **argv)\n \t\t*(uint64_t *)(val_eth + portid) = dest_eth_addr[portid];\n \t}\n \n+\tevt_rsrc = l3fwd_get_eventdev_rsrc();\n+\tRTE_SET_USED(evt_rsrc);\n \t/* parse application arguments (after the EAL ones) */\n \tret = parse_args(argc, argv);\n \tif (ret < 0)\n \t\trte_exit(EXIT_FAILURE, \"Invalid L3FWD parameters\\n\");\n \n+\t/* Configure eventdev parameters if user has requested */\n+\tl3fwd_event_resource_setup();\n+\n \tif (check_lcore_params() < 0)\n \t\trte_exit(EXIT_FAILURE, \"check_lcore_params failed\\n\");\n \ndiff --git a/examples/l3fwd/meson.build b/examples/l3fwd/meson.build\nindex 6dd4b9022..864327c7b 100644\n--- a/examples/l3fwd/meson.build\n+++ b/examples/l3fwd/meson.build\n@@ -6,7 +6,7 @@\n # To build this example as a standalone application with an already-installed\n # DPDK instance, use 'make'\n \n-deps += ['hash', 'lpm']\n+deps += ['hash', 'lpm', 'eventdev']\n sources = files(\n-\t'l3fwd_em.c', 'l3fwd_lpm.c', 'main.c'\n+\t'l3fwd_em.c', 'l3fwd_lpm.c', 'l3fwd_event.c', 'main.c'\n )\n", "prefixes": [ "v5", "01/11" ] }{ "id": 65097, "url": "