[dpdk-dev] [dpdk-stable] [PATCH] drivers: fix the event dependency on crypto

David Marchand david.marchand at redhat.com
Thu Mar 5 09:04:22 CET 2020


On Thu, Mar 5, 2020 at 7:32 AM Hemant Agrawal <hemant.agrawal at nxp.com> wrote:
>
> Since the introduction of crypto event adapters, event drivers
> have dependencies on crypto drivers.
>
> /usr/bin/ld: cannot find -lrte_pmd_dpaa_sec
> collect2: error: ld returned 1 exit status
> make[9]: *** [.../mk/rte.lib.mk:100:
>         librte_pmd_dpaa_event.so.20.0.2] Error 1
>
> Fixes: b0f66a68ca74 ("event/dpaa: support crypto adapter")
> Fixes: 3721c39f405a ("event/dpaa2: support crypto adapter")
> Cc: stable at dpdk.org
>

Reported-by: David Marchand <david.marchand at redhat.com>

> Suggested-by: Ferruh Yigit <ferruh.yigit at intel.com>
> Signed-off-by: Hemant Agrawal <hemant.agrawal at nxp.com>
> ---
>  drivers/Makefile | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/Makefile b/drivers/Makefile
> index 46374ca69..c70bdf9cc 100644
> --- a/drivers/Makefile
> +++ b/drivers/Makefile
> @@ -21,7 +21,7 @@ DEPDIRS-compress := bus mempool
>  DIRS-$(CONFIG_RTE_LIBRTE_VHOST) += vdpa
>  DEPDIRS-vdpa := common bus mempool
>  DIRS-$(CONFIG_RTE_LIBRTE_EVENTDEV) += event
> -DEPDIRS-event := common bus mempool net
> +DEPDIRS-event := common bus mempool net crypto
>  DIRS-$(CONFIG_RTE_LIBRTE_RAWDEV) += raw
>  DEPDIRS-raw := common bus mempool net event

Acked-by: David Marchand <david.marchand at redhat.com>


-- 
David Marchand



More information about the dev mailing list