[dpdk-dev] [PATCH v1] examples/vhost: fix ioat dependency issue
David Marchand
david.marchand at redhat.com
Thu Nov 12 10:39:33 CET 2020
On Thu, Nov 12, 2020 at 10:31 AM Bruce Richardson
<bruce.richardson at intel.com> wrote:
> > > main.c should check for RTE_RAW_IOAT before including ioat.h.
> > > And then in this header, you can remove this stub too.
> > >
> >
> > As for this one, ioat.h don't have dependency on IOAT driver, it is needed by the example regardless of whether the raw/ioat driver exists. And I added more RTE_RAW_IOAT check in ioat.h. Now it can be compiled.
> >
>
> The trouble is that the ioat header file won't be installed if the driver
> is not built. They will be available for building inside the source tree,
> but not on a system with dpdk installed using "ninja install"
I tested disabling the driver, and I can see:
installdir/usr/local/share/dpdk/examples/vhost/ioat.h
--
David Marchand
More information about the dev
mailing list