git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
eal/windows: add missing SPDX license tag
[dpdk.git]
/
lib
/
librte_eal
/
common
/
eal_common_lcore.c
diff --git
a/lib/librte_eal/common/eal_common_lcore.c
b/lib/librte_eal/common/eal_common_lcore.c
index
d64569b
..
66d6bad
100644
(file)
--- a/
lib/librte_eal/common/eal_common_lcore.c
+++ b/
lib/librte_eal/common/eal_common_lcore.c
@@
-18,9
+18,9
@@
#include "eal_private.h"
#include "eal_thread.h"
#include "eal_private.h"
#include "eal_thread.h"
-unsigned int rte_get_ma
ster
_lcore(void)
+unsigned int rte_get_ma
in
_lcore(void)
{
{
- return rte_eal_get_configuration()->ma
ster
_lcore;
+ return rte_eal_get_configuration()->ma
in
_lcore;
}
unsigned int rte_lcore_count(void)
}
unsigned int rte_lcore_count(void)
@@
-93,7
+93,7
@@
int rte_lcore_is_enabled(unsigned int lcore_id)
return cfg->lcore_role[lcore_id] == ROLE_RTE;
}
return cfg->lcore_role[lcore_id] == ROLE_RTE;
}
-unsigned int rte_get_next_lcore(unsigned int i, int skip_ma
ster
, int wrap)
+unsigned int rte_get_next_lcore(unsigned int i, int skip_ma
in
, int wrap)
{
i++;
if (wrap)
{
i++;
if (wrap)
@@
-101,7
+101,7
@@
unsigned int rte_get_next_lcore(unsigned int i, int skip_master, int wrap)
while (i < RTE_MAX_LCORE) {
if (!rte_lcore_is_enabled(i) ||
while (i < RTE_MAX_LCORE) {
if (!rte_lcore_is_enabled(i) ||
- (skip_ma
ster && (i == rte_get_master
_lcore()))) {
+ (skip_ma
in && (i == rte_get_main
_lcore()))) {
i++;
if (wrap)
i %= RTE_MAX_LCORE;
i++;
if (wrap)
i %= RTE_MAX_LCORE;