Re: [dpdk-dev] [PATCH v4 1/6] vfio: allow DMA map of memory for the default vfio fd

2019-03-29 Thread Thomas Monjalon
10/03/2019 09:27, Shahaf Shuler: > Enable users the option to call rte_vfio_dma_map with request to map > to the default vfio fd. > > Signed-off-by: Shahaf Shuler > Acked-by: Anatoly Burakov > --- > --- a/doc/guides/rel_notes/release_19_05.rst > +++ b/doc/guides/rel_notes/release_19_05.rst > @@

Re: [dpdk-dev] [PATCH] examples: detect build directory rather than hardcoding

2019-03-29 Thread Thomas Monjalon
27/03/2019 16:02, Ferruh Yigit: > On 3/27/2019 1:58 PM, Bruce Richardson wrote: > > Most examples have in their makefiles a default RTE_TARGET directory to be > > used in case RTE_TARGET is not set. Rather than just using a hard-coded > > default, we can instead detect what the build directory is r

Re: [dpdk-dev] [PATCH v6] net/kni: calc mbuf&mtu according to given mb_pool

2019-03-29 Thread Thomas Monjalon
26/03/2019 18:59, Ferruh Yigit: > On 3/26/2019 6:40 PM, lir...@marvell.com wrote: > > From: Liron Himi > > > > - mbuf_size and mtu are now being calculated according > > to the given mb-pool. > > > > - max_mtu is now being set according to the given mtu > > > > the above two changes provide the

Re: [dpdk-dev] [dpdk-stable] [PATCH v4] mem: warn user when running without NUMA support

2019-03-29 Thread Thomas Monjalon
29/03/2019 15:01, Anatoly Burakov: > Running in non-legacy mode on a NUMA-enabled system without libnuma > is unsupported, so explicitly print out a warning when trying to > do so. > > Running in legacy mode without libnuma is still supported whether or > not we are running with libnuma support en

Re: [dpdk-dev] [PATCH] ci: fix arm64 config filename

2019-03-29 Thread Thomas Monjalon
29/03/2019 17:14, Aaron Conole: > David Marchand writes: > > > The ARM64 config file has been renamed in the commit > > ae2f2fee247a ("build: rename linuxapp to linux in meson cross files"). > > > > Fixes: 99889bd85228 ("ci: introduce Travis builds for GitHub repositories") > > Signed-off-by: Dav

Re: [dpdk-dev] [PATCH v2 1/2] test/distributor: flush with worker shutdown test fails

2019-03-29 Thread Thomas Monjalon
18/02/2019 15:51, Harman Kalra: > On restarting worker 0 after shutdown, packets handled by > worker 0 must be incremented only when a packet is received by > it. > > Signed-off-by: Harman Kalra It looks to be a fix, so the tag Fixes: should be added to help with backport, please. The title may

Re: [dpdk-dev] [PATCH 2/3] test: remove prefix _acpi from UT power function/test names

2019-03-29 Thread Thomas Monjalon
27/03/2019 16:07, Burakov, Anatoly: > On 07-Mar-19 1:59 PM, Lukasz Krakowiak wrote: > > This patch remove prefix _acpi from power UT function/test names. I think it can be merged with patch renaming the file.

Re: [dpdk-dev] [PATCH] power: extend debugs on power instruction requests

2019-03-29 Thread Thomas Monjalon
28/03/2019 17:11, Lukasz Krakowiak: > Extend debugs on power instruction and cmd police destroy > requests. > > Signed-off-by: Lukasz Krakowiak Applied, thanks

Re: [dpdk-dev] [PATCH v3 1/8] stack: introduce rte stack library

2019-03-29 Thread Thomas Monjalon
29/03/2019 20:23, Eads, Gage: > @Thomas: I expect I can address Honnappa's feedback within a day or two. > Since today is the 19.05 merge deadline, what do you think about these > options for merging? > 1. Merge V4 now and address these comments during RC1. > 2. Delay merge until RC2, with all co

Re: [dpdk-dev] [PATCH v2] ethdev: support double precision RED queue weight

2019-03-29 Thread Dumitrescu, Cristian
> -Original Message- > From: Rao, Nikhil > Sent: Thursday, January 10, 2019 4:36 PM > To: Dumitrescu, Cristian ; Singh, Jasvinder > > Cc: Lu, Wenzhuo ; Wu, Jingjing > ; Iremonger, Bernard > ; dev@dpdk.org; Rao, Nikhil > > Subject: [PATCH v2] ethdev: support double precision RED queue w

Re: [dpdk-dev] [PATCH v6 1/4] pipeline: support QinQ PPPoE encap

2019-03-29 Thread Dumitrescu, Cristian
> -Original Message- > From: Marjanovic, Nemanja > Sent: Monday, January 21, 2019 11:11 AM > To: dev@dpdk.org > Cc: Singh, Jasvinder ; Dumitrescu, Cristian > ; Marjanovic, Nemanja > > Subject: [PATCH v6 1/4] pipeline: support QinQ PPPoE encap > > From: "Nemanja Marjanovic" > > Add su

Re: [dpdk-dev] [PATCH v3] lib/librte_meter: fix divide by zero for RFC4115 meter

2019-03-29 Thread Dumitrescu, Cristian
> -Original Message- > From: Eelco Chaudron [mailto:echau...@redhat.com] > Sent: Tuesday, March 19, 2019 12:11 PM > To: Dumitrescu, Cristian > Cc: dev@dpdk.org > Subject: [PATCH v3] lib/librte_meter: fix divide by zero for RFC4115 meter > > RFC 4115 allows a meter with either cir and/or

[dpdk-dev] [pull-request] next-qos 19.05 PRE-RC1

2019-03-29 Thread Cristian Dumitrescu
power: update error handling (2019-03-29 15:29:31 +0100) are available in the Git repository at: http://dpdk.org/git/next/dpdk-next-qos for you to fetch changes up to 7c537589db2aa1f35681e39d9270d5fe8b04fb11: net: add PPPoE ethertypes (2019-03-29 19:55:25 +)

