net: add rte prefix to ether structures
[dpdk.git] / examples / vm_power_manager / guest_cli / vm_power_cli_guest.c
index 0db1b80..78c3aa0 100644 (file)
@@ -34,7 +34,7 @@ struct cmd_quit_result {
 };
 
 union PFID {
-       struct ether_addr addr;
+       struct rte_ether_addr addr;
        uint64_t pfid;
 };
 
@@ -92,6 +92,7 @@ set_policy_defaults(struct channel_packet *pkt)
        pkt->timer_policy.hours_to_use_traffic_profile[0] = 8;
        pkt->timer_policy.hours_to_use_traffic_profile[1] = 10;
 
+       pkt->core_type = CORE_TYPE_VIRTUAL;
        pkt->workload = LOW;
        pkt->policy_to_use = TIME;
        pkt->command = PKT_POLICY;