crypto/dpaa_sec: fix shared build
authorShreyansh Jain <shreyansh.jain@nxp.com>
Thu, 26 Oct 2017 14:09:05 +0000 (19:39 +0530)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 26 Oct 2017 20:50:53 +0000 (22:50 +0200)
Various symbols are being used by DPAA Crypto driver which were not exposed
from DPAA bus during initial version. This breaks the shared build.

This patch also adds the LDLIBS line required after (cbc12b0a9) patch.

Fixes: c3e85bdcc6e6 ("crypto/dpaa_sec: add crypto driver for NXP DPAA platform")

Signed-off-by: Shreyansh Jain <shreyansh.jain@nxp.com>
Acked-by: Akhil Goyal <akhil.goyal@nxp.com>
drivers/bus/dpaa/rte_bus_dpaa_version.map
drivers/crypto/dpaa_sec/Makefile

index 64a05a9..fb9d532 100644 (file)
@@ -40,14 +40,23 @@ DPDK_17.11 {
        fman_ip_rev;
        netcfg_acquire;
        netcfg_release;
+       of_find_compatible_node;
+       of_get_property;
+       qm_channel_caam;
        qman_create_fq;
        qman_dequeue;
        qman_dqrr_consume;
+       qman_enqueue;
        qman_enqueue_multi;
+       qman_fq_fqid;
+       qman_fq_state;
        qman_global_init;
        qman_init_fq;
+       qman_poll_dqrr;
+       qman_query_fq_np;
        qman_set_vdq;
        qman_reserve_fqid_range;
+       qman_volatile_dequeue;
        rte_dpaa_driver_register;
        rte_dpaa_driver_unregister;
        rte_dpaa_mem_ptov;
index 9a061b4..17bc79c 100644 (file)
@@ -53,6 +53,8 @@ CFLAGS += -I$(RTE_SDK)/drivers/crypto/dpaa_sec/
 CFLAGS += -I$(RTE_SDK)/drivers/crypto/dpaa2_sec/
 CFLAGS += -I$(RTE_SDK)/lib/librte_eal/common/include
 CFLAGS += -I$(RTE_SDK)/lib/librte_eal/linuxapp/eal
+LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring
+LDLIBS += -lrte_cryptodev
 
 # versioning export map
 EXPORT_MAP := rte_pmd_dpaa_sec_version.map