From b192feba004e7a52b57ff9f68246b1c94e8b667b Mon Sep 17 00:00:00 2001 From: Juraj Sloboda Date: Mon, 1 Oct 2018 12:42:07 +0200 Subject: 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 --- src/vnet/devices/virtio/vhost_user.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/vnet/devices/virtio/vhost_user.h') diff --git a/src/vnet/devices/virtio/vhost_user.h b/src/vnet/devices/virtio/vhost_user.h index ff0669598c9..5bc36082a63 100644 --- a/src/vnet/devices/virtio/vhost_user.h +++ b/src/vnet/devices/virtio/vhost_user.h @@ -253,7 +253,7 @@ typedef struct typedef struct { CLIB_CACHE_LINE_ALIGN_MARK (cacheline0); - u32 is_up; + u32 is_ready; u32 admin_up; u32 unix_server_index; u32 clib_file_index; -- cgit 1.2.3-korg