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
ipc: handle unsupported IPC in async request
[dpdk.git]
/
lib
/
librte_eal
/
common
/
eal_common_proc.c
diff --git
a/lib/librte_eal/common/eal_common_proc.c
b/lib/librte_eal/common/eal_common_proc.c
index
7195d57
..
cfd571e
100644
(file)
--- a/
lib/librte_eal/common/eal_common_proc.c
+++ b/
lib/librte_eal/common/eal_common_proc.c
@@
-1066,7
+1066,8
@@
rte_mp_request_async(struct rte_mp_msg *req, const struct timespec *ts,
if (internal_config.no_shconf) {
RTE_LOG(DEBUG, EAL, "No shared files mode enabled, IPC is disabled\n");
- return 0;
+ rte_errno = ENOTSUP;
+ return -1;
}
if (gettimeofday(&now, NULL) < 0) {