summaryrefslogtreecommitdiffstats
path: root/common/VIL
diff options
context:
space:
mode:
authorDeepak S <deepak.s@linux.intel.com>2017-05-12 16:15:44 +0530
committerDeepak S <deepak.s@linux.intel.com>2017-05-12 16:19:04 +0530
commit141750af33aad7f3be186e0795d543b2b2f8a09d (patch)
tree9a5127c177892ce25df266b6cc406d731dbf809c /common/VIL
parentd285aad4646fa45d7efa4a4c04ae6a98df5d9ec8 (diff)
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 <deepak.s@linux.intel.com>
Diffstat (limited to 'common/VIL')
-rw-r--r--common/VIL/l2l3_stack/interface.c2
1 files changed, 1 insertions, 1 deletions
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);
}
}