]> git.droids-corp.org - dpdk.git/blobdiff - examples/ptpclient/ptpclient.c
net/sfc: explicitly control IRQ used for Rx queues
[dpdk.git] / examples / ptpclient / ptpclient.c
index 33b297e37a3c1bfe1e9285704c7dd3e2fa5f62fb..173451eedcbed171f602f1fd45834e1d02783cb0 100644 (file)
@@ -606,10 +606,6 @@ lcore_main(void)
        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());
 
@@ -788,5 +784,8 @@ main(int argc, char *argv[])
        /* Call lcore_main on the main core only. */
        lcore_main();
 
+       /* clean up the EAL */
+       rte_eal_cleanup();
+
        return 0;
 }