dpdk: do not crash when failing to bring interface up 67/32267/2
authorBenoît Ganne <bganne@cisco.com>
Mon, 10 May 2021 12:10:19 +0000 (14:10 +0200)
committerDamjan Marion <dmarion@me.com>
Mon, 10 May 2021 16:49:11 +0000 (16:49 +0000)
commite2272ac27c31b8cf7ecf0ff8d4244f90034a09f4
treebfaad175cf12991a67a6cab441d43d1c7742ae84
parent028c9fda3cab8460dfe62472e99f5b79ef4a6115
dpdk: do not crash when failing to bring interface up

If dpdk device starts failed for some reason, we should not try to get
stats and the interface must remain down.

Type: fix

Change-Id: I0079f89d3b43a9b47553991347da8ed4ce6ede8d
Signed-off-by: Benoît Ganne <bganne@cisco.com>
src/plugins/dpdk/device/device.c