X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;ds=sidebyside;f=lib%2Fvhost%2Frte_vhost.h;h=c733f857c62bec13a0e08b44a61c7f574110a991;hb=1fd3de64ff47f8865f9cbd13bb8f20611beb3cfa;hp=b454c05868e1d9f138b577c92cb712d0920a3383;hpb=4a6672c2d301c105189ae74de73260af204c5ee8;p=dpdk.git diff --git a/lib/vhost/rte_vhost.h b/lib/vhost/rte_vhost.h index b454c05868..c733f857c6 100644 --- a/lib/vhost/rte_vhost.h +++ b/lib/vhost/rte_vhost.h @@ -21,10 +21,12 @@ extern "C" { #endif +#ifndef __cplusplus /* These are not C++-aware. */ #include #include #include +#endif #define RTE_VHOST_USER_CLIENT (1ULL << 0) #define RTE_VHOST_USER_NO_RECONNECT (1ULL << 1) @@ -113,6 +115,8 @@ extern "C" { #define VHOST_USER_F_PROTOCOL_FEATURES 30 #endif +#define RTE_MAX_VHOST_DEVICE 1024 + struct rte_vdpa_device; /**