Re: [dpdk-dev] [PATCH v5 1/3] ethdev: add Rx HW timestamp capability

2017-10-03 Thread Andrew Rybchenko
On 10/03/2017 09:53 AM, Yongseok Koh wrote: On Oct 2, 2017, at 11:40 PM, Andrew Rybchenko wrote: On 10/03/2017 09:33 AM, Raslan Darawsheh wrote: Add a new offload capability flag for Rx HW timestamp and enabling/disabling this via rte_eth_rxmode. Signed-off-by: Raslan Darawsheh --- This pat

[dpdk-dev] [PATCH] net/sfc: add device state check to reta update operation

2017-10-03 Thread Andrew Rybchenko
From: Ivan Malov The callback must not attempt to program RSS table to the HW in non-started state; the new table must be remembered and applied on the next start Fixes: 32bcfb0a50b1 ("net/sfc: update RSS redirection table") Cc: sta...@dpdk.org Signed-off-by: Ivan Malov Signed-off-by: Andrew R

[dpdk-dev] [PATCH v3] power: add turbo functions to map file

2017-10-03 Thread David Hunt
Fixes: 94608a0f7f45 ("power: add per-core turbo boost API") Signed-off-by: David Hunt --- lib/librte_power/rte_power_version.map | 9 + 1 file changed, 9 insertions(+) diff --git a/lib/librte_power/rte_power_version.map b/lib/librte_power/rte_power_version.map index db75ff3..9ae0627 10

Re: [dpdk-dev] [PATCH v4 3/3] efd: run-time dispatch over x86 EFD functions

2017-10-03 Thread Li, Xiaoyun
Hi > -Original Message- > From: Ananyev, Konstantin > Sent: Tuesday, October 3, 2017 00:52 > To: Li, Xiaoyun ; Richardson, Bruce > > Cc: Lu, Wenzhuo ; Zhang, Helin > ; dev@dpdk.org > Subject: RE: [PATCH v4 3/3] efd: run-time dispatch over x86 EFD functions > > > > > -Original Messa

Re: [dpdk-dev] [Suspected-Phishing]Re: [Suspected-Phishing]Re: [PATCH v2] net/bonding: support bifurcated driver in eal cli using --vdev

2017-10-03 Thread Raslan Darawsheh
Hi, I've just tested it and looks like the issue is fixed with this patch. Kindest regards Raslan Darawsheh -Original Message- From: gowrishankar muthukrishnan [mailto:gowrishanka...@linux.vnet.ibm.com] Sent: Monday, October 2, 2017 11:44 AM To: Raslan Darawsheh ; Thomas Monjalon Cc:

Re: [dpdk-dev] [PATCH v3] power: add turbo functions to map file

2017-10-03 Thread Thomas Monjalon
03/10/2017 09:22, David Hunt: > Fixes: 94608a0f7f45 ("power: add per-core turbo boost API") > > Signed-off-by: David Hunt Applied, thanks

Re: [dpdk-dev] [PATCH v5 1/7] member: implement main API

2017-10-03 Thread De Lara Guarch, Pablo
> -Original Message- > From: Wang, Yipeng1 > Sent: Tuesday, October 3, 2017 5:32 AM > To: dev@dpdk.org; De Lara Guarch, Pablo > > Cc: tho...@monjalon.net; Tai, Charlie ; Gobriel, > Sameh ; Mcnamara, John > ; Wang, Yipeng1 > Subject: [PATCH v5 1/7] member: implement main API > > Members

Re: [dpdk-dev] [PATCH 2/4] crypto/dpaa_sec: add crypto driver for NXP DPAA platform

2017-10-03 Thread Akhil Goyal
Hi Pablo, On 9/18/2017 11:41 PM, De Lara Guarch, Pablo wrote: -Original Message- From: Akhil Goyal [mailto:akhil.go...@nxp.com] Sent: Thursday, August 24, 2017 1:01 AM To: dev@dpdk.org; De Lara Guarch, Pablo Cc: Doherty, Declan ; Mcnamara, John ; hemant.agra...@nxp.com; Akhil Goyal

Re: [dpdk-dev] [PATCH 3/4] test/crypto: add dpaa crypto test cases

