ethdev: remove Rx interrupt switch
[dpdk.git] / examples / l3fwd-power / main.c
index 912012b..086f29b 100644 (file)
@@ -239,9 +239,7 @@ static struct rte_eth_conf port_conf = {
        },
        .intr_conf = {
                .lsc = 1,
-#ifdef RTE_NEXT_ABI
                .rxq = 1,
-#endif
        },
 };
 
@@ -1710,9 +1708,8 @@ main(int argc, char **argv)
                /* init power management library */
                ret = rte_power_init(lcore_id);
                if (ret)
-                       rte_log(RTE_LOG_ERR, RTE_LOGTYPE_POWER,
-                               "Power management library initialization "
-                               "failed on core%u", lcore_id);
+                       RTE_LOG(ERR, POWER,
+                               "Library initialization failed on core %u\n", lcore_id);
 
                /* init timer structures for each enabled lcore */
                rte_timer_init(&power_timers[lcore_id]);