From 1ca017e0df32b79e96ade89106a2e9e7e0cc5d91 Mon Sep 17 00:00:00 2001 From: Changpeng Liu Date: Tue, 7 Jan 2020 23:26:46 +0800 Subject: [PATCH] vhost_user: add VHOST_USER_PROTOCOL_F_INFLIGHT_SHMFD definition We will enable vhost live recovery and packed ring feature in next few days, however most of the code is in DPDK vhost library, so we will not enable this feature for our internal vhost library, but there are many users still use it, so we will not support the new features with internal vhost library but will maintain it until we can drop it in future, this is the first patch to do it, another patch will be submitted until the packed ring patches being merged. Change-Id: I50fa0314fd64fa5ee1f06a78e1495e2d0d50a0d0 Signed-off-by: Changpeng Liu Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/479502 Tested-by: SPDK CI Jenkins Community-CI: SPDK CI Jenkins Reviewed-by: Jim Harris Reviewed-by: Tomasz Zawadzki --- include/spdk_internal/vhost_user.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/spdk_internal/vhost_user.h b/include/spdk_internal/vhost_user.h index 80edcfcd1..92ed3b65b 100644 --- a/include/spdk_internal/vhost_user.h +++ b/include/spdk_internal/vhost_user.h @@ -58,6 +58,10 @@ #define VHOST_USER_PROTOCOL_F_CONFIG 9 #endif +#ifndef VHOST_USER_PROTOCOL_F_INFLIGHT_SHMFD +#define VHOST_USER_PROTOCOL_F_INFLIGHT_SHMFD 12 +#endif + #ifndef VHOST_USER_F_PROTOCOL_FEATURES #define VHOST_USER_F_PROTOCOL_FEATURES 30 #endif