vhost: split vDPA header file
authorMaxime Coquelin <maxime.coquelin@redhat.com>
Fri, 26 Jun 2020 14:04:41 +0000 (16:04 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 30 Jun 2020 12:52:30 +0000 (14:52 +0200)
commita49f758d1170659a5ba9103081502094f9260fce
tree83187b78b9b82bbf8f56196573927f335c30acb2
parente91ac959fadcfb10e7cf82e5b9c239cc36929e7a
vhost: split vDPA header file

This patch split the vDPA header file in two, making
rte_vdpa_device structure opaque to the application.

Applications should only include rte_vdpa.h, while drivers
should include both rte_vdpa.h and rte_vdpa_dev.h.

Signed-off-by: Maxime Coquelin <maxime.coquelin@redhat.com>
Acked-by: Adrián Moreno <amorenoz@redhat.com>
drivers/vdpa/ifc/ifcvf_vdpa.c
drivers/vdpa/mlx5/mlx5_vdpa.h
lib/librte_vhost/Makefile
lib/librte_vhost/meson.build
lib/librte_vhost/rte_vdpa.h
lib/librte_vhost/rte_vdpa_dev.h [new file with mode: 0644]
lib/librte_vhost/vdpa.c
lib/librte_vhost/vhost.h