vhost: move VHOST_USER_F_PROTOCOL_FEATURES to vhost_user.h
We defined vhost user protocol in vhost_user.h file, so just remove it to where it should belong to. Change-Id: I3e9c6eece1db2a8eb739254608816ef9a4dd9993 Signed-off-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/477222 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Jim Harris <james.r.harris@intel.com>
This commit is contained in:
parent
7448215428
commit
4674a6b8f8
@ -58,6 +58,10 @@
|
||||
#define VHOST_USER_PROTOCOL_F_CONFIG 9
|
||||
#endif
|
||||
|
||||
#ifndef VHOST_USER_F_PROTOCOL_FEATURES
|
||||
#define VHOST_USER_F_PROTOCOL_FEATURES 30
|
||||
#endif
|
||||
|
||||
enum vhost_user_request {
|
||||
VHOST_USER_NONE = 0,
|
||||
VHOST_USER_GET_FEATURES = 1,
|
||||
|
@ -38,6 +38,7 @@
|
||||
|
||||
#include <rte_vhost.h>
|
||||
|
||||
#include "spdk_internal/vhost_user.h"
|
||||
#include "spdk_internal/log.h"
|
||||
#include "spdk/event.h"
|
||||
#include "spdk/rpc.h"
|
||||
@ -45,10 +46,6 @@
|
||||
|
||||
#define SPDK_CACHE_LINE_SIZE RTE_CACHE_LINE_SIZE
|
||||
|
||||
#ifndef VHOST_USER_F_PROTOCOL_FEATURES
|
||||
#define VHOST_USER_F_PROTOCOL_FEATURES 30
|
||||
#endif
|
||||
|
||||
#ifndef VIRTIO_F_VERSION_1
|
||||
#define VIRTIO_F_VERSION_1 32
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user