[dpdk-dev] [PATCH] test/eventdev: fix compilation with crypto disabled
Thomas Monjalon
thomas.monjalon at 6wind.com
Thu Apr 6 17:35:09 CEST 2017
> > There is a compilation error in the following case:
> >
> > make config T=x86_64-native-linuxapp-gcc
> > sed -i 's,CONFIG_RTE_LIBRTE_CRYPTODEV=y,CONFIG_RTE_LIBRTE_CRYPTODEV=n,' \
> > build/.config
> > sed -i 's,CONFIG_RTE_APP_CRYPTO_PERF=y,CONFIG_RTE_APP_CRYPTO_PERF=n,' \
> > build/.config
> > make -j4
> > make -j4 test-build
> >
> > test_eventdev.c:39:27: fatal error:
> > rte_cryptodev.h: No such file or directory
> > #include <rte_cryptodev.h>
> > ^
> >
> > Removing the include induces a new error, (missing declaration of
> > rte_eal_vdev_init()), which is fixed by including rte_dev.h.
> >
> > Fixes: f8f9d233ea0e ("test/eventdev: add unit tests")
> >
> > Signed-off-by: Olivier Matz <olivier.matz at 6wind.com>
>
> Acked-by: Jerin Jacob <jerin.jacob at caviumnetworks.com>
Applied, thanks
More information about the dev
mailing list