/* Use port MAC address as the vfid */
ret = rte_eth_macaddr_get(port, &pfid.addr);
- if (retval != 0) {
+ if (ret != 0) {
printf("Failed to get device (port %u) MAC address: %s\n",
- port, rte_strerror(-retval));
- return retval;
+ port, rte_strerror(-ret));
+ return ret;
}
printf("Port %u MAC: %02" PRIx8 ":%02" PRIx8 ":%02" PRIx8 ":"
pkt->policy_to_use = TIME;
pkt->command = PKT_POLICY;
strcpy(pkt->vm_name, "ubuntu2");
+
+ return 0;
}
static void cmd_quit_parsed(__attribute__((unused)) void *parsed_result,