diff options
author | Konstantin Ananyev <konstantin.ananyev@intel.com> | 2021-09-30 10:05:39 +0000 |
---|---|---|
committer | Konstantin Ananyev <konstantin.ananyev@intel.com> | 2021-11-10 11:55:12 +0000 |
commit | b792c1f27d58040f3a815da18183d329bd6bd84b (patch) | |
tree | def302a01c2136211651fb90994806ae1ff0a32a /examples/l4fwd/main.c | |
parent | f71107b4dd6a4b8b1cd28d7339c924f1b013cfa4 (diff) |
tldk: swtich to use DPDK 20.11 LTS
As in DPDK 20.11 'make' is not supported any more,
switch to use pkg-conf approach.
Note that RTE_SDK now should point to your DPDK package installation path.
Signed-off-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
Change-Id: I4a3c394758e183a3ddcdb45a0562a81583daaab6
Signed-off-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
Diffstat (limited to 'examples/l4fwd/main.c')
-rw-r--r-- | examples/l4fwd/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/l4fwd/main.c b/examples/l4fwd/main.c index 57e9cfd..266228d 100644 --- a/examples/l4fwd/main.c +++ b/examples/l4fwd/main.c @@ -271,13 +271,13 @@ main(int argc, char *argv[]) sig_handle(SIGQUIT); /* launch all slave lcores. */ - RTE_LCORE_FOREACH_SLAVE(i) { + RTE_LCORE_FOREACH_WORKER(i) { if (prm[i].be.lc != NULL || prm[i].fe.max_streams != 0) rte_eal_remote_launch(lcore_main, prm + i, i); } /* launch master lcore. */ - i = rte_get_master_lcore(); + i = rte_get_main_lcore(); if (prm[i].be.lc != NULL || prm[i].fe.max_streams != 0) lcore_main(prm + i); |