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
net/sfc: explicitly control IRQ used for Rx queues
[dpdk.git]
/
examples
/
ptpclient
/
ptpclient.c
diff --git
a/examples/ptpclient/ptpclient.c
b/examples/ptpclient/ptpclient.c
index
33b297e
..
173451e
100644
(file)
--- a/
examples/ptpclient/ptpclient.c
+++ b/
examples/ptpclient/ptpclient.c
@@
-606,10
+606,6
@@
lcore_main(void)
unsigned nb_rx;
struct rte_mbuf *m;
unsigned nb_rx;
struct rte_mbuf *m;
- /*
- * Check that the port is on the same NUMA node as the polling thread
- * for best performance.
- */
printf("\nCore %u Waiting for SYNC packets. [Ctrl+C to quit]\n",
rte_lcore_id());
printf("\nCore %u Waiting for SYNC packets. [Ctrl+C to quit]\n",
rte_lcore_id());
@@
-788,5
+784,8
@@
main(int argc, char *argv[])
/* Call lcore_main on the main core only. */
lcore_main();
/* Call lcore_main on the main core only. */
lcore_main();
+ /* clean up the EAL */
+ rte_eal_cleanup();
+
return 0;
}
return 0;
}