Re: [dpdk-dev] [PATCH v6 3/4] config: add thunderx2 machine config

2019-04-06 Thread Jerin Jacob Kollanukkaran
On Fri, 2019-04-05 at 21:09 +0200, Thomas Monjalon wrote: > 05/04/2019 20:47, Jerin Jacob Kollanukkaran: > > From: Thomas Monjalon > > > 18/03/2019 17:50, Jerin Jacob Kollanukkaran: > > > > From: Jerin Jacob > > > > > > > > Optimized configuration for Marvell thunderx2 SoC. > > > > Updated meson

Re: [dpdk-dev] [PATCH v2] crypto/virtio: fix iv offset

2019-04-06 Thread Ananyev, Konstantin
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Fan Zhang > Sent: Friday, April 5, 2019 5:04 PM > To: dev@dpdk.org > Cc: akhil.go...@nxp.com; Zhang, Roy Fan ; > sta...@dpdk.org > Subject: [dpdk-dev] [PATCH v2] crypto/virtio: fix iv offset > > This patch fixe

[dpdk-dev] [PATCH] lib/librte_table: fix arm64 hash function selection

2019-04-06 Thread Jerin Jacob Kollanukkaran
From: Jerin Jacob Use CRC32 instruction only when it is available to avoid the build issue like below. {standard input}:16: Error: selected processor does not support `crc32cx w3,w3,x0' Fixes: ea7be0a0386e ("lib/librte_table: add hash function headers") Cc: Gavin Hu Cc: sta...@dpdk.org Signed

Re: [dpdk-dev] Secondary process crash in rte_eal_init

2019-04-06 Thread Jim Holland (jimholla)
Hi, We're seeing something similar to what is described in thread below. Our product uses dpdk 17.08. Was there ever a resolution to Souvik's issue? Thanks...Jim On 01/04/2015 06:00, Dey, Souvik wrote: > Hi All, > We have a single primary application with multiple secondary >

[dpdk-dev] [PATCH v7 4/4] config: add octeontx2 machine config

2019-04-06 Thread jerinjacobk
From: Jerin Jacob Optimized configuration for Marvell octeontx2 SoC. Updated meson build to support Marvell octeontx2 SoC. Added meson cross build target for octeontx2. Signed-off-by: Jerin Jacob Signed-off-by: Pavan Nikhilesh Reviewed-by: Gavin Hu --- config/arm/arm64_octeontx2_linux_gcc

[dpdk-dev] [PATCH v7 3/4] config: add thunderx2 machine config

2019-04-06 Thread jerinjacobk
From: Jerin Jacob Optimized configuration for Marvell thunderx2 SoC. Updated meson build to support Marvell thunderx2 SoC. Added meson cross compile target. Product details are here: https://www.marvell.com/server-processors/thunderx2-arm-processors/ Signed-off-by: Jerin Jacob Signed-off-by:

[dpdk-dev] [PATCH v7 2/4] meson: add infra to support machine specific flags

2019-04-06 Thread jerinjacobk
From: Pavan Nikhilesh Currently, RTE_* flags are set based on the implementer ID but there might be some micro arch specific differences from the same vendor eg. CACHE_LINESIZE. Add support to set micro arch specific flags. Signed-off-by: Pavan Nikhilesh Signed-off-by: Jerin Jacob --- config/

[dpdk-dev] [PATCH v7 1/4] mk: introduce helper to check valid compiler argument

2019-04-06 Thread jerinjacobk
From: Jerin Jacob Introduce rte_cc_has_argument() Makefile helper to check a given argument is support by the compiler. Example Usage: include $(RTE_SDK)/mk/rte.helper.mk MACHINE_CFLAGS += $(call rte_cc_has_argument, -mcpu=octeontx2) This would allow adding -mcpu=octeontx2 in MACHINE_CFLAGS if

Re: [dpdk-dev] [RFC v2] net: fix rte_vlan_insert with shared mbuf

2019-04-06 Thread Chas Williams
On 4/4/19 7:54 PM, Stephen Hemminger wrote: On Sat, 30 Mar 2019 08:41:33 -0400 Chas Williams <3ch...@gmail.com> wrote: Unfortunately, I think the complete fix is more complicated than this. Drivers that use rte_vlan_insert don't anticipate that the mbuf might change and that (hardware) trans

Re: [dpdk-dev] [PATCH] net/vmxnet3: synchronize vmxnet definitionswith 6.7 public

2019-04-06 Thread Eduard Serra
Hey Thomas, Thanks for taking a look. My intentions is to port some of the new features on top of this patch (flow steering, ESP RSS – preparing the patches right now) which we are using inhouse to DPDK, however for that I require to upgrade definitions. The ownership of this definitions is VMwa

[dpdk-dev] [PATCH v4 1/3] app/testpmd: fix mempool free on exit

2019-04-06 Thread Shahaf Shuler
Allocated mempools were never free. it is bad practice. Fixes: af75078fece3 ("first public release") Cc: sta...@dpdk.org Signed-off-by: Shahaf Shuler --- app/test-pmd/testpmd.c | 24 ++-- 1 file changed, 18 insertions(+), 6 deletions(-) diff --git a/app/test-pmd/testpmd.c b

[dpdk-dev] [PATCH v4 2/3] app/testpmd: support creation of no IOVA contig mempools

2019-04-06 Thread Shahaf Shuler
providing a command line parameter to set the mempool flags accordingly. This mode is relevant only when creating an empty mempool and then populating with memory. Signed-off-by: Shahaf Shuler Acked-by: Anatoly Burakov --- app/test-pmd/parameters.c | 13 + app/test-pmd/t

[dpdk-dev] [PATCH v4 0/3] DMA map anonymous memory to eth devices

2019-04-06 Thread Shahaf Shuler
Small series to use the APIs introduced by commit c33a675b6276 ("bus: introduce device level DMA memory mapping") On v4: * simplify return logic from mbuf_pool_create. * remove extern from mempools structure. On v3: * remove redundant return. On v2: * enforcing parameter validity at option

[dpdk-dev] [PATCH v4 3/3] app/testpmd: map anonymous memory for eth devices

2019-04-06 Thread Shahaf Shuler
Mempools can be populated with anonymous memory when using command line parameter --mp-alloc=anon. Considering the mempools are going to be used by the net devices, it is better to DMA map this memory. This patch add such mapping now that we have the APIs in place[1]. [1] commit c33a675b6276 ("b