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
ethdev: add RSS RETA size constant 256
[dpdk.git]
/
examples
/
multi_process
/
symmetric_mp
/
main.c
diff --git
a/examples/multi_process/symmetric_mp/main.c
b/examples/multi_process/symmetric_mp/main.c
index
931c94f
..
6bbff07
100644
(file)
--- a/
examples/multi_process/symmetric_mp/main.c
+++ b/
examples/multi_process/symmetric_mp/main.c
@@
-196,7
+196,7
@@
smp_parse_args(int argc, char **argv)
ret = optind-1;
optind = 0; /* reset getopt lib */
- return
(ret)
;
+ return
ret
;
}
/*
@@
-388,7
+388,7
@@
check_all_ports_link_status(uint8_t port_num, uint32_t port_mask)
continue;
}
/* clear all_ports_up flag if any link down */
- if (link.link_status ==
0
) {
+ if (link.link_status ==
ETH_LINK_DOWN
) {
all_ports_up = 0;
break;
}