On Thu, Aug 29, 2019 at 09:59:46AM +0200, Maxime Coquelin wrote: > This is preliminary rework for virtio-vdpa driver, in > order to avoid conflicts with Virtio PMD headers. > > Generally, I think it is better not to include kernel > headers in RTE headers, especially in the case of Vhost > and Virtio which just re-use the kernel definitions, > and has no runtime dependencies. > > In order to not break IFC driver build, the vhost kernel > header is now included directly in the driver. > > Signed-off-by: Maxime Coquelin <maxime.coque...@redhat.com> > --- > drivers/net/ifc/ifcvf_vdpa.c | 1 + > lib/librte_vhost/rte_vdpa.h | 1 - > lib/librte_vhost/rte_vhost.h | 9 ++++----- > 3 files changed, 5 insertions(+), 6 deletions(-)
Vhost examples need to be updated as well. Regards, Tiwei > > diff --git a/drivers/net/ifc/ifcvf_vdpa.c b/drivers/net/ifc/ifcvf_vdpa.c > index 8de9ef199..40cb15ca8 100644