]> git.droids-corp.org - dpdk.git/blobdiff - doc/guides/sample_app_ug/link_status_intr.rst
eal: rename lcore master and slave
[dpdk.git] / doc / guides / sample_app_ug / link_status_intr.rst
index 1057c7584d5647f0e0bf481ab42dfa9a18adad9a..e4b1a5e7ce228438d016c408ffc18ec39819710f 100644 (file)
@@ -401,9 +401,8 @@ However, it improves performance:
             /* if timer has reached its timeout */
 
             if (unlikely(timer_tsc >= (uint64_t) timer_period)) {
-                /* do this only on master core */
-
-                if (lcore_id == rte_get_master_lcore()) {
+                /* do this only on main core */
+                if (lcore_id == rte_get_main_lcore()) {
                     print_stats();
 
                     /* reset the timer */