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_proc.c
diff --git
a/lib/librte_eal/common/eal_common_proc.c
b/lib/librte_eal/common/eal_common_proc.c
index
7e11565
..
6d1af3c
100644
(file)
--- a/
lib/librte_eal/common/eal_common_proc.c
+++ b/
lib/librte_eal/common/eal_common_proc.c
@@
-423,7
+423,7
@@
process_async_request(struct pending_request *sr, const struct timespec *now)
/* did we timeout? */
timeout = timespec_cmp(¶m->end, now) <= 0;
/* did we timeout? */
timeout = timespec_cmp(¶m->end, now) <= 0;
- /* if we received a response, adjust relevant data and copy mes
as
ge. */
+ /* if we received a response, adjust relevant data and copy mes
sa
ge. */
if (sr->reply_received == 1 && sr->reply) {
struct rte_mp_msg *msg, *user_msgs, *tmp;
if (sr->reply_received == 1 && sr->reply) {
struct rte_mp_msg *msg, *user_msgs, *tmp;
@@
-630,7
+630,7
@@
rte_mp_channel_init(void)
if (rte_ctrl_thread_create(&mp_handle_tid, "rte_mp_handle",
NULL, mp_handle, NULL) < 0) {
if (rte_ctrl_thread_create(&mp_handle_tid, "rte_mp_handle",
NULL, mp_handle, NULL) < 0) {
- RTE_LOG(ERR, EAL, "failed to create mp thead: %s\n",
+ RTE_LOG(ERR, EAL, "failed to create mp th
r
ead: %s\n",
strerror(errno));
close(mp_fd);
close(dir_fd);
strerror(errno));
close(mp_fd);
close(dir_fd);
@@
-1236,9
+1236,9
@@
rte_mp_reply(struct rte_mp_msg *msg, const char *peer)
/* Internally, the status of the mp feature is represented as a three-state:
* - "unknown" as long as no secondary process attached to a primary process
/* Internally, the status of the mp feature is represented as a three-state:
* - "unknown" as long as no secondary process attached to a primary process
- * and there was no call to
__
rte_mp_disable yet,
+ * and there was no call to rte_mp_disable yet,
* - "enabled" as soon as a secondary process attaches to a primary process,
* - "enabled" as soon as a secondary process attaches to a primary process,
- * - "disabled" when a primary process successfully called
__
rte_mp_disable,
+ * - "disabled" when a primary process successfully called rte_mp_disable,
*/
enum mp_status {
MP_STATUS_UNKNOWN,
*/
enum mp_status {
MP_STATUS_UNKNOWN,
@@
-1263,7
+1263,7
@@
set_mp_status(enum mp_status status)
}
bool
}
bool
-
__
rte_mp_disable(void)
+rte_mp_disable(void)
{
return set_mp_status(MP_STATUS_DISABLED);
}
{
return set_mp_status(MP_STATUS_DISABLED);
}