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/lcore.h | |
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/lcore.h')
-rw-r--r-- | examples/l4fwd/lcore.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/l4fwd/lcore.h b/examples/l4fwd/lcore.h index 8d69c4f..7ae1943 100644 --- a/examples/l4fwd/lcore.h +++ b/examples/l4fwd/lcore.h @@ -478,7 +478,7 @@ netfe_lcore_fill(struct lcore_prm prm[RTE_MAX_LCORE], return -EINVAL; } - if (rte_get_master_lcore() != lc && + if (rte_get_main_lcore() != lc && rte_eal_get_lcore_state(lc) == RUNNING) { RTE_LOG(ERR, USER1, "%s(line=%u): lcore %u already in use\n", |