net/dpaa2: configure jumbo frames
[dpdk.git] / lib / librte_power / rte_power_kvm_vm.c
index 11596c3..a1badf3 100644 (file)
@@ -34,7 +34,6 @@
 #include <string.h>
 
 #include <rte_log.h>
-#include <rte_config.h>
 
 #include "guest_channel.h"
 #include "channel_commands.h"
@@ -107,7 +106,8 @@ send_msg(unsigned lcore_id, uint32_t scale_direction)
        ret = guest_channel_send_msg(&pkt[lcore_id], lcore_id);
        if (ret == 0)
                return 1;
-       RTE_LOG(DEBUG, POWER, "Error sending message: %s\n", strerror(ret));
+       RTE_LOG(DEBUG, POWER, "Error sending message: %s\n",
+                       ret > 0 ? strerror(ret) : "channel not connected");
        return -1;
 }