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
mem: quiet base address hint warning if not requested
[dpdk.git]
/
lib
/
eal
/
linux
/
eal.c
diff --git
a/lib/eal/linux/eal.c
b/lib/eal/linux/eal.c
index
3577eae
..
60b4924
100644
(file)
--- a/
lib/eal/linux/eal.c
+++ b/
lib/eal/linux/eal.c
@@
-562,7
+562,6
@@
eal_parse_socket_arg(char *strval, volatile uint64_t *socket_arg)
char * arg[RTE_MAX_NUMA_NODES];
char *end;
int arg_num, i, len;
char * arg[RTE_MAX_NUMA_NODES];
char *end;
int arg_num, i, len;
- uint64_t total_mem = 0;
len = strnlen(strval, SOCKET_MEM_STRLEN);
if (len == SOCKET_MEM_STRLEN) {
len = strnlen(strval, SOCKET_MEM_STRLEN);
if (len == SOCKET_MEM_STRLEN) {
@@
-594,7
+593,6
@@
eal_parse_socket_arg(char *strval, volatile uint64_t *socket_arg)
(arg[i][0] == '\0') || (end == NULL) || (*end != '\0'))
return -1;
val <<= 20;
(arg[i][0] == '\0') || (end == NULL) || (*end != '\0'))
return -1;
val <<= 20;
- total_mem += val;
socket_arg[i] = val;
}
socket_arg[i] = val;
}
@@
-1320,7
+1318,7
@@
rte_eal_init(int argc, char **argv)
rte_eal_init_alert("Cannot clear runtime directory");
return -1;
}
rte_eal_init_alert("Cannot clear runtime directory");
return -1;
}
- if (!internal_conf->no_telemetry) {
+ if (
rte_eal_process_type() == RTE_PROC_PRIMARY &&
!internal_conf->no_telemetry) {
int tlog = rte_log_register_type_and_pick_level(
"lib.telemetry", RTE_LOG_WARNING);
if (tlog < 0)
int tlog = rte_log_register_type_and_pick_level(
"lib.telemetry", RTE_LOG_WARNING);
if (tlog < 0)
@@
-1368,6
+1366,7
@@
rte_eal_cleanup(void)
rte_mp_channel_cleanup();
/* after this point, any DPDK pointers will become dangling */
rte_eal_memory_detach();
rte_mp_channel_cleanup();
/* after this point, any DPDK pointers will become dangling */
rte_eal_memory_detach();
+ rte_eal_alarm_cleanup();
rte_trace_save();
eal_trace_fini();
eal_cleanup_config(internal_conf);
rte_trace_save();
eal_trace_fini();
eal_cleanup_config(internal_conf);