[dpdk-dev] [PATCH 1/2] mk: add Marvell ARMADA architecture based on armv8-a

Ruifeng Wang (Arm Technology China) Ruifeng.Wang at arm.com
Thu May 23 12:11:22 CEST 2019


Hi Liron,

> -----Original Message-----
> From: dev <dev-bounces at dpdk.org> On Behalf Of lironh at marvell.com
> Sent: Saturday, May 18, 2019 05:27
> To: thomas at monjalon.net
> Cc: dev at dpdk.org; Liron Himi <lironh at marvell.com>
> Subject: [dpdk-dev] [PATCH 1/2] mk: add Marvell ARMADA architecture
> based on armv8-a
> 
> From: Liron Himi <lironh at marvell.com>
> 
> This patch introduces armada target to address difference in number of cores,
> no numa support
> 
> Change-Id: Ieaabe77b165000fe1280f98105329a0e63833b92
> Signed-off-by: Liron Himi <lironh at marvell.com>
> Reviewed-by: Alan Winkowski
> Tested-by: Liron Himi
> ---

My local compilation on MacchiatoBin failed with the target.
I have musdk-armada-18.09 checked out from https://github.com/MarvellEmbeddedProcessors/musdk-marvell.git
LIBMUSDK_PATH was set before compiling.
Hit errors as below:
	== Build drivers/net/mvneta
	  CC mvneta_ethdev.o
	In file included from /home/arm/dpdk/drivers/net/mvneta/mvneta_rxtx.h:10:0,
					 from /home/arm/dpdk/drivers/net/mvneta/mvneta_ethdev.c:25:
	/home/arm/dpdk/drivers/net/mvneta/mvneta_ethdev.h:24:29: fatal error: drivers/mv_neta.h: No such file or directory
	compilation terminated.
	/home/arm/dpdk/mk/internal/rte.compile-pre.mk:114: recipe for target 'mvneta_ethdev.o' failed

I tried to copy  the files from musdk to LIBMUSDK_PATH, but still cannot finish compiling.
	  CC test_ipsec.o
	  LD test
	/home/arm/dpdk/arm64-armada-linuxapp-gcc/lib/librte_pmd_mvneta.a(mvneta_ethdev.o): In function `mvneta_stats_get':
	mvneta_ethdev.c:(.text+0x1c4): undefined reference to `neta_ppio_get_statistics'
	/home/arm/dpdk/arm64-armada-linuxapp-gcc/lib/librte_pmd_mvneta.a(mvneta_ethdev.o): In function `mvneta_mtu_set':
	mvneta_ethdev.c:(.text+0x368): undefined reference to `neta_ppio_set_mru'
	mvneta_ethdev.c:(.text+0x37c): undefined reference to `neta_ppio_set_mtu'
	/home/arm/dpdk/arm64-armada-linuxapp-gcc/lib/librte_pmd_mvneta.a(mvneta_ethdev.o): In function `mvneta_promiscuous_disable':
	mvneta_ethdev.c:(.text+0x4e4): undefined reference to `neta_ppio_get_promisc'
	mvneta_ethdev.c:(.text+0x4f8): undefined reference to `neta_ppio_set_promisc'
	......

My musdk repo is updated. Is anything else needed?

Regards,
/Ruifeng


More information about the dev mailing list