2017-10-03 Thread Akhil Goyal
On 9/18/2017 11:49 PM, De Lara Guarch, Pablo wrote: -Original Message- From: Akhil Goyal [mailto:akhil.go...@nxp.com] Sent: Thursday, August 24, 2017 1:01 AM To: dev@dpdk.org; De Lara Guarch, Pablo Cc: Doherty, Declan ; Mcnamara, John ; hemant.agra...@nxp.com; Akhil Goyal Subject: [P

Re: [dpdk-dev] [PATCH v5 2/7] member: implement HT mode

2017-10-03 Thread De Lara Guarch, Pablo
Hi Yipeng, > -Original Message- > From: Wang, Yipeng1 > Sent: Tuesday, October 3, 2017 5:32 AM > To: dev@dpdk.org; De Lara Guarch, Pablo > > Cc: tho...@monjalon.net; Tai, Charlie ; Gobriel, > Sameh ; Mcnamara, John > ; Wang, Yipeng1 > Subject: [PATCH v5 2/7] member: implement HT mode >

Re: [dpdk-dev] [PATCH v5 3/7] member: implement vBF mode

2017-10-03 Thread De Lara Guarch, Pablo
Hi Yipeng, > -Original Message- > From: Wang, Yipeng1 > Sent: Tuesday, October 3, 2017 5:32 AM > To: dev@dpdk.org; De Lara Guarch, Pablo > > Cc: tho...@monjalon.net; Tai, Charlie ; Gobriel, > Sameh ; Mcnamara, John > ; Wang, Yipeng1 > Subject: [PATCH v5 3/7] member: implement vBF mode >

[dpdk-dev] [PATCH v2 0/4] Introducing NXP dpaa_sec based cryptodev pmd

2017-10-03 Thread Akhil Goyal
Based over the DPAA PMD driver [1], this series of patches introduces the DPAA_SEC PMD which provides DPDK crypto driver for NXP's DPAA CAAM Hardware accelerator. SEC is NXP DPAA SoC's security engine for cryptographic acceleration and offloading. It implements block encryption, stream cipher, has

[dpdk-dev] [PATCH v2 1/4] bus/dpaa: scan for DPAA Crypto devices

2017-10-03 Thread Akhil Goyal
Signed-off-by: Shreyansh Jain Signed-off-by: Akhil Goyal --- config/defconfig_arm64-dpaa-linuxapp-gcc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config/defconfig_arm64-dpaa-linuxapp-gcc b/config/defconfig_arm64-dpaa-linuxapp-gcc index f59834c..7887fd0 100644 --- a/config/defconfig_a

[dpdk-dev] [PATCH v2 2/4] crypto/dpaa_sec: add crypto driver for NXP DPAA platform

2017-10-03 Thread Akhil Goyal
Signed-off-by: Forrest Shi Signed-off-by: Akhil Goyal Signed-off-by: Hemant Agrawal --- MAINTAINERS|5 + config/common_base |8 + config/defconfig_arm64-dpaa-linuxapp-gcc | 14 + drivers/Makefile

[dpdk-dev] [PATCH v2 4/4] doc: add NXP DPAA SEC

2017-10-03 Thread Akhil Goyal
Signed-off-by: Hemant Agrawal Signed-off-by: Akhil Goyal Acked-by: John McNamara --- MAINTAINERS | 2 + doc/guides/cryptodevs/dpaa_sec.rst | 182 doc/guides/cryptodevs/features/dpaa_sec.ini | 40 ++ doc/guides/cryptode

[dpdk-dev] [PATCH v2 3/4] test/crypto: add dpaa crypto test cases

2017-10-03 Thread Akhil Goyal
Signed-off-by: Hemant Agrawal Signed-off-by: Akhil Goyal --- test/test/test_cryptodev.c | 201 +++ test/test/test_cryptodev_aes_test_vectors.h | 78 +++ test/test/test_cryptodev_blockcipher.c | 7 + test/test/test_cryptodev_blockcipher.

Re: [dpdk-dev] [PATCH v6 4/8] ethdev: add GTP items to support flow API

2017-10-03 Thread Sean Harte
On 2 October 2017 at 13:27, Adrien Mazarguil wrote: > On Fri, Sep 29, 2017 at 10:29:55AM +0100, Sean Harte wrote: >> On 29 September 2017 at 09:54, Xing, Beilei wrote: > >> >> > /** >> >> > + * RTE_FLOW_ITEM_TYPE_GTP. >> >> > + * >> >> > + * Matches a GTPv1 header. >> >> > + */ >> >> > +struct

Re: [dpdk-dev] [PATCH v5 4/7] member: add AVX for HT mode

2017-10-03 Thread De Lara Guarch, Pablo
> -Original Message- > From: Wang, Yipeng1 > Sent: Tuesday, October 3, 2017 5:32 AM > To: dev@dpdk.org; De Lara Guarch, Pablo > > Cc: tho...@monjalon.net; Tai, Charlie ; Gobriel, > Sameh ; Mcnamara, John > ; Wang, Yipeng1 > Subject: [PATCH v5 4/7] member: add AVX for HT mode > > For ke

Re: [dpdk-dev] [PATCH v5 5/7] member: enable the library

2017-10-03 Thread De Lara Guarch, Pablo
> -Original Message- > From: Wang, Yipeng1 > Sent: Tuesday, October 3, 2017 5:32 AM > To: dev@dpdk.org; De Lara Guarch, Pablo > > Cc: tho...@monjalon.net; Tai, Charlie ; Gobriel, > Sameh ; Mcnamara, John > ; Wang, Yipeng1 > Subject: [PATCH v5 5/7] member: enable the library > > This pa

Re: [dpdk-dev] [PATCH v5 6/7] test/member: add functional and perf tests

2017-10-03 Thread De Lara Guarch, Pablo
> -Original Message- > From: Wang, Yipeng1 > Sent: Tuesday, October 3, 2017 5:32 AM > To: dev@dpdk.org; De Lara Guarch, Pablo > > Cc: tho...@monjalon.net; Tai, Charlie ; Gobriel, > Sameh ; Mcnamara, John > ; Wang, Yipeng1 > Subject: [PATCH v5 6/7] test/member: add functional and perf test

Re: [dpdk-dev] [PATCH v5 7/7] doc: add membership documentation

2017-10-03 Thread De Lara Guarch, Pablo
> -Original Message- > From: Wang, Yipeng1 > Sent: Tuesday, October 3, 2017 5:32 AM > To: dev@dpdk.org; De Lara Guarch, Pablo > > Cc: tho...@monjalon.net; Tai, Charlie ; Gobriel, > Sameh ; Mcnamara, John > ; Wang, Yipeng1 > Subject: [PATCH v5 7/7] doc: add membership documentation > > Th

Re: [dpdk-dev] [PATCH v4 3/4] eventdev: Add eventdev ethernet Rx adapter

2017-10-03 Thread Pavan Nikhilesh Bhagavatula
On Sat, Sep 23, 2017 at 05:05:21PM +0530, Rao, Nikhil wrote: Hi Nikhil, > On 9/21/2017 9:13 PM, Pavan Nikhilesh Bhagavatula wrote: > >Hi Nikhil, > > > >Few comments Inline > > > > > > + * - 0: Success, statistics reset successfully. > > > >Invalid description. > > Thanks Pavan, for catching these

Re: [dpdk-dev] [PATCH] eal: add doc for constructor macros

2017-10-03 Thread Thomas Monjalon
02/10/2017 20:57, Ferruh Yigit: > On 10/2/2017 3:59 PM, Thomas Monjalon wrote: > > It is a reminder that the constructors without priority > > get the lowest priority. > > > > Signed-off-by: Thomas Monjalon > > Reviewed-by: Ferruh Yigit Applied

[dpdk-dev] [PATCH v4] sched: make RED scaling configurable

2017-10-03 Thread alangordondewar
From: Alan Dewar The RED code stores the weighted moving average in a 32-bit integer as a pseudo fixed-point floating number with 10 fractional bits. Twelve other bits are used to encode the filter weight, leaving just 10 bits for the queue length. This limits the maximum queue length supported

[dpdk-dev] [PATCH] test/crypto: fix dpaa2_sec macros and definitions

2017-10-03 Thread Akhil Goyal
Fixes: 7a364faef185 ("cryptodev: remove crypto device type enumeration") Cc: sta...@dpdk.org Signed-off-by: Akhil Goyal --- test/test/test_cryptodev.c | 2 +- test/test/test_cryptodev_perf.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test/test/test_cryptodev.c

Re: [dpdk-dev] [PATCH v2] rte: initialize logging before bus

2017-10-03 Thread Thomas Monjalon
28/08/2017 20:13, Stephen Hemminger: > Any log messages during bus initialization maybe lost because > the bus registration constructor is called before the logging constructor. > > Fixes: a97725791eec ("bus: introduce bus abstraction") Cc: sta...@dpdk.org > Signed-off-by: Stephen Hemminger Ap

[dpdk-dev] [PATCH v3 1/4] bus/dpaa: scan for DPAA Crypto devices

2017-10-03 Thread akhil.goyal
From: Akhil Goyal Signed-off-by: Shreyansh Jain Signed-off-by: Akhil Goyal --- config/defconfig_arm64-dpaa-linuxapp-gcc | 3 ++ drivers/bus/dpaa/dpaa_bus.c | 52 2 files changed, 55 insertions(+) diff --git a/config/defconfig_arm64-dpaa-linuxapp-

[dpdk-dev] [PATCH v3 0/4] Introducing NXP dpaa_sec based cryptodev pmd

2017-10-03 Thread akhil.goyal
From: Akhil Goyal Based over the DPAA PMD driver [1], this series of patches introduces the DPAA_SEC PMD which provides DPDK crypto driver for NXP's DPAA CAAM Hardware accelerator. SEC is NXP DPAA SoC's security engine for cryptographic acceleration and offloading. It implements block encryption

[dpdk-dev] [PATCH v3 4/4] doc: add NXP DPAA SEC

2017-10-03 Thread akhil.goyal
From: Akhil Goyal Signed-off-by: Hemant Agrawal Signed-off-by: Akhil Goyal Acked-by: John McNamara --- MAINTAINERS | 2 + doc/guides/cryptodevs/dpaa_sec.rst | 182 doc/guides/cryptodevs/features/dpaa_sec.ini | 40 ++

[dpdk-dev] [PATCH v3 3/4] test/crypto: add dpaa crypto test cases

2017-10-03 Thread akhil.goyal
From: Akhil Goyal Signed-off-by: Hemant Agrawal Signed-off-by: Akhil Goyal --- test/test/test_cryptodev.c | 201 +++ test/test/test_cryptodev_aes_test_vectors.h | 78 +++ test/test/test_cryptodev_blockcipher.c | 7 + test/test/test_cr

[dpdk-dev] [PATCH v3 2/4] crypto/dpaa_sec: add crypto driver for NXP DPAA platform

2017-10-03 Thread akhil.goyal
From: Akhil Goyal Signed-off-by: Forrest Shi Signed-off-by: Akhil Goyal Signed-off-by: Akhil Goyal --- MAINTAINERS|5 + config/common_base |8 + config/defconfig_arm64-dpaa-linuxapp-gcc | 14 + drivers

[dpdk-dev] [PATCH] cryptodev: add function to retrieve device name

2017-10-03 Thread Pablo de Lara
Currently, in order to get the name of a crypto device, a user needs to access to it using the crypto device structure. It is a better practise to have a function to retrieve this name, given a device id. Signed-off-by: Pablo de Lara --- lib/librte_cryptodev/rte_cryptodev.c | 11 +

Re: [dpdk-dev] [PATCH] checkpatch: re-enable warnings about split long strings

2017-10-03 Thread Bruce Richardson
On Mon, Oct 02, 2017 at 06:21:06PM +0200, Adrien Mazarguil wrote: > On Mon, Oct 02, 2017 at 02:46:24PM +0100, Bruce Richardson wrote: > > On Mon, Oct 02, 2017 at 01:53:17PM +0200, Adrien Mazarguil wrote: > > > Hi Stephen, > > > > > > On Fri, Sep 29, 2017 at 08:37:49AM -0700, Stephen Hemminger wrot

Re: [dpdk-dev] [PATCH] usertools/dpdk-devbind.py: fix broken Python 3 support

2017-10-03 Thread Bruce Richardson
On Tue, Oct 03, 2017 at 12:25:27AM +, Mor, Omri wrote: > When using Python 3, dpdk-devbind.py fails to detect modules other than > igb_uio. Was there a patch included as an attachment? If so, it's been stripped out. Please include patch contents directly in the email, as described at http://dpd

[dpdk-dev] [PATCH v2 0/6] new mlx4 datapath bypassing ibverbs

2017-10-03 Thread Matan Azrad
v2: Rearange patches. Semantics. Enhancements. Fix compilation issues. Moti Haimovsky (6): net/mlx4: add simple Tx bypassing ibverbs net/mlx4: get back Rx flow functionality net/mlx4: support multi-segments Tx net/mlx4: get back Tx checksum offloads net/mlx4: get back Rx checksum offloa

[dpdk-dev] [PATCH v2 1/6] net/mlx4: add simple Tx bypassing ibverbs

2017-10-03 Thread Matan Azrad
From: Moti Haimovsky Modify PMD to send single-buffer packets directly to the device bypassing the ibv Tx post and poll routines. Signed-off-by: Moti Haimovsky --- drivers/net/mlx4/mlx4_prm.h | 108 + drivers/net/mlx4/mlx4_rxtx.c | 353 ---

[dpdk-dev] [PATCH v2 2/6] net/mlx4: get back Rx flow functionality

2017-10-03 Thread Matan Azrad
From: Moti Haimovsky This patch adds support for accessing the hardware directly when handling Rx packets eliminating the need to use verbs in the Rx datapath. Now the number of scatters is calculated on the fly, according to the maximum expected packet size. Signed-off-by: Vasily Philipov ---

[dpdk-dev] [PATCH v2 3/6] net/mlx4: support multi-segments Tx

2017-10-03 Thread Matan Azrad
From: Moti Haimovsky This patch adds support for transmitting packets spanning over multiple buffers. In this patch we also take into consideration the amount of entries a packet occupies in the TxQ when setting the report-completion flag of the chip. Signed-off-by: Moti Haimovsky --- drivers/

[dpdk-dev] [PATCH v2 4/6] net/mlx4: get back Tx checksum offloads

2017-10-03 Thread Matan Azrad
From: Moti Haimovsky This patch adds hardware offloading support for IPV4, UDP and TCP checksum calculation. This commit also includes support for offloading IPV4, UDP and TCP tunnel checksum calculation to the hardware. Signed-off-by: Moti Haimovsky --- drivers/net/mlx4/mlx4.c| 9 +++

[dpdk-dev] [PATCH v2 5/6] net/mlx4: get back Rx checksum offloads

2017-10-03 Thread Matan Azrad
From: Moti Haimovsky This patch adds hardware offloading support for IPV4, UDP and TCP checksum verification. This commit also includes support for offloading IPV4, UDP and TCP tunnel checksum verification to the hardware. Signed-off-by: Vasily Philipov --- drivers/net/mlx4/mlx4.c| 2

[dpdk-dev] [PATCH v2 6/6] net/mlx4: add loopback Tx from VF

2017-10-03 Thread Matan Azrad
From: Moti Haimovsky This patch adds loopback functionality used when the chip is a VF in order to enable packet transmission between VFs and between VFs and PF. Signed-off-by: Moti Haimovsky --- drivers/net/mlx4/mlx4_rxtx.c | 38 ++ drivers/net/mlx4/mlx4_rx

Re: [dpdk-dev] [PATCH] checkpatch: re-enable warnings about split long strings

2017-10-03 Thread Adrien Mazarguil
On Tue, Oct 03, 2017 at 11:38:13AM +0100, Bruce Richardson wrote: > On Mon, Oct 02, 2017 at 06:21:06PM +0200, Adrien Mazarguil wrote: > > On Mon, Oct 02, 2017 at 02:46:24PM +0100, Bruce Richardson wrote: > > > On Mon, Oct 02, 2017 at 01:53:17PM +0200, Adrien Mazarguil wrote: > > > > Hi Stephen, > >

[dpdk-dev] [PATCH v6 2/3] app/testpmd: add Rx HW timestamp

2017-10-03 Thread Raslan Darawsheh
Add enabling/disabling Rx HW timestamp from command line and parameter. Signed-off-by: Raslan Darawsheh --- app/test-pmd/cmdline.c| 15 --- app/test-pmd/config.c | 8 app/test-pmd/parameters.c | 5 + app/test-pmd/rxonly.c | 2 ++ app/test-pmd/testpmd.c

[dpdk-dev] [PATCH v6 1/3] ethdev: add Rx HW timestamp capability

2017-10-03 Thread Raslan Darawsheh
Add a new offload capability flag for Rx HW timestamp and enabling/disabling this via rte_eth_rxmode. Signed-off-by: Raslan Darawsheh --- This patch should be applied after after this series: http://dpdk.org/dev/patchwork/patch/29368/ Changes in v6: - Rebased properly on top of the mentioned pa

[dpdk-dev] [PATCH v6 3/3] net/mlx5: add Rx HW timestamp

2017-10-03 Thread Raslan Darawsheh
Expose Rx HW timestamp to packet mbufs. Signed-off-by: Raslan Darawsheh --- Changes in v6: - Rebasing the work on top of 217b1421 ("net/mlx5: separate DPDK from Verbs Rx queue objects") --- drivers/net/mlx5/mlx5_ethdev.c | 3 ++- drivers/net/mlx5/mlx5_rxq.c | 6 +- drivers/

Re: [dpdk-dev] [PATCH v4 1/3] eal/x86: run-time dispatch over memcpy

2017-10-03 Thread Ananyev, Konstantin
Hi, > > Hi > > > -Original Message- > > From: Ananyev, Konstantin > > Sent: Tuesday, October 3, 2017 00:39 > > To: Li, Xiaoyun ; Richardson, Bruce > > > > Cc: Lu, Wenzhuo ; Zhang, Helin > > ; dev@dpdk.org > > Subject: RE: [PATCH v4 1/3] eal/x86: run-time dispatch over memcpy > > > > > >

Re: [dpdk-dev] [PATCH v4 3/3] efd: run-time dispatch over x86 EFD functions

2017-10-03 Thread Ananyev, Konstantin
> -Original Message- > From: Li, Xiaoyun > Sent: Tuesday, October 3, 2017 9:15 AM > To: Ananyev, Konstantin ; Richardson, Bruce > > Cc: Lu, Wenzhuo ; Zhang, Helin ; > dev@dpdk.org > Subject: RE: [PATCH v4 3/3] efd: run-time dispatch over x86 EFD functions > > Hi > > > -Original M

Re: [dpdk-dev] [PATCH v4 3/3] efd: run-time dispatch over x86 EFD functions

2017-10-03 Thread Li, Xiaoyun
OK. > -Original Message- > From: Ananyev, Konstantin > Sent: Tuesday, October 3, 2017 19:23 > To: Li, Xiaoyun ; Richardson, Bruce > > Cc: Lu, Wenzhuo ; Zhang, Helin > ; dev@dpdk.org > Subject: RE: [PATCH v4 3/3] efd: run-time dispatch over x86 EFD functions > > > > > -Original Mess

Re: [dpdk-dev] [PATCH] igb_uio: remove PCI reset during uio device open

2017-10-03 Thread Gregory Etelson
Hello, Can we hold with revert until proper solution will be introduced ? Regards, Gregory On Monday, 2 October 2017 21:24:19 IDT Shijith Thotton wrote: > On Fri, Sep 29, 2017 at 12:57:22PM +, Wu, Jingjing wrote: > > Hi, Shijith > > > > Only removing the PCI reset in uio device open functio

Re: [dpdk-dev] [PATCH v4 4/4] eventdev: Add tests for event eth Rx adapter APIs

2017-10-03 Thread Pavan Nikhilesh Bhagavatula
On Fri, Sep 22, 2017 at 02:47:14AM +0530, Nikhil Rao wrote: Hi Nikhil, > Add unit tests for rte_event_eth_rx_adapter_xxx() APIs > > Signed-off-by: Nikhil Rao > --- > test/test/test_event_eth_rx_adapter.c | 399 > ++ > test/test/Makefile| 1

Re: [dpdk-dev] [PATCH v4 1/3] eal/x86: run-time dispatch over memcpy

2017-10-03 Thread Li, Xiaoyun
Hi You mean just use rte_memcpy_internal in rte_memcpy_avx2, rte_memcpy_avx512? But if RTE_MACHINE_CPUFLAGS_AVX2 means only whether the compiler supports avx2, then internal would only compiled With avx2 codes, then cannot choose other code path. What if the HW cannot support avx2? If RTE_MACHINE

Re: [dpdk-dev] [PATCH] acl: fix unchecked return value

2017-10-03 Thread Kozak, KubaX
Thanks Konstantin, I'll fix subject name and resend patch to dpdk witch Your ACK. >-Original Message- >From: Ananyev, Konstantin >Sent: Monday, October 2, 2017 16:22 >To: Kozak, KubaX >Cc: dev@dpdk.org; sta...@dpdk.org >Subject: RE: [PATCH] acl: fix unchecked return value > > > >> -O

[dpdk-dev] [PATCH v3 3/4] doc: add mrvl net pmd documentation

2017-10-03 Thread Tomasz Duszynski
Add documentation for the MRVL NET PMD driver. Signed-off-by: Jacek Siuda Signed-off-by: Tomasz Duszynski --- doc/guides/nics/features/mrvl.ini | 24 ++ doc/guides/nics/index.rst | 1 + doc/guides/nics/mrvl.rst | 151 ++ 3 files change

[dpdk-dev] [PATCH v3 1/4] app: link the whole rte_cfgfile library

2017-10-03 Thread Tomasz Duszynski
MRVL net pmd needs rte_cfgfile to parse QoS configuration file thus librte_pmd_mrvl.a contains undefined symbols from librte_cfgfile.a. As a result linking applications under app/ directory will fail because librte_cfgfile.a comes before librte_pmd_mrvl.a during the linking stage. Linking the who

[dpdk-dev] [PATCH v3 0/4] add net mrvl pmd driver

2017-10-03 Thread Tomasz Duszynski
Hello, This patch series introduces the net driver for Marvell Armada 7k/8k SoCs along with documentation. Below you can find the list of features which net pmd supports: * Speed capabilities * Link status * Queue start/stop * MTU update * Jumbo frame * Promiscuous mode * Allmulticast mode * Unic

[dpdk-dev] [PATCH v3 4/4] maintainers: add maintainers for the mrvl net pmd

2017-10-03 Thread Tomasz Duszynski
Signed-off-by: Jacek Siuda Signed-off-by: Tomasz Duszynski --- MAINTAINERS | 10 ++ 1 file changed, 10 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index a0cd75e..d4810cf 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -393,6 +393,16 @@ F: drivers/net/mlx5/ F: doc/guides/nics/mlx

[dpdk-dev] [PATCH] l3fwd-acl: fix unchecked return value

2017-10-03 Thread Kuba Kozak
Add return value check and error handling for fseek call. Coverity issue: 143435 Fixes: 361b2e9559fc ("acl: new sample l3fwd-acl") Cc: konstantin.anan...@intel.com Cc: sta...@dpdk.org Signed-off-by: Kuba Kozak Acked-by: Konstantin Ananyev --- examples/l3fwd-acl/main.c | 7 ++- 1 file chang

[dpdk-dev] [PATCH v3 2/4] net/mrvl: add mrvl net pmd driver

2017-10-03 Thread Tomasz Duszynski
Add support for the Marvell PPv2 (Packet Processor v2) 1/10 Gbps adapter. Driver is based on external, publicly available, light-weight Marvell MUSDK library that provides access to network packet processor. Driver comes with support for the following features: * Speed capabilities * Link status

[dpdk-dev] ixgbe - link state change detection of port-channel members triggered from Cisco Nexus 9000

2017-10-03 Thread sujith sankar
Hi, While testing port-channels (LACP) on ixgbe, I observed that when port-channel member interfaces are brought down from Cisco Nexus 9000 switch, ixgbe PMD is not detecting it. It was seen that LSC interrupts are not getting generated. This behaviour is intermittent and is not seen with Linux

Re: [dpdk-dev] [PATCH v4 1/3] eal/x86: run-time dispatch over memcpy

2017-10-03 Thread Ananyev, Konstantin
> > Hi > You mean just use rte_memcpy_internal in rte_memcpy_avx2, rte_memcpy_avx512? Yes, exactly and for rte_memcpy_sse() too. Basically we for rte_memcpy_avx512() we force compiler to use AVX512F path inside rte_memcpy_iternal(), for rte_memcpy_avx2() we use AVX2 path inside rte_memcpy_inte

Re: [dpdk-dev] [PATCH v4 1/3] eal/x86: run-time dispatch over memcpy

2017-10-03 Thread Li, Xiaoyun
OK. Got it. Thanks! > -Original Message- > From: Ananyev, Konstantin > Sent: Tuesday, October 3, 2017 20:12 > To: Li, Xiaoyun ; Richardson, Bruce > > Cc: Lu, Wenzhuo ; Zhang, Helin > ; dev@dpdk.org > Subject: RE: [PATCH v4 1/3] eal/x86: run-time dispatch over memcpy > > > > > > > Hi >

[dpdk-dev] [PATCH v2 00/12] introduce security offload library

2017-10-03 Thread Akhil Goyal
This patchset introduce the rte_security library in DPDK. This also includes the sample implementation of drivers and changes in ipsec gateway application to demonstrate its usage. rte_security library is implemented on the idea proposed earlier [1],[2],[3] to support IPsec Inline and look aside

[dpdk-dev] [PATCH v2 03/12] cryptodev: extend cryptodev to support security APIs

2017-10-03 Thread Akhil Goyal
security ops are added to crypto device to support protocol offloaded security operations. Signed-off-by: Akhil Goyal Signed-off-by: Declan Doherty --- doc/guides/cryptodevs/features/default.ini | 1 + lib/librte_cryptodev/rte_crypto.h | 3 ++- lib/librte_cryptodev/rte_crypto

[dpdk-dev] [PATCH v2 01/12] lib/rte_security: add security library

2017-10-03 Thread Akhil Goyal
rte_security library provides APIs for security session create/free for protocol offload or offloaded crypto operation to ethernet device. Signed-off-by: Akhil Goyal Signed-off-by: Boris Pismenny Signed-off-by: Radu Nicolau Signed-off-by: Declan Doherty --- lib/librte_security/Makefile

[dpdk-dev] [PATCH v2 02/12] doc: add details of rte security

2017-10-03 Thread Akhil Goyal
Signed-off-by: Hemant Agrawal Signed-off-by: Akhil Goyal Reviewed-by: John McNamara --- doc/api/doxy-api-index.md | 3 +- doc/api/doxy-api.conf | 1 + doc/guides/prog_guide/index.rst| 1 + doc/guides/prog_guide/rte_security.rst | 553 +

[dpdk-dev] [PATCH v2 04/12] lib/librte_net: add ESP header to generic flow steering

2017-10-03 Thread Akhil Goyal
From: Boris Pismenny The ESP header is required for IPsec crypto actions. Signed-off-by: Boris Pismenny Signed-off-by: Aviad Yehezkel --- doc/api/doxy-api-index.md | 1 + lib/librte_ether/rte_flow.h | 26 lib/librte_net/Makefile | 2 +- lib/librte_net/rte_esp.h

[dpdk-dev] [PATCH v2 05/12] lib/librte_mbuf: add security crypto flags and mbuf fields

2017-10-03 Thread Akhil Goyal
From: Boris Pismenny add security crypto flags and update mbuf fields to support IPsec crypto offload for transmitted packets, and to indicate crypto result for received packets. Signed-off-by: Aviad Yehezkel Signed-off-by: Boris Pismenny Signed-off-by: Radu Nicolau --- lib/librte_mbuf/rte_m

[dpdk-dev] [PATCH v2 06/12] ethdev: extend ethdev to support security APIs

2017-10-03 Thread Akhil Goyal
From: Declan Doherty rte_flow_action type and ethdev updated to support rte_security sessions for crypto offload to ethernet device. Signed-off-by: Boris Pismenny Signed-off-by: Aviad Yehezkel Signed-off-by: Radu Nicolau Signed-off-by: Declan Doherty --- lib/librte_ether/rte_ethdev.c

[dpdk-dev] [PATCH v2 07/12] ethdev: add rte flow action for crypto

2017-10-03 Thread Akhil Goyal
From: Boris Pismenny The crypto action is specified by an application to request crypto offload for a flow. Signed-off-by: Boris Pismenny Signed-off-by: Aviad Yehezkel --- lib/librte_ether/rte_flow.h | 38 ++ 1 file changed, 38 insertions(+) diff --git a/l

[dpdk-dev] [PATCH v2 08/12] doc: add details of rte_flow security actions

2017-10-03 Thread Akhil Goyal
From: Boris Pismenny Signed-off-by: Boris Pismenny --- doc/guides/prog_guide/rte_flow.rst | 83 +- 1 file changed, 81 insertions(+), 2 deletions(-) diff --git a/doc/guides/prog_guide/rte_flow.rst b/doc/guides/prog_guide/rte_flow.rst index 662a912..62da436 1

[dpdk-dev] [PATCH v2 09/12] mk: add rte security into build system

2017-10-03 Thread Akhil Goyal
Signed-off-by: Akhil Goyal Signed-off-by: Radu Nicolau --- MAINTAINERS| 6 ++ config/common_base | 6 ++ lib/Makefile | 5 + mk/rte.app.mk | 1 + 4 files changed, 18 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index a0cd75e..f5b790e 100644 --- a/MAINTAINE

[dpdk-dev] [PATCH v2 10/12] net/ixgbe: enable inline ipsec

2017-10-03 Thread Akhil Goyal
From: Radu Nicolau Signed-off-by: Radu Nicolau Signed-off-by: Declan Doherty --- config/common_base | 1 + drivers/net/Makefile | 2 +- drivers/net/ixgbe/Makefile | 4 +- drivers/net/ixgbe/ixgbe_ethdev.c | 18 + drivers/net/ixgbe/i

[dpdk-dev] [PATCH v2 11/12] crypto/dpaa2_sec: add support for protocol offload ipsec

2017-10-03 Thread Akhil Goyal
driver implementation to support rte_security APIs Signed-off-by: Akhil Goyal --- doc/guides/cryptodevs/features/dpaa2_sec.ini | 1 + drivers/crypto/Makefile | 2 +- drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 404 ++- drivers/crypto/dpaa2_sec/

[dpdk-dev] [PATCH v2 12/12] examples/ipsec-secgw: add support for security offload

2017-10-03 Thread Akhil Goyal
ipsec-secgw application is modified so that it can support following type of actions for crypto operations 1. full protocol offload using crypto devices. 2. inline ipsec using ethernet devices to perform crypto operations 3. full protocol offload using ethernet devices. 4. non protocol offload Sig

Re: [dpdk-dev] [PATCH v4 3/4] eventdev: Add eventdev ethernet Rx adapter

2017-10-03 Thread Jerin Jacob
-Original Message- > Date: Sun, 24 Sep 2017 23:46:51 +0530 > From: "Rao, Nikhil" > To: Jerin Jacob > CC: bruce.richard...@intel.com, gage.e...@intel.com, dev@dpdk.org, > tho...@monjalon.net, harry.van.haa...@intel.com, hemant.agra...@nxp.com, > nipun.gu...@nxp.com, narender.vang...@inte

Re: [dpdk-dev] [RFC] Wireless Base Band Device (bbdev)

2017-10-03 Thread Mokhtar, Amr
Hi Thomas, Thanks for reviewing.. Kindly find my reply in-line below.. > -Original Message- > From: Thomas Monjalon [mailto:tho...@monjalon.net] > Sent: Thursday 21 September 2017 15:56 > To: Mokhtar, Amr > Cc: dev@dpdk.org > Subject: Re: [dpdk-dev] [RFC] Wireless Base Band Device (bbdev)

Re: [dpdk-dev] [PATCH] usertools/dpdk-devbind.py: fix broken Python 3 support

2017-10-03 Thread Mor, Omri
Sorry about that! I wasn’t able to send it using `git send-email’ using my university’s SMTP server for some reason. I ended up resorting to sending the patch as an attachment, as you suspected. I’ve sent it inline, which I hope works? Omri > On Oct 3, 2017, at 05:41, Bruce Richardson wrote: >

Re: [dpdk-dev] [RFC PATCH v2 0/1] eventtimer: introduce event timer adapter

2017-10-03 Thread Jerin Jacob
-Original Message- > Date: Fri, 22 Sep 2017 10:17:10 -0500 > From: Erik Gabriel Carrillo > To: jerin.ja...@caviumnetworks.com > CC: dev@dpdk.org, bruce.richard...@intel.com, harry.van.haa...@intel.com, > hemant.agra...@nxp.com, gage@intel.com, nipun.gu...@nxp.com, > narender.vang...@

Re: [dpdk-dev] [PATCH] usertools/dpdk-devbind.py: fix broken Python 3 support

2017-10-03 Thread Mor, Omri
>From aa9bbfd7816dbea4abe4fdc0bec8b8c5f088148c Mon Sep 17 00:00:00 2001 From: Omri Mor Date: Mon, 2 Oct 2017 18:54:43 -0500 Subject: [PATCH] usertools/dpdk-devbind.py: fix broken Python 3 support When using Python 3, dpdk-devbind.py fails to detect modules other than igb_uio. Signed-off-by: Omri

[dpdk-dev] [PATCH v3 2/9] lib/librte_power: add extra msg type for policies

2017-10-03 Thread David Hunt
Signed-off-by: Nemanja Marjanovic Signed-off-by: Rory Sexton Signed-off-by: David Hunt --- lib/librte_power/channel_commands.h | 52 + 1 file changed, 52 insertions(+) diff --git a/lib/librte_power/channel_commands.h b/lib/librte_power/channel_commands.h in

[dpdk-dev] [PATCH v3 1/9] net/i40e: add API to convert VF MAC to VF id

2017-10-03 Thread David Hunt
From: "Sexton, Rory" Need a way to convert a vf id to a pf id on the host so as to query the pf for relevant statistics which are used for the frequency changes in the vm_power_manager app. Used when profiles are passed down from the guest to the host, allowing the host to map the vfs to pfs. Si

[dpdk-dev] [PATCH v3 0/9] Policy Based Power Control for Guest

2017-10-03 Thread David Hunt
Policy Based Power Control for Guest This patchset adds the facility for a guest VM to send a policy down to the host that will allow the host to scale up/down cpu frequencies depending on the policy criteria independently of the DPDK app running in the guest. This differs from the previous vm_po

[dpdk-dev] [PATCH v3 3/9] examples/vm_power_mgr: add vcpu to pcpu mapping

2017-10-03 Thread David Hunt
Signed-off-by: Nemanja Marjanovic Signed-off-by: Rory Sexton Signed-off-by: David Hunt --- examples/vm_power_manager/channel_manager.c | 62 + examples/vm_power_manager/channel_manager.h | 25 2 files changed, 87 insertions(+) diff --git a/examples/vm_p

[dpdk-dev] [PATCH v3 4/9] examples/vm_power_mgr: add scale to medium freq fn

2017-10-03 Thread David Hunt
Signed-off-by: Nemanja Marjanovic Signed-off-by: Rory Sexton Signed-off-by: David Hunt --- examples/vm_power_manager/power_manager.c | 15 +++ examples/vm_power_manager/power_manager.h | 13 + 2 files changed, 28 insertions(+) diff --git a/examples/vm_power_manager/powe

[dpdk-dev] [PATCH v3 5/9] examples/vm_power_mgr: add policy to channels

2017-10-03 Thread David Hunt
From: "Sexton, Rory" Signed-off-by: Nemanja Marjanovic Signed-off-by: Rory Sexton Signed-off-by: David Hunt --- examples/vm_power_manager/Makefile | 16 ++ examples/vm_power_manager/channel_monitor.c | 340 +++- examples/vm_power_manager/channel_monitor.h |

[dpdk-dev] [PATCH v3 6/9] examples/vm_power_mgr: add port initialisation

2017-10-03 Thread David Hunt
We need to initialise the port's we're monitoring to be able to see the throughput. Signed-off-by: Nemanja Marjanovic Signed-off-by: David Hunt --- examples/vm_power_manager/main.c | 220 +++ 1 file changed, 220 insertions(+) diff --git a/examples/vm_power_m

[dpdk-dev] [PATCH v3 7/9] power: add send channel msg function to map file

2017-10-03 Thread David Hunt
Adding new wrapper function to existing private (but unused 'till now) function with an rte_power_ prefix. The plan is to clean up all the header files in the next release so that only the intended public functions are in the map file and only the relevant headers have the rte_ prefix so that only

[dpdk-dev] [PATCH v3 8/9] examples/guest_cli: add send policy to host

2017-10-03 Thread David Hunt
From: "Sexton, Rory" Here we're adding an example of setting up a policy, and allowing the vm_cli_guest app to send it to the host using the cli command "send_policy now" Signed-off-by: Nemanja Marjanovic Signed-off-by: Rory Sexton Signed-off-by: David Hunt --- .../guest_cli/vm_power_cli_gue

[dpdk-dev] [PATCH v3 9/9] examples/vm_power_mgr: set MAC address of VF

2017-10-03 Thread David Hunt
We need to set vf mac from the host, so that they will be in sync on the guest and the host. Otherwise, we'll have a random mac on the guest, and a 00:00:00:00:00:00 mac on the host. Signed-off-by: David Hunt --- examples/vm_power_manager/main.c | 60 +++- 1 f

[dpdk-dev] [PATCH 2/2] net/tap: allow RSS flow action

2017-10-03 Thread Matan Azrad
One of the main identified use cases for the tap PMD is to be used in combination with the fail-safe PMD as a fallback for a physical device. Fail-safe is very strict about making sure its current configuration is properly applied to all slave devices, they get rejected otherwise in order to maint

[dpdk-dev] [PATCH 1/2] net/tap: fix indentation in flow file

2017-10-03 Thread Matan Azrad
Missed 4 spaces were added after break if line. Fixes: 7a6811d78ed6 ("net/tap: fix flow and port commands") Signed-off-by: Matan Azrad --- drivers/net/tap/tap_flow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/tap/tap_flow.c b/drivers/net/tap/tap_flow.c index

[dpdk-dev] [PATCH v5 0/3] run-time Linking support

2017-10-03 Thread Xiaoyun Li
This patchset dynamically selects functions at run-time based on CPU flags that current machine supports.This patchset modifies mempcy, memcpy perf test and x86 EFD, using function pointers and bind them at constructor time. Then in the cloud environment, users can compiler once for the minimum tar

[dpdk-dev] [PATCH v5 2/3] app/test: run-time dispatch over memcpy perf test

2017-10-03 Thread Xiaoyun Li
This patch modifies assignment of alignment unit from build-time to run-time based on CPU flags that machine supports. Signed-off-by: Xiaoyun Li --- test/test/test_memcpy_perf.c | 40 +++- 1 file changed, 27 insertions(+), 13 deletions(-) diff --git a/test/te

[dpdk-dev] [PATCH v5 3/3] efd: run-time dispatch over x86 EFD functions

2017-10-03 Thread Xiaoyun Li
This patch enables x86 EFD file be compiled only if the compiler supports AVX2 since it is already chosen at run-time. Signed-off-by: Xiaoyun Li --- lib/librte_efd/Makefile | 6 +++ lib/librte_efd/rte_efd_x86.c | 87 lib/librte_efd/rte_efd_x86.h

[dpdk-dev] [PATCH v5 1/3] eal/x86: run-time dispatch over memcpy

2017-10-03 Thread Xiaoyun Li
This patch dynamically selects functions of memcpy at run-time based on CPU flags that current machine supports. This patch uses function pointers which are bind to the relative functions at constrctor time. In addition, AVX512 instructions set would be compiled only if users config it enabled and

Re: [dpdk-dev] [PATCH 2/2] net/tap: allow RSS flow action

2017-10-03 Thread Matan Azrad
I sent it from root user by mistake, sorry! I Sent it again with my user. > -Original Message- > From: root [mailto:r...@pegasus12.mtr.labs.mlnx] > Sent: Tuesday, October 3, 2017 5:52 PM > To: Pascal Mazon > Cc: dev@dpdk.org; Matan Azrad > Subject: [PATCH 2/2] net/tap: allow RSS flow act

Re: [dpdk-dev] [PATCH 1/2] net/tap: fix indentation in flow file

2017-10-03 Thread Matan Azrad
I sent it from root user by mistake, sorry! I Sent it again with my user. > -Original Message- > From: root [mailto:r...@pegasus12.mtr.labs.mlnx] > Sent: Tuesday, October 3, 2017 5:52 PM > To: Pascal Mazon > Cc: dev@dpdk.org; Matan Azrad > Subject: [PATCH 1/2] net/tap: fix indentation in

Re: [dpdk-dev] [RFC] Wireless Base Band Device (bbdev)

2017-10-03 Thread Thomas Monjalon
03/10/2017 16:29, Mokhtar, Amr: > From: Thomas Monjalon [mailto:tho...@monjalon.net] > > 25/08/2017 15:46, Amr Mokhtar: > > > +int > > > +rte_bbdev_configure(uint8_t dev_id, uint16_t num_queues, > > > + const struct rte_bbdev_conf *conf); > > > > I am not convinced by the "configure all" f

Re: [dpdk-dev] [PATCH v2 08/12] doc: add details of rte_flow security actions

2017-10-03 Thread Mcnamara, John
> -Original Message- > From: Akhil Goyal [mailto:akhil.go...@nxp.com] > Sent: Tuesday, October 3, 2017 2:14 PM > To: dev@dpdk.org > Cc: Doherty, Declan ; De Lara Guarch, Pablo > ; hemant.agra...@nxp.com; Nicolau, Radu > ; bor...@mellanox.com; avia...@mellanox.com; > tho...@monjalon.net; s

Re: [dpdk-dev] [PATCH v2 08/12] doc: add details of rte_flow security actions

2017-10-03 Thread Mcnamara, John
Reviewed-by: John McNamara

  1   2   >