On Thu, Nov 12, 2020 at 10:39:33AM +0100, David Marchand wrote: > On Thu, Nov 12, 2020 at 10:31 AM Bruce Richardson > <bruce.richard...@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 > My mistake, I assumed the reference was to the rte_ioat_rawdev.h file from the ioat driver. Please ignore my comment so.
- [dpdk-dev] [PATCH v1] examples/vhost: fix ioat dependency... Cheng Jiang
- Re: [dpdk-dev] [PATCH v1] examples/vhost: fix ioat d... David Marchand
- Re: [dpdk-dev] [PATCH v1] examples/vhost: fix io... Bruce Richardson
- Re: [dpdk-dev] [PATCH v1] examples/vhost: fix io... Jiang, Cheng1
- Re: [dpdk-dev] [PATCH v1] examples/vhost: fi... Bruce Richardson
- Re: [dpdk-dev] [PATCH v1] examples/vhost... David Marchand
- Re: [dpdk-dev] [PATCH v1] examples/... Bruce Richardson
- [dpdk-dev] [PATCH v2] examples/vhost: fix ioat depen... Cheng Jiang
- [dpdk-dev] [PATCH v3] examples/vhost: fix ioat depen... Cheng Jiang
- Re: [dpdk-dev] [PATCH v3] examples/vhost: fix io... David Marchand
- Re: [dpdk-dev] [PATCH v3] examples/vhost: fi... Bruce Richardson
- Re: [dpdk-dev] [PATCH v3] examples/vhost... Jiang, Cheng1
- Re: [dpdk-dev] [PATCH v3] examples/... Bruce Richardson
- Re: [dpdk-dev] [PATCH v3] examp... Jiang, Cheng1
- [dpdk-dev] [PATCH v4] examples/vhost: fix ioat depen... Cheng Jiang
- Re: [dpdk-dev] [PATCH v4] examples/vhost: fix io... Bruce Richardson
- Re: [dpdk-dev] [PATCH v4] examples/vhost: fi... Jiang, Cheng1