All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] drivers: fix shared build error for DPAA crypto
@ 2017-10-26 14:09 Shreyansh Jain
  2017-10-26 14:09 ` [PATCH 2/2] drivers: fix shared build error for dpaa2 event Shreyansh Jain
  2017-10-26 14:10 ` [PATCH 1/2] drivers: fix shared build error for DPAA crypto Akhil Goyal
  0 siblings, 2 replies; 4+ messages in thread
From: Shreyansh Jain @ 2017-10-26 14:09 UTC (permalink / raw)
  To: dev; +Cc: olivier.matz, akhil.goyal, thomas, ferruh.yigit, Shreyansh Jain

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")
Cc: akhil.goyal@nxp.com

Signed-off-by: Shreyansh Jain <shreyansh.jain@nxp.com>
---
 drivers/bus/dpaa/rte_bus_dpaa_version.map | 9 +++++++++
 drivers/crypto/dpaa_sec/Makefile          | 2 ++
 2 files changed, 11 insertions(+)

diff --git a/drivers/bus/dpaa/rte_bus_dpaa_version.map b/drivers/bus/dpaa/rte_bus_dpaa_version.map
index 64a05a9..fb9d532 100644
--- a/drivers/bus/dpaa/rte_bus_dpaa_version.map
+++ b/drivers/bus/dpaa/rte_bus_dpaa_version.map
@@ -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;
diff --git a/drivers/crypto/dpaa_sec/Makefile b/drivers/crypto/dpaa_sec/Makefile
index 9a061b4..17bc79c 100644
--- a/drivers/crypto/dpaa_sec/Makefile
+++ b/drivers/crypto/dpaa_sec/Makefile
@@ -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
-- 
2.9.3

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-10-26 21:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-26 14:09 [PATCH 1/2] drivers: fix shared build error for DPAA crypto Shreyansh Jain
2017-10-26 14:09 ` [PATCH 2/2] drivers: fix shared build error for dpaa2 event Shreyansh Jain
2017-10-26 14:10 ` [PATCH 1/2] drivers: fix shared build error for DPAA crypto Akhil Goyal
2017-10-26 21:06   ` Thomas Monjalon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.