Spdk/lib/vhost
Tomasz Zawadzki 65bedb496f lib/vhost: add enum to differentiate the vhost backends
Each spdk_vhost_dev_backend is local to either
SCSI or BLK backends, so its not possible to gauge which
backend is used by the vdev on generic vhost layer.

Added a `type` field with matching enums to differentiate
between the two. Later patches will check that field
in vhost.c.

Signed-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Change-Id: I2a95961b9f9b5f070db7b22d44cf5114a24b1067
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/12675
Community-CI: Mellanox Build Bot
Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Shuhei Matsumoto <smatsumoto@nvidia.com>
2022-05-16 12:25:03 +00:00
..
Makefile so_ver: increase all major versions 2022-01-31 15:29:56 +00:00
rte_vhost_user.c lib/vhost: move vhost_user related fields from spdk_vhost_dev 2022-04-15 07:49:32 +00:00
spdk_vhost.map lib/vhost: Remove and inline spdk_vhost_blk_get_dev 2020-06-08 09:28:27 +00:00
vhost_blk.c lib/vhost: add enum to differentiate the vhost backends 2022-05-16 12:25:03 +00:00
vhost_internal.h lib/vhost: add enum to differentiate the vhost backends 2022-05-16 12:25:03 +00:00
vhost_rpc.c vhost: parse JSON vhost_blk devices specific params 2022-04-11 07:44:09 +00:00
vhost_scsi.c lib/vhost: add enum to differentiate the vhost backends 2022-05-16 12:25:03 +00:00
vhost.c lib/vhost: separate out vhost_user specific json config 2022-04-15 07:49:32 +00:00