drivers: fix the event dependency on crypto
Checks
Commit Message
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@dpdk.org
Suggested-by: Ferruh Yigit <ferruh.yigit@intel.com>
Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>
---
drivers/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Comments
On Thu, Mar 5, 2020 at 7:32 AM Hemant Agrawal <hemant.agrawal@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@dpdk.org
>
Reported-by: David Marchand <david.marchand@redhat.com>
> Suggested-by: Ferruh Yigit <ferruh.yigit@intel.com>
> Signed-off-by: Hemant Agrawal <hemant.agrawal@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@redhat.com>
On Thu, Mar 5, 2020 at 9:04 AM David Marchand <david.marchand@redhat.com> wrote:
> On Thu, Mar 5, 2020 at 7:32 AM Hemant Agrawal <hemant.agrawal@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@dpdk.org
> >
>
> Reported-by: David Marchand <david.marchand@redhat.com>
> > Suggested-by: Ferruh Yigit <ferruh.yigit@intel.com>
> > Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>
> Acked-by: David Marchand <david.marchand@redhat.com>
>
Applied.
@@ -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