summaryrefslogtreecommitdiff
path: root/drivers/net/Makefile
diff options
context:
space:
mode:
authorSantosh Shukla <santosh.shukla@caviumnetworks.com>2017-10-16 13:42:46 +0000
committerThomas Monjalon <thomas@monjalon.net>2017-10-23 16:51:00 +0200
commit89ee1e94bc2d97ccb1ee00c834d81b1a895d0241 (patch)
tree47bdc41b5ffd06186e18922f55d173a932918bbe /drivers/net/Makefile
parent1513fc302300f309a3a14d3d88ebafc223d54057 (diff)
downloaddpdk-next-eventdev-89ee1e94bc2d97ccb1ee00c834d81b1a895d0241.zip
dpdk-next-eventdev-89ee1e94bc2d97ccb1ee00c834d81b1a895d0241.tar.gz
dpdk-next-eventdev-89ee1e94bc2d97ccb1ee00c834d81b1a895d0241.tar.xz
mempool/octeontx: move mbox from event to mempool
Octeontx mempool pmd need mailbox for pool setup. That mailbox was defined at drivers/event/octeontx. So mempool has dependency on event/octeontx driver and commit:8700239f7767 has added make rule which makes sure event/* get build before mempool, but this rule introduces cyclic dependency and may create problem to future feature addition in drivers/Makefile. Same problem noticed and reported in below thread: http://dpdk.org/ml/archives/dev/2017-October/079187.html The patch solves problem by moving mbox definition from drivers/event/octeontx to drivers/mempool/octeontx. Moving mbox files involves below changes: * Renamed ssovf_mbox.[ch] --> octeontx_mbox.[ch] * Renamed ssovf_probe.c --> octeontx_ssovf.c * Introduced pool logger file. * Moved API from rte_pmd_octeontx_ssovf_version.map to rte_mempool_octeontx_version.map. * Respective Makefile changes done in drivers/event/octeontx/Makefile and drivers/mempool/octeontx/Makefile. Fixes: 8700239f7767 ("mempool/octeontx: add build and log infrastructure") Reported-by: Hemant Agrawal <hemant.agrawal@nxp.com> Signed-off-by: Santosh Shukla <santosh.shukla@caviumnetworks.com> Tested-by: Hemant Agrawal <hemant.agrawal@nxp.com> Reviewed-by: Pavan Nikhilesh <pbhagavatula@caviumnetworks.com>
Diffstat (limited to 'drivers/net/Makefile')
-rw-r--r--drivers/net/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/Makefile b/drivers/net/Makefile
index 5d2ad2f..012af88 100644
--- a/drivers/net/Makefile
+++ b/drivers/net/Makefile
@@ -84,7 +84,7 @@ DEPDIRS-bnxt = $(core-libs)
DIRS-$(CONFIG_RTE_LIBRTE_PMD_NULL) += null
DEPDIRS-null = $(core-libs)
DIRS-$(CONFIG_RTE_LIBRTE_OCTEONTX_PMD) += octeontx
-DEPDIRS-octeontx = $(core-libs) librte_eventdev librte_pmd_octeontx_ssovf
+DEPDIRS-octeontx = $(core-libs) librte_mempool_octeontx librte_eventdev
DIRS-$(CONFIG_RTE_LIBRTE_PMD_PCAP) += pcap
DEPDIRS-pcap = $(core-libs)
DIRS-$(CONFIG_RTE_LIBRTE_QEDE_PMD) += qede