]> git.droids-corp.org - dpdk.git/blobdiff - examples/vm_power_manager/guest_cli/vm_power_cli_guest.c
net: add rte prefix to ether structures
[dpdk.git] / examples / vm_power_manager / guest_cli / vm_power_cli_guest.c
index 0db1b804f8cf04c81ea57b0c6b6cbb2e984745c1..78c3aa0a1e225524457ea935276fea04b783b3ad 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;