vhost-user: Interface state updates 72/15072/2
authorJuraj Sloboda <jsloboda@cisco.com>
Mon, 1 Oct 2018 10:42:07 +0000 (12:42 +0200)
committerOle Trøan <otroan@employees.org>
Tue, 2 Oct 2018 12:21:36 +0000 (12:21 +0000)
commitb192feba004e7a52b57ff9f68246b1c94e8b667b
tree01fc0f06005aba8e29f157a7b7d5147e2dbe73c4
parent83c46a2c5c97320e029b4dd154a45212530f221d
vhost-user: Interface state updates

Fix inconsistencies between admin and link interface states
Admin down should imply link down:
  link_up = admin_up && link_ready

Change-Id: I4d668d82d035b5d2ae508727f34f1722a0c3e677
Signed-off-by: Juraj Sloboda <jsloboda@cisco.com>
src/vnet/devices/virtio/vhost_user.c
src/vnet/devices/virtio/vhost_user.h
src/vnet/devices/virtio/vhost_user_inline.h
src/vnet/devices/virtio/vhost_user_output.c