Re: [dpdk-dev] [PATCH v3] doc: add cryptodev xform deprecation notice

2019-03-29 Thread Thomas Monjalon
29/03/2019 16:59, Akhil Goyal: > > On 3/29/2019 9:19 PM, Akhil Goyal wrote: > > > > On 3/29/2019 7:45 PM, Akhil Goyal wrote: > >> On 3/29/2019 7:29 PM, Akhil Goyal wrote: > >>> On 3/22/2019 10:04 PM, Fan Zhang wrote: > This patch adds the deprecation notice of changing Cryptodev > symmet

Re: [dpdk-dev] [PATCH v3 5/8] stack: add lock-free stack implementation

2019-03-29 Thread Eads, Gage
> -Original Message- > From: Honnappa Nagarahalli [mailto:honnappa.nagaraha...@arm.com] > Sent: Thursday, March 28, 2019 6:27 PM > To: Eads, Gage ; dev@dpdk.org > Cc: olivier.m...@6wind.com; arybche...@solarflare.com; Richardson, Bruce > ; Ananyev, Konstantin > ; Gavin Hu (Arm Technology

Re: [dpdk-dev] [PATCH v3 6/8] stack: add C11 atomic implementation

2019-03-29 Thread Eads, Gage
[snip] > > +static __rte_always_inline void > > +__rte_stack_lf_push(struct rte_stack_lf_list *list, > > + struct rte_stack_lf_elem *first, > > + struct rte_stack_lf_elem *last, > > + unsigned int num) > > +{ > > +#ifndef RTE_ARCH_X86_64 > > + RTE_SET_US

Re: [dpdk-dev] [PATCH v3 1/8] stack: introduce rte stack library

2019-03-29 Thread Eads, Gage
@Thomas: I expect I can address Honnappa's feedback within a day or two. Since today is the 19.05 merge deadline, what do you think about these options for merging? 1. Merge V4 now and address these comments during RC1. 2. Delay merge until RC2, with all comments addressed. In terms of risk, Hon

Re: [dpdk-dev] [PATCH v2 00/15] Add patch set for IPN3KE

2019-03-29 Thread Ferruh Yigit
On 3/29/2019 3:58 PM, Rosen Xu wrote: > v2 updates: > == > - Fix v1 comments > - Add support for 10G Base Line Design Bitstream > - Add support for 25G Base Line Design Bitstream > > This patch set adds the support of a new net PMD, IntelĀ® FPGA Programmable > Acceleration Card N3000, al

Re: [dpdk-dev] [PATCH v2] net/ixgbe: enable 10Mb/s link setup for x553

2019-03-29 Thread Stillwell Jr, Paul M
> -Original Message- > From: dev On Behalf Of Wei Zhao > Sent: Friday, March 29, 2019 1:16 AM > To: dev@dpdk.org > Cc: Lu, Wenzhuo ; sta...@dpdk.org; Zhang, Qi Z > ; Zhao1, Wei > Subject: [dpdk-dev] [PATCH v2] net/ixgbe: enable 10Mb/s link setup for x553 > > There is need to eanble 10M

Re: [dpdk-dev] [PATCH v4] app/testpmd: make txonly mode generate multiple flows

2019-03-29 Thread Ferruh Yigit
On 3/29/2019 9:55 AM, Iremonger, Bernard wrote: >> -Original Message- >> From: Yongseok Koh [mailto:ys...@mellanox.com] >> Sent: Thursday, March 28, 2019 6:46 PM >> To: Lu, Wenzhuo ; Wu, Jingjing >> >> Cc: dev@dpdk.org; Iremonger, Bernard ; >> jer...@marvell.com; Ananyev, Konstantin >> Su

Re: [dpdk-dev] [PATCH] examples/ipsec-secgw: fix SPD no-match is misinterpreted

2019-03-29 Thread Ananyev, Konstantin
Hi Akhil, > > On 3/28/2019 6:17 PM, Konstantin Ananyev wrote: > > acl_classify() returns zero value when no matching rule was found. > > Currently ipsec-secgw treats it as a valid SPI value, though it has > > to discard such packets. > > Error could be easily observed by sending outbound unmatche

Re: [dpdk-dev] [PATCH v3 1/7] ethdev: add min/max MTU to device info

2019-03-29 Thread Ferruh Yigit
On 3/29/2019 5:56 PM, Ferruh Yigit wrote: > On 3/29/2019 5:52 PM, Ferruh Yigit wrote: >> From: Stephen Hemminger >> >> This addresses the usability issue raised by OVS at DPDK Userspace >> summit. It adds general min/max mtu into device info. For compatiablity, >> and to save space, it fits in a h

Re: [dpdk-dev] [RFC] cryptodev/sym: GCM IV len != 12 byte case

2019-03-29 Thread Trahe, Fiona
Hi Arek, > -Original Message- > From: Kusztal, ArkadiuszX > Sent: Wednesday, March 20, 2019 6:47 PM > To: dev@dpdk.org; Trahe, Fiona ; Doherty, Declan > ; > De Lara Guarch, Pablo ; akhil.go...@nxp.com; > ravi1.ku...@amd.com; > t...@semihalf.com; lir...@marvell.com; wa...@marvell.com > Su

Re: [dpdk-dev] [PATCH v3 1/7] ethdev: add min/max MTU to device info

2019-03-29 Thread Ferruh Yigit
On 3/29/2019 5:52 PM, Ferruh Yigit wrote: > From: Stephen Hemminger > > This addresses the usability issue raised by OVS at DPDK Userspace > summit. It adds general min/max mtu into device info. For compatiablity, > and to save space, it fits in a hole in existing structure. > > The initial vers

Re: [dpdk-dev] [PATCH v2] lib/power: fix governor storage to trim newlines

2019-03-29 Thread Burakov, Anatoly
On 29-Mar-19 4:39 PM, David Hunt wrote: Currently the Power Libray stores the governor name with an embedded newline read from the scaling_governor sysfs file. This patch strips it out. Fixes: 445c6528b55f ("power: common interface for guest and host") Cc: sta...@dpdk.org Signed-off-by: David H

[dpdk-dev] [PATCH v2 1/2] memalloc: refactor segment resizing code

2019-03-29 Thread Anatoly Burakov
Currently, segment resizing code sits in one giant function which handles both in-memory and regular modes. Split them up into individual functions. Signed-off-by: Anatoly Burakov --- lib/librte_eal/linux/eal/eal_memalloc.c | 72 +++-- 1 file changed, 45 insertions(+), 27 del

[dpdk-dev] [PATCH v2 2/2] memalloc: do not use lockfiles for single file segments mode

2019-03-29 Thread Anatoly Burakov
Due to internal glibc limitations [1], DPDK may exhaust internal file descriptor limits when using smaller page sizes, which results in inability to use system calls such as select() by user applications. Single file segments option stores lock files per page to ensure that pages are deleted when

[dpdk-dev] [PATCH v3 7/7] app/testpmd: verify MTU with device provided limits

2019-03-29 Thread Ferruh Yigit
From: Ian Stokes This commit uses the mtu fields populated in rte_eth_dev_info_get() to validate the mtu value being passed in port_mtu_set(). Signed-off-by: Ian Stokes --- app/test-pmd/config.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/app/test-pmd/config.c b/app/test-pmd/con

[dpdk-dev] [PATCH v3 3/7] net/i40e: set min and max MTU for i40e VF devices

2019-03-29 Thread Ferruh Yigit
From: Ian Stokes This commit sets the min and max supported MTU values for i40e VF devices via the i40evf_dev_info_get() function. Min MTU supported is set to ETHER_MIN_MTU and max mtu is calculated as the max packet length supported minus the transport overhead. Signed-off-by: Ian Stokes ---

[dpdk-dev] [PATCH v3 6/7] net/e1000: set min and max MTU for igb devices

2019-03-29 Thread Ferruh Yigit
From: Ian Stokes This commit sets the min and max supported MTU values for igb devices via the eth_igb_info_get() function. Min MTU supported is set to ETHER_MIN_MTU and max mtu is calculated as the max packet length supported minus the transport overhead. To aid in these calculations a new MACRO

[dpdk-dev] [PATCH v3 4/7] net/ixgbe: set min and max MTU for ixgbe devices

2019-03-29 Thread Ferruh Yigit
From: Ian Stokes This commit sets the min and max supported MTU values for ixgbe devices via the ixgbe_dev_info_get() function. Min MTU supported is set to ETHER_MIN_MTU and max mtu is calculated as the max packet length supported minus the transport overhead. To aid in these calculations a new M

[dpdk-dev] [PATCH v3 5/7] net/ixgbe: set min and max MTU for ixgbe VF devices

2019-03-29 Thread Ferruh Yigit
From: Ian Stokes This commit sets the min and max supported MTU values for ixgbe VF devices via the ixgbevf_dev_set_mtu() function. Min MTU supported is set to ETHER_MIN_MTU and max mtu is calculated as the max packet length supported minus the transport overhead. As transport overhead is the sam

[dpdk-dev] [PATCH v3 1/7] ethdev: add min/max MTU to device info

2019-03-29 Thread Ferruh Yigit
From: Stephen Hemminger This addresses the usability issue raised by OVS at DPDK Userspace summit. It adds general min/max mtu into device info. For compatiablity, and to save space, it fits in a hole in existing structure. The initial version sets max mtu to normal Ethernet, it is up to PMD to

[dpdk-dev] [PATCH v3 2/7] net/i40e: set min and max MTU for i40e devices

2019-03-29 Thread Ferruh Yigit
From: Ian Stokes This commit sets the min and max supported MTU values for i40e devices via the i40e_dev_info_get() function. Min MTU supported is set to ETHER_MIN_MTU and max mtu is calculated as the max packet length supported minus the transport overhead. Signed-off-by: Ian Stokes --- drive

[dpdk-dev] [PATCH v2] app/testpmd: verify MTU with device provided limits

2019-03-29 Thread Ferruh Yigit
From: Ian Stokes This commit uses the mtu fields populated in rte_eth_dev_info_get() to validate the mtu value being passed in port_mtu_set(). Signed-off-by: Ian Stokes --- app/test-pmd/config.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/app/test-pmd/config.c b/app/test-pmd/con

Re: [dpdk-dev] [PATCH v6 4/5] net/af_xdp: use mbuf mempool for buffer management

2019-03-29 Thread Olivier Matz
Hi Xiaolong, On Tue, Mar 26, 2019 at 08:20:28PM +0800, Xiaolong Ye wrote: > Now, af_xdp registered memory buffer is managed by rte_mempool. mbuf > allocated from rte_mempool can be converted to xdp_desc's address and > vice versa. > > Signed-off-by: Xiaolong Ye > --- > drivers/net/af_xdp/rte_et

Re: [dpdk-dev] [PATCH v7 3/5] lib/mempool: allow page size aligned mempool

2019-03-29 Thread Olivier Matz
Hi, On Fri, Mar 29, 2019 at 01:37:17PM +0300, Andrew Rybchenko wrote: > On 3/27/19 12:00 PM, Xiaolong Ye wrote: > > Allow create a mempool with page size aligned base address. > > > > Signed-off-by: Qi Zhang > > Signed-off-by: Xiaolong Ye > > --- > > lib/librte_mempool/rte_mempool.c | 3 +++ >

[dpdk-dev] [RFC 3/3] ci: enable tests on non-arm platforms

2019-03-29 Thread Aaron Conole
When building under Travis (or another linux CI service), enable running the tests for each build. Signed-off-by: Aaron Conole --- .ci/linux-build.sh | 7 +++ .ci/linux-setup.sh | 6 +- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/.ci/linux-build.sh b/.ci/linux-build.sh

[dpdk-dev] [RFC 0/3] ci: enable unit tests for non-aarch64 platforms

2019-03-29 Thread Aaron Conole
This series is submitted as an RFC because a number of the unit tests are not successful in the travis environment. If all of them were passing, this would be submitted as PATCH instead. It could be accepted as-is but I would prefer to see all the tests passing first. The first patch fixes up th

[dpdk-dev] [RFC 2/3] meson-tests: separate slower tests

2019-03-29 Thread Aaron Conole
When running some tests in the CI environment, the run time can take in excess of 10 minutes to produce output. This causes the entire CI run not to succeed. Separate these tests so that they can be run from a normal environment, and deselected in a CI environment. There's also a small whitespac

[dpdk-dev] [RFC 1/3] test/meson: auto detect number of cores

2019-03-29 Thread Aaron Conole
Some environments do not provide a minimum 4 cores for running tests. This allows those environments to still execute 'ninja test' without causing multiple failures. Signed-off-by: Aaron Conole --- app/test/meson.build | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --gi

Re: [dpdk-dev] [PATCH v3] app/pdump: enhance to support multi-core capture

2019-03-29 Thread Ferruh Yigit
On 3/29/2019 10:22 AM, Varghese, Vipin wrote: > Hi Reshma, > > snipped >>> >>> /* true if x is a power of 2 */ >>> #define POWEROF2(x) x)-1) & (x)) == 0) @@ -144,7 +145,7 @@ static >>> volatile uint8_t quit_signal; static void pdump_usage(const char >>> *prgname) { >>> - printf("usage:

Re: [dpdk-dev] [PATCH v2 1/3] packet_ordering: add statistics for each worker thread

2019-03-29 Thread Pattan, Reshma
> -Original Message- > From: Phil Yang [mailto:phil.y...@arm.com] > > The current implementation using '__sync' built-ins to synchronize statistics > within worker threads. '__sync' built-ins functions are full barriers which > will > affect the performance, so add a per worker packets

[dpdk-dev] [PATCH v2] lib/power: fix governor storage to trim newlines

2019-03-29 Thread David Hunt
Currently the Power Libray stores the governor name with an embedded newline read from the scaling_governor sysfs file. This patch strips it out. Fixes: 445c6528b55f ("power: common interface for guest and host") Cc: sta...@dpdk.org Signed-off-by: David Hunt --- lib/librte_power/power_acpi_cpuf

Re: [dpdk-dev] [PATCH] lib/power: fix governor storage to trim newlines

2019-03-29 Thread Hunt, David
Hi Anatoly, On 29/3/2019 4:25 PM, Burakov, Anatoly wrote: On 29-Mar-19 4:11 PM, David Hunt wrote: Currently the Power Libray stores the governor name with an embedded newline read from the scaling_governor sysfs file. This patch strips it out. Fixes: 445c6528b55f ("power: common interface for

Re: [dpdk-dev] [PATCH] lib/power: fix governor storage to trim newlines

2019-03-29 Thread Burakov, Anatoly
On 29-Mar-19 4:11 PM, David Hunt wrote: Currently the Power Libray stores the governor name with an embedded newline read from the scaling_governor sysfs file. This patch strips it out. Fixes: 445c6528b55f ("power: common interface for guest and host") Cc: sta...@dpdk.org Signed-off-by: David H

Re: [dpdk-dev] [PATCH] lib/power: fix governor storage to trim newlines

2019-03-29 Thread Bruce Richardson
On Fri, Mar 29, 2019 at 04:11:42PM +, David Hunt wrote: > Currently the Power Libray stores the governor name with an embedded > newline read from the scaling_governor sysfs file. This patch strips > it out. > > Fixes: 445c6528b55f ("power: common interface for guest and host") > Cc: sta...@dp

Re: [dpdk-dev] [PATCH] ci: fix arm64 config filename

2019-03-29 Thread Aaron Conole
David Marchand writes: > The ARM64 config file has been renamed in the commit > ae2f2fee247a ("build: rename linuxapp to linux in meson cross files"). > > Fixes: 99889bd85228 ("ci: introduce Travis builds for GitHub repositories") > Signed-off-by: David Marchand > --- Thanks for the fix - I'll

[dpdk-dev] [PATCH] lib/power: fix governor storage to trim newlines

2019-03-29 Thread David Hunt
Currently the Power Libray stores the governor name with an embedded newline read from the scaling_governor sysfs file. This patch strips it out. Fixes: 445c6528b55f ("power: common interface for guest and host") Cc: sta...@dpdk.org Signed-off-by: David Hunt --- lib/librte_power/power_acpi_cpuf

Re: [dpdk-dev] [PATCH v3] cryptodev: make xform key pointer constant

2019-03-29 Thread Akhil Goyal
On 3/29/2019 9:18 PM, Akhil Goyal wrote: > > On 3/29/2019 7:49 PM, Thomas Monjalon wrote: >> 29/03/2019 15:07, Akhil Goyal: >>> On 3/20/2019 7:02 PM, Fan Zhang wrote: drivers/common/cpt/cpt_ucode.h | 14 ++--- drivers/crypto/aesni_gcm/aesni_gcm_pmd.c| 2

Re: [dpdk-dev] [PATCH v4 9/9] doc: add ipsec lib into shared libraries list

2019-03-29 Thread Akhil Goyal
On 3/29/2019 3:57 PM, Konstantin Ananyev wrote: > Add librte_ipsec into 'Shared Library Versions' list in the release notes. > > Signed-off-by: Konstantin Ananyev > --- > doc/guides/rel_notes/release_19_05.rst | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/doc/guides/rel_notes/relea

[dpdk-dev] [PATCH v2 15/15] drivers/raw/ifpga_rawdev: add IPN3KE support for IFPGA Rawdev

2019-03-29 Thread Rosen Xu
Add Intel FPGA Acceleration NIC IPN3KE support for IFPGA Rawdev. Signed-off-by: Rosen Xu Signed-off-by: Tianfei Zhang Signed-off-by: Andy Pei --- drivers/raw/ifpga_rawdev/Makefile | 1 + drivers/raw/ifpga_rawdev/ifpga_rawdev.c | 205 +++- drivers/raw/ifpga_r

[dpdk-dev] [PATCH v2 13/15] raw/ifpga/base: add version description on README

2019-03-29 Thread Rosen Xu
From: "Zhang, Tianfei" add verion description on READ about ifpga base code. Signed-off-by: Zhang, Tianfei --- drivers/raw/ifpga_rawdev/base/README | 15 +++ 1 file changed, 15 insertions(+) diff --git a/drivers/raw/ifpga_rawdev/base/README b/drivers/raw/ifpga_rawdev/base/README

[dpdk-dev] [PATCH v2 14/15] raw/ifpga/base: using prefix name "ifpga_" for feature and feature_ops data struct

2019-03-29 Thread Rosen Xu
From: "Zhang, Tianfei" Using prefix name "ifpga_" for feature and feature_ops data struct on ifpga base code, which is suggested by Yigit, Ferruh. Signed-off-by: Zhang, Tianfei --- drivers/raw/ifpga_rawdev/base/ifpga_enumerate.c | 8 +-- drivers/raw/ifpga_rawdev/base/ifpga_feature_dev.c |

[dpdk-dev] [PATCH v2 12/15] raw/ifpga/base: add device tree support

2019-03-29 Thread Rosen Xu
From: "Zhang, Tianfei" In PAC N3000 card, there is using device tree to descript the board info and sensor device info. Add device tree support by using libfdt library in Linux distribution. The end-user should pre-install the libfdt and libfdt-devel package. Signed-off-by: Zhang, Tianfei ---

[dpdk-dev] [PATCH v2 11/15] raw/ifpga/base: add eth group driver

2019-03-29 Thread Rosen Xu
From: "Zhang, Tianfei" There is two eth group devices in PAC N3000 card, each eth group include PHY device and MAC device. Exposing APIs for DPDK PMD driver to access those devices. Signed-off-by: Zhang, Tianfei --- drivers/raw/ifpga_rawdev/base/Makefile| 1 + drivers/raw/ifpga_r

[dpdk-dev] [PATCH v2 10/15] raw/ifpga/base: add I2C and at24 EEPROM driver

2019-03-29 Thread Rosen Xu
From: "Zhang, Tianfei" 1. Add Altera I2C master device driver 2. Add at24 eeprom driver which is i2c slave device 3. Introducing a new ops for opae_manager: opae_manager_networking_ops. This ops will include some networking operation by FPGA, like vBNG operation, MAC ROM operation and so on. Sig

[dpdk-dev] [PATCH v2 07/15] raw/ifpga/base: clean up code for ifpga share code

2019-03-29 Thread Rosen Xu
From: "Zhang, Tianfei" clean up code: 1. use opae_memcpy instead of memcpy 2. use opae_memset instead of memset 3. disable opae_adapter_dump by default Signed-off-by: Zhang, Tianfei --- drivers/raw/ifpga_rawdev/base/ifpga_api.c | 2 +- drivers/raw/ifpga_rawdev/base/ifpga_feature

[dpdk-dev] [PATCH v2 09/15] raw/ifpga/base: add SPI and MAX10 device driver

2019-03-29 Thread Rosen Xu
From: "Zhang, Tianfei" There is a SPI bus link between A10 FPGA and MAX10 FPGA. MAX10 is in charge of board management, like power management, sensors, flash devices. Signed-off-by: Zhang, Tianfei --- drivers/raw/ifpga_rawdev/base/Makefile | 3 + drivers/raw/ifpga_rawdev/base/ifp

[dpdk-dev] [PATCH v2 08/15] raw/ifpga/base: store private features in FME and Port list

2019-03-29 Thread Rosen Xu
From: "Zhang, Tianfei" Get private features attrubite like size, id, address after enumeration, and insert into FEM or Port dedicate list. when initial the private feature driver, we just compare the private feature id between the list and feature drivers array to match the proper drivers. This

[dpdk-dev] [PATCH v2 06/15] drivers/net/ipn3ke: add IPN3KE Flow of PMD driver

2019-03-29 Thread Rosen Xu
Add Intel FPGA Acceleration NIC IPN3KE Flow of PMD driver. Signed-off-by: Rosen Xu Signed-off-by: Andy Pei Signed-off-by: Dan Wei --- drivers/net/ipn3ke/Makefile |1 + drivers/net/ipn3ke/ipn3ke_ethdev.c |5 + drivers/net/ipn3ke/ipn3ke_ethdev.h |1 + drivers/ne

[dpdk-dev] [PATCH v2 04/15] drivers/net/ipn3ke: add IPN3KE representor of PMD driver

2019-03-29 Thread Rosen Xu
Add Intel FPGA Acceleration NIC IPN3KE representor of PMD driver. Signed-off-by: Rosen Xu Signed-off-by: Andy Pei Signed-off-by: Dan Wei --- drivers/net/ipn3ke/Makefile | 1 + drivers/net/ipn3ke/ipn3ke_ethdev.c | 14 + drivers/net/ipn3ke/ipn3ke_representor.c | 962 +

[dpdk-dev] [PATCH v2 05/15] drivers/net/ipn3ke: add IPN3KE TM of PMD driver

2019-03-29 Thread Rosen Xu
Add Intel FPGA Acceleration NIC IPN3KE TM of PMD driver. Signed-off-by: Rosen Xu Signed-off-by: Andy Pei Signed-off-by: Dan Wei --- drivers/net/ipn3ke/Makefile |1 + drivers/net/ipn3ke/ipn3ke_ethdev.c |3 + drivers/net/ipn3ke/ipn3ke_ethdev.h |6 + drivers/net/

[dpdk-dev] [PATCH v2 00/15] Add patch set for IPN3KE

2019-03-29 Thread Rosen Xu
v2 updates: == - Fix v1 comments - Add support for 10G Base Line Design Bitstream - Add support for 25G Base Line Design Bitstream This patch set adds the support of a new net PMD, Intel?? FPGA Programmable Acceleration Card N3000, also called ipn3ke. The ipn3ke PMD (librte_pmd_ipn3ke)

[dpdk-dev] [PATCH v2 01/15] drivers/bus/ifpga: add AFU shared data

2019-03-29 Thread Rosen Xu
AFU can be implemented into many different acceleration devices, these devices need shared data to store private information when they are handled by users. Signed-off-by: Rosen Xu Signed-off-by: Andy Pei --- drivers/bus/ifpga/rte_bus_ifpga.h | 7 +++ 1 file changed, 7 insertions(+) diff -

[dpdk-dev] [PATCH v2 03/15] drivers/net/ipn3ke: add IPN3KE ethdev PMD driver

2019-03-29 Thread Rosen Xu
Add Intel FPGA Acceleration NIC IPN3KE ethdev PMD driver. Signed-off-by: Rosen Xu Signed-off-by: Andy Pei Signed-off-by: Dan Wei --- MAINTAINERS | 7 + config/common_base| 4 + doc/guides/nics/features/ipn3ke.ini | 55

[dpdk-dev] [PATCH v2 02/15] drivers/bus/ifpga: add function for AFU search by name

2019-03-29 Thread Rosen Xu
In many scenarios, AFU is needed searched by name, this function add the feature. Signed-off-by: Rosen Xu Signed-off-by: Andy Pei --- drivers/bus/ifpga/ifpga_bus.c | 13 + drivers/bus/ifpga/rte_bus_ifpga.h | 9 + drivers/bus/ifpga/rte_bus_ifpga_versi

Re: [dpdk-dev] [PATCH v3] doc: add cryptodev xform deprecation notice

2019-03-29 Thread Akhil Goyal
On 3/29/2019 9:19 PM, Akhil Goyal wrote: > > On 3/29/2019 7:45 PM, Akhil Goyal wrote: >> On 3/29/2019 7:29 PM, Akhil Goyal wrote: >>> On 3/22/2019 10:04 PM, Fan Zhang wrote: This patch adds the deprecation notice of changing Cryptodev symmetric xform structure. The proposed change is to

[dpdk-dev] [PATCH] ci: fix arm64 config filename

2019-03-29 Thread David Marchand
The ARM64 config file has been renamed in the commit ae2f2fee247a ("build: rename linuxapp to linux in meson cross files"). Fixes: 99889bd85228 ("ci: introduce Travis builds for GitHub repositories") Signed-off-by: David Marchand --- .ci/linux-build.sh | 2 +- 1 file changed, 1 insertion(+), 1 d

Re: [dpdk-dev] [PATCH v3] doc: add cryptodev xform deprecation notice

2019-03-29 Thread Akhil Goyal
On 3/29/2019 7:45 PM, Akhil Goyal wrote: > > On 3/29/2019 7:29 PM, Akhil Goyal wrote: >> On 3/22/2019 10:04 PM, Fan Zhang wrote: >>> This patch adds the deprecation notice of changing Cryptodev >>> symmetric xform structure. The proposed change is to making >>> key pointers in the crypto xforms (

Re: [dpdk-dev] [PATCH v3] cryptodev: make xform key pointer constant

2019-03-29 Thread Akhil Goyal
On 3/29/2019 7:49 PM, Thomas Monjalon wrote: > 29/03/2019 15:07, Akhil Goyal: >> On 3/20/2019 7:02 PM, Fan Zhang wrote: >>>drivers/common/cpt/cpt_ucode.h | 14 ++--- >>>drivers/crypto/aesni_gcm/aesni_gcm_pmd.c| 2 +- >>>drivers/crypto/aesni_mb/rte_aesni_mb_pmd.

Re: [dpdk-dev] [PATCH] app/compress-perf: add incompressible data handling

2019-03-29 Thread Akhil Goyal
On 3/28/2019 8:37 PM, Trahe, Fiona wrote: > >> -Original Message- >> From: Jozwiak, TomaszX >> Sent: Friday, March 1, 2019 8:45 AM >> To: dev@dpdk.org; Trahe, Fiona ; Jozwiak, TomaszX >> >> Subject: [PATCH] app/compress-perf: add incompressible data handling >> >> Currently, compress-per

Re: [dpdk-dev] [PATCH] compress/isal: fix getting information about CPU

2019-03-29 Thread Akhil Goyal
On 3/29/2019 8:58 PM, Daly, Lee wrote: > Hi Tomasz, > After some testing I can now see the approach in your patch in the best > method for getting the CPU info. > Rgds, > Lee. >> -Original Message- >> From: Daly, Lee >> Sent: Wednesday, March 27, 2019 3:01 PM >> To: Akhil Goyal ; C

Re: [dpdk-dev] [PATCH] drivers/qat: fix qp numa node

2019-03-29 Thread Akhil Goyal
On 3/28/2019 8:30 PM, Trahe, Fiona wrote: > >> -Original Message- >> From: Jozwiak, TomaszX >> Sent: Tuesday, March 26, 2019 2:21 PM >> To: dev@dpdk.org; sta...@dpdk.org; Trahe, Fiona ; >> Jozwiak, TomaszX >> >> Subject: [PATCH] drivers/qat: fix qp numa node >> >> This patch assigns QAT

Re: [dpdk-dev] [PATCH] compress/isal: fix getting information about CPU

2019-03-29 Thread Daly, Lee
Hi Tomasz, After some testing I can now see the approach in your patch in the best method for getting the CPU info. Rgds, Lee. > -Original Message- > From: Daly, Lee > Sent: Wednesday, March 27, 2019 3:01 PM > To: Akhil Goyal ; Cel, TomaszX > ; dev@dpdk.org > Cc: sta...@dpdk.org; T

Re: [dpdk-dev] [PATCH] compress/isal: add appropriate flag on overflow

2019-03-29 Thread Akhil Goyal
On 3/27/2019 11:14 PM, Cel, TomaszX wrote: > Hi Lee, > >> This patch will change the operation status when ISA-L returns because of a >> recoverable out of space error, rather than a just generic fail. >> >> Signed-off-by: Lee Daly >> --- >> drivers/compress/isal/isal_compress_pmd.c | 20 +

Re: [dpdk-dev] [PATCH v3 0/4] adding rsa priv key feature flag

2019-03-29 Thread Ayuj Verma
Hi Akhil, Thanks. Please add relevant information in the description in future. Sure will keep this in mind. Thanks and regards Ayuj Verma From: Akhil Goyal Sent: 29 March 2019 20:47:33 To: Ayuj Verma Cc: arkadiuszx.kusz...@intel.com; Shally Verma; Sunila S

Re: [dpdk-dev] [PATCH v3 0/4] adding rsa priv key feature flag

2019-03-29 Thread Akhil Goyal
On 3/28/2019 3:57 PM, Ayuj Verma wrote: > Some PMDs can support RSA private key operations using CRT > (quintuple) or exponent key only. Thus add a feature flag > RTE_CRYPTODEV_FF_RSA_PRIV_OP_KEY_EXP and > RTE_CRYPTODEV_FF_RSA_PRIV_OP_KEY_QT in PMD to reflect which key > type is supported to perf

Re: [dpdk-dev] [dpdk-stable] [PATCH v2 1/4] power: fix non thread-safe power env modification

2019-03-29 Thread Burakov, Anatoly
On 29-Mar-19 2:14 PM, Thomas Monjalon wrote: 18/03/2019 12:56, Hajkowski: From: Marcin Hajkowski --- a/doc/guides/rel_notes/release_19_05.rst +++ b/doc/guides/rel_notes/release_19_05.rst @@ -120,6 +120,8 @@ API Changes + * power: ``rte_power_set_env`` and ``rte_power_unset_env`` functions +

Re: [dpdk-dev] [PATCH v3 0/4] adding rsa priv key feature flag

2019-03-29 Thread Akhil Goyal
On 3/28/2019 3:57 PM, Ayuj Verma wrote: > Some PMDs can support RSA private key operations using CRT > (quintuple) or exponent key only. Thus add a feature flag > RTE_CRYPTODEV_FF_RSA_PRIV_OP_KEY_EXP and > RTE_CRYPTODEV_FF_RSA_PRIV_OP_KEY_QT in PMD to reflect which key > type is supported to perf

Re: [dpdk-dev] [PATCH 0/6] minor fixes and updates for NXP crypto PMDs

2019-03-29 Thread Akhil Goyal
On 3/27/2019 5:23 PM, Akhil Goyal wrote: > dpaa2_sec and dpaa_sec are updated with some fixes > for cleanup and some performance optimizations. > > The last patch is to make the dpaa2_sec PMD multi-process safe. > > Akhil Goyal (6): >crypto/dpaa2_sec: fix session clear >crypto/dpaa2_sec:

Re: [dpdk-dev] [PATCH v5 1/1] compress/qat: add dynamic sgl allocation

2019-03-29 Thread Akhil Goyal
On 3/28/2019 8:07 PM, Trahe, Fiona wrote: > >> -Original Message- >> From: Jozwiak, TomaszX >> Sent: Tuesday, March 26, 2019 1:51 PM >> To: dev@dpdk.org; Trahe, Fiona ; Jozwiak, TomaszX >> >> Subject: [PATCH v5 1/1] compress/qat: add dynamic sgl allocation >> >> This patch adds dynamic S

Re: [dpdk-dev] [PATCH v3] crypto/aesni_mb: support newer version library only

2019-03-29 Thread Akhil Goyal
On 3/26/2019 9:13 PM, Akhil Goyal wrote: > > On 3/26/2019 9:05 PM, Zhang, Roy Fan wrote: >> Hi Akhil, >> >> I have discussed with Ferruh in relation to the updating release note >> for this change. >> However the change seems not apply to any section under the release note. >> >> The change does

Re: [dpdk-dev] [PATCH v3 0/2] crypto/aesni_mb: enable out of place processing

2019-03-29 Thread Akhil Goyal
On 3/25/2019 7:21 PM, Fan Zhang wrote: > Add out-of-place processing, i.e. different source and > destination m_bufs, plus related capability update, tests > and documentation. > > Signed-off-by: Fiona Trahe > Signed-off-by: Paul Luse > Signed-off-by: Fan Zhang > > v3: > - Updated unit test, e

Re: [dpdk-dev] [PATCH] power: update for error handling

2019-03-29 Thread Thomas Monjalon
28/03/2019 18:02, Burakov, Anatoly: > On 28-Mar-19 3:55 PM, Lukasz Krakowiak wrote: > > Update for handling negative returned status from functions > > call. > > > > Signed-off-by: Lukasz Krakowiak > > Acked-by: Anatoly Burakov Applied, thanks

Re: [dpdk-dev] [PATCH v5 1/1] test: new test structure for asymmetric crypto

2019-03-29 Thread Akhil Goyal
On 3/28/2019 5:46 PM, Trahe, Fiona wrote: > >> -Original Message- >> From: Nowak, DamianX >> Sent: Wednesday, March 27, 2019 9:45 AM >> To: dev@dpdk.org >> Cc: Trahe, Fiona ; Kusztal, ArkadiuszX >> ; Nowak, >> DamianX >> Subject: [PATCH v5 1/1] test: new test structure for asymmetric cr

Re: [dpdk-dev] [PATCH v3] test: add snow3g test cases when digest is encrypted

2019-03-29 Thread Akhil Goyal
On 3/28/2019 6:40 PM, Trahe, Fiona wrote: > Sorry, ignore last email - it was meant to be an ack - here's the correct one. > >> -Original Message- >> From: Krakowiak, LukaszX >> Sent: Monday, March 25, 2019 10:48 AM >> To: De Lara Guarch, Pablo >> Cc: dev@dpdk.org; Trahe, Fiona ; Krakowi

Re: [dpdk-dev] [PATCH v5 0/4] Add PMD for asymmetric cryptography operations using Intel QuickAssist Technology devices

2019-03-29 Thread Akhil Goyal
On 3/28/2019 7:27 PM, Trahe, Fiona wrote: > >> -Original Message- >> From: Kusztal, ArkadiuszX >> Sent: Thursday, March 28, 2019 1:37 PM >> To: dev@dpdk.org >> Cc: akhil.go...@nxp.com; Trahe, Fiona ; Kusztal, >> ArkadiuszX >> >> Subject: [PATCH v5 0/4] Add PMD for asymmetric cryptograph

Re: [dpdk-dev] [PATCH v2] doc: announce ABI change for cryptodev config

2019-03-29 Thread Akhil Goyal
On 3/7/2019 8:55 PM, Trahe, Fiona wrote: > >> -Original Message- >> From: Anoob Joseph [mailto:ano...@marvell.com] >> Sent: Thursday, March 7, 2019 10:40 AM >> To: Akhil Goyal ; Trahe, Fiona ; >> De Lara Guarch, Pablo >> >> Cc: Anoob Joseph ; Jerin Jacob Kollanukkaran >> ; Narayana >>

Re: [dpdk-dev] [PATCH 0/3] few trivial fixes for ipsec-secgw

2019-03-29 Thread Akhil Goyal
On 3/27/2019 3:03 PM, Konstantin Ananyev wrote: > three simple fixes for ipsec-secgw, first two reported by Coverity. > > Konstantin Ananyev (3): >examples/ipsec-secgw: fix invalid out-of-bound check >examples/ipsec_secgw: fix possible NULL dereference >examples/ipsec-secgw: fix typo

Re: [dpdk-dev] [PATCH] eal: add option to not store segment fd's

2019-03-29 Thread Burakov, Anatoly
On 29-Mar-19 1:34 PM, Thomas Monjalon wrote: 29/03/2019 14:24, Burakov, Anatoly: On 29-Mar-19 12:40 PM, Thomas Monjalon wrote: 29/03/2019 13:05, Burakov, Anatoly: On 29-Mar-19 11:34 AM, Thomas Monjalon wrote: 29/03/2019 11:33, Burakov, Anatoly: On 29-Mar-19 9:50 AM, David Marchand wrote: On

Re: [dpdk-dev] [PATCH v3 1/1] compress/isal: fix compression stream initialization

2019-03-29 Thread Akhil Goyal
On 3/28/2019 6:53 PM, Daly, Lee wrote: > >> -Original Message- >> From: Trahe, Fiona >> Sent: Thursday, March 28, 2019 12:59 PM >> To: Cel, TomaszX ; dev@dpdk.org >> Cc: sta...@dpdk.org; Daly, Lee ; Tucker, Greg B >> ; Jozwiak, TomaszX >> Subject: RE: [PATCH v3 1/1] compress/isal: fix co

Re: [dpdk-dev] [PATCH v3] cryptodev: make xform key pointer constant

2019-03-29 Thread Thomas Monjalon
29/03/2019 15:07, Akhil Goyal: > On 3/20/2019 7:02 PM, Fan Zhang wrote: > > drivers/common/cpt/cpt_ucode.h | 14 ++--- > > drivers/crypto/aesni_gcm/aesni_gcm_pmd.c| 2 +- > > drivers/crypto/aesni_mb/rte_aesni_mb_pmd.c | 2 +- > > drivers/crypto/openssl/rte_opens

Re: [dpdk-dev] [PATCH v2] mbuf: move headers not fragmented check to checksum

2019-03-29 Thread Olivier Matz
On Fri, Mar 29, 2019 at 01:42:14PM +, Andrew Rybchenko wrote: > rte_validate_tx_offload() is used in Tx prepare callbacks > (RTE_LIBRTE_ETHDEV_DEBUG only) to check Tx offloads consistency. > Requirement that packet headers should not be fragmented is not > documented and unclear where it comes

Re: [dpdk-dev] [PATCH v7 1/2] ring: add reset API to flush the ring when not in use

2019-03-29 Thread Olivier Matz
Hi, On Fri, Mar 15, 2019 at 11:31:25AM +0800, Gavin Hu wrote: > Currently, the flush is done by dequeuing the ring in a while loop. It is > much simpler to flush the queue by resetting the head and tail indices. > > Fixes: af75078fece3 ("first public release") > Cc: sta...@dpdk.org > > Signed-of

Re: [dpdk-dev] [PATCH v3 0/4] bidirect guest channel

2019-03-29 Thread Thomas Monjalon
21/03/2019 11:55, Hajkowski: > From: Marcin Hajkowski > > Extend guest channel API to allow bidirectional > communication. Modify power manager host and guest > side to communicate in both directions. > > v3: > * fix global_fds[lcore_id] comparison to invalid value > * check 0 to verify if read

Re: [dpdk-dev] [PATCH v3] doc: add cryptodev xform deprecation notice

2019-03-29 Thread Akhil Goyal
On 3/29/2019 7:29 PM, Akhil Goyal wrote: > > On 3/22/2019 10:04 PM, Fan Zhang wrote: >> This patch adds the deprecation notice of changing Cryptodev >> symmetric xform structure. The proposed change is to making >> key pointers in the crypto xforms (cipher, auth, aead) to >> indicate neither the

Re: [dpdk-dev] [dpdk-stable] [PATCH v2 1/4] power: fix non thread-safe power env modification

2019-03-29 Thread Thomas Monjalon
18/03/2019 12:56, Hajkowski: > From: Marcin Hajkowski > --- a/doc/guides/rel_notes/release_19_05.rst > +++ b/doc/guides/rel_notes/release_19_05.rst > @@ -120,6 +120,8 @@ API Changes > + * power: ``rte_power_set_env`` and ``rte_power_unset_env`` functions > + have been modified to be thread s

Re: [dpdk-dev] [PATCH v3] cryptodev: make xform key pointer constant

2019-03-29 Thread Akhil Goyal
On 3/20/2019 7:02 PM, Fan Zhang wrote: > This patch changes the key pointer data types in cipher, auth, > and aead xforms from "uint8_t *" to "const uint8_t *" for a > more intuitive and safe sessionn creation. > > Signed-off-by: Fan Zhang > --- > v3: > - rebased on top of latest dpdk-next-crypt

[dpdk-dev] [PATCH v4] mem: warn user when running without NUMA support

2019-03-29 Thread Anatoly Burakov
Running in non-legacy mode on a NUMA-enabled system without libnuma is unsupported, so explicitly print out a warning when trying to do so. Running in legacy mode without libnuma is still supported whether or not we are running with libnuma support enabled, so also fix init to allow that scenario.

  1   2   >