From 141750af33aad7f3be186e0795d543b2b2f8a09d Mon Sep 17 00:00:00 2001 From: Deepak S Date: Fri, 12 May 2017 16:15:44 +0530 Subject: Change PMD link down to warning instead of panic error 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 --- common/VIL/l2l3_stack/interface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common/VIL') diff --git a/common/VIL/l2l3_stack/interface.c b/common/VIL/l2l3_stack/interface.c index 84c390da..bd4c4e92 100644 --- a/common/VIL/l2l3_stack/interface.c +++ b/common/VIL/l2l3_stack/interface.c @@ -486,7 +486,7 @@ void ifm_update_linkstatus(uint8_t port_id, uint16_t linkstatus) 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); } } -- cgit 1.2.3-korg