On SRIOV/OVS, NIC interface link always be UP. But to set the IP, we
need to bring down the interface. This patch allows the program to
continue after printing warning.
Change-Id: I79212f4d71501af5f3065143e067a22855a5fde6
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
status = rte_eth_dev_set_link_down(port_id);
if (status < 0)
{
- rte_panic("(%" PRIu32 "): PMD set link down error %"
+ printf("(%" PRIu32 "): PMD set link down... continuing...%"
PRId32 "\n", port_id, status);
}
}