[dpdk-dev] [PATCH] net/octeontx2: add Rx/Tx burst mode get callbacks

2019-09-30 Thread Sunil Kumar Kori
Retrieve burst mode options according to the selected Rx/Tx burst function. Signed-off-by: Sunil Kumar Kori --- Below implementation is based on following patchset http://patches.dpdk.org/patch/59907/ drivers/net/octeontx2/otx2_ethdev.c | 2 ++ drivers/net/octeontx2/otx2_ethdev.h | 4

Re: [dpdk-dev] [PATCH v4 08/10] examples/l2fwd-event: add eventdev main loop

2019-09-30 Thread Nipun Gupta
> -Original Message- > From: Jerin Jacob > Sent: Monday, September 30, 2019 12:08 PM > To: Nipun Gupta > Cc: Pavan Nikhilesh Bhagavatula ; Jerin Jacob > Kollanukkaran ; bruce.richard...@intel.com; Akhil > Goyal ; Marko Kovacevic > ; Ori Kam ; Radu > Nicolau ; Tomasz Kantecki > ; Sunil K

Re: [dpdk-dev] [PATCH 1/2] ethdev: add symmetric toeplitz hash support

2019-09-30 Thread Zhang, Qi Z
> -Original Message- > From: Su, Simei > Sent: Monday, September 30, 2019 2:34 PM > To: Andrew Rybchenko ; Shahaf Shuler > ; Adrien Mazarguil > Cc: Zhang, Qi Z ; Wu, Jingjing ; > dev@dpdk.org > Subject: RE: [dpdk-dev] [PATCH 1/2] ethdev: add symmetric toeplitz hash > support > > Hi, And

Re: [dpdk-dev] [PATCH v6 2/3] ethdev: extend RSS offload types

2019-09-30 Thread Zhang, Qi Z
> -Original Message- > From: Andrew Rybchenko [mailto:arybche...@solarflare.com] > Sent: Sunday, September 29, 2019 7:41 PM > To: Su, Simei ; Zhang, Qi Z ; Wu, > Jingjing ; Ye, Xiaolong ; Yigit, > Ferruh > Cc: dev@dpdk.org > Subject: Re: [dpdk-dev] [PATCH v6 2/3] ethdev: extend RSS offlo

[dpdk-dev] [PATCH v6 2/6] examples/ioat: add software copy support

2019-09-30 Thread Marcin Baran
Added support for copying packets using software copy mode and MAC address changing. The copies are processed using one lcore. Signed-off-by: Marcin Baran Signed-off-by: Pawel Modrak --- examples/ioat/ioatfwd.c | 177 1 file changed, 177 insertions(+) d

[dpdk-dev] [PATCH] crypto: remove cut'n'paste comment

2019-09-30 Thread Thierry Herbelot
A comment valid in AESNI PMD was copied and pasted in other code Fixes: 8a61c83af2fa ('crypto/mrvl: add mrvl crypto driver') Fixes: 169ca3db550c ('crypto/armv8: add PMD optimized for ARMv8 processors') Fixes: d61f70b4c918 ('crypto/libcrypto: add driver for OpenSSL library') Cc: sta...@dpdk.org Cc

[dpdk-dev] [PATCH v6 0/6] examples/ioat: sample app on ioat driver usage

2019-09-30 Thread Marcin Baran
A new sample app demonstrating use of driver for CBDMA. The app receives packets, performs software or hardware copy, changes packets' MAC addresses (if enabled) and forwards them. The patch includes sample application as well as it's guide. v6: - rearrange 'ioat_tx_port()' to remove unnecessary

[dpdk-dev] [PATCH v6 3/6] examples/ioat: add rawdev copy mode support

2019-09-30 Thread Marcin Baran
Added support for copying packets using rawdev device. Each port's Rx queue is assigned DMA channel for copy. Signed-off-by: Marcin Baran Signed-off-by: Pawel Modrak --- examples/ioat/ioatfwd.c | 117 +++- 1 file changed, 115 insertions(+), 2 deletions(-) di

[dpdk-dev] [PATCH v6 4/6] examples/ioat: add two threads configuration

2019-09-30 Thread Marcin Baran
From: Pawel Modrak Added possibility to use two lcores: first for packet receiving and copying, second for packets sending. Signed-off-by: Pawel Modrak Signed-off-by: Marcin Baran --- examples/ioat/ioatfwd.c | 47 + 1 file changed, 43 insertions(+), 4 d

[dpdk-dev] [PATCH v6 1/6] examples/ioat: create sample app on ioat driver usage

2019-09-30 Thread Marcin Baran
From: Pawel Modrak A new sample app demonstrating use of driver for CBDMA. The app receives packets, performs software or hardware copy, changes packets' MAC addresses (if enabled) and forwards them. The change covers ports initialization, closing connection and argument parsing. Signed-off-by:

[dpdk-dev] [PATCH v6 5/6] examples/ioat: add stats printing for each port

2019-09-30 Thread Marcin Baran
Added printing stats of ports each second. The stats printing is done using master core. The information provided informs about packets received, dropped and send as well as statistics of rawdev devices. Signed-off-by: Marcin Baran Signed-off-by: Pawel Modrak --- examples/ioat/ioatfwd.c | 235 +

[dpdk-dev] [PATCH v6 6/6] doc/guides/: provide IOAT sample app guide

2019-09-30 Thread Marcin Baran
Added guide for IOAT sample app usage and code description. Signed-off-by: Marcin Baran --- doc/guides/sample_app_ug/index.rst | 1 + doc/guides/sample_app_ug/intro.rst | 4 + doc/guides/sample_app_ug/ioat.rst | 581 + 3 files changed, 586 insertions(+) create m

Re: [dpdk-dev] [PATCH v4 08/10] examples/l2fwd-event: add eventdev main loop

2019-09-30 Thread Pavan Nikhilesh Bhagavatula
>-Original Message- >From: Nipun Gupta >Sent: Monday, September 30, 2019 1:17 PM >To: Jerin Jacob >Cc: Pavan Nikhilesh Bhagavatula ; Jerin >Jacob Kollanukkaran ; >bruce.richard...@intel.com; Akhil Goyal ; >Marko Kovacevic ; Ori Kam >; Radu Nicolau ; >Tomasz Kantecki ; Sunil Kumar Kori >

Re: [dpdk-dev] [PATCH] test/event_crypto: fix mempool name

2019-09-30 Thread Jerin Jacob
On Fri, Sep 27, 2019 at 3:45 PM Gujjar, Abhinandan S wrote: > > Acked-by: abhinandan.guj...@intel.com Changed to Acked-by: Abhinandan Gujjar and Applied to dpdk-next-eventdev/master. Thanks. > > > > -Original Message- > > From: Hemant Agrawal > > Sent: Friday, September 27, 2019 1:46

Re: [dpdk-dev] [PATCH] app/testpmd: fix wrong return value

2019-09-30 Thread Ye Xiaolong
On 09/29, Qi Zhang wrote: >The patch fix the issue that return value in parse_vc_action_rss >be overwritten unexpectly. That cause an rte_flow creation command >with rss action does not work. > >For example: > >testpmd> flow create 0 ingress pattern eth / ipv4 / end \ >actions rss types ipv4 end /

Re: [dpdk-dev] [PATCH] test/event_crypto: change the SEC cipher algo

2019-09-30 Thread Jerin Jacob
On Fri, Sep 27, 2019 at 3:41 PM Gujjar, Abhinandan S wrote: > > Acked-by: abhinandan.guj...@intel.com Changed to Acked-by: Abhinandan Gujjar and Applied to dpdk-next-eventdev/master. Thanks. > > > > -Original Message- > > From: Hemant Agrawal > > Sent: Friday, September 27, 2019 1:4

[dpdk-dev] [PATCH v4 2/6] event/dpaa2: remove conditional compilation

2019-09-30 Thread Hemant Agrawal
This patch removes the conditional compilation for cryptodev event support from RTE_LIBRTE_SECURITY flag. Signed-off-by: Hemant Agrawal --- drivers/event/dpaa2/Makefile | 2 -- drivers/event/dpaa2/dpaa2_eventdev.c | 6 -- 2 files changed, 8 deletions(-) diff --git a/drivers/event/dp

[dpdk-dev] [PATCH v4 0/6] NXP DPAA2 EVENTDEV enhancements

2019-09-30 Thread Hemant Agrawal
This patch series has minor fixes in dpaa2 eventdev support - default queue and cleanup logic - introducing selftest for dpaa2 v4: fix shared build and add version info v3: review comment cleanup and support retry timeout in enq v2: fix compilation issue wit meson and missing selftest file Hema

[dpdk-dev] [PATCH v4 1/6] event/dpaa2: fix def queue conf

2019-09-30 Thread Hemant Agrawal
Test vector expect only one type of scheduling as default. The old code is provide support scheduling types instead of default. Fixes: 13370a3877a5 ("eventdev: fix inconsistency in queue config") Cc: sta...@dpdk.org Signed-off-by: Hemant Agrawal --- drivers/event/dpaa2/dpaa2_eventdev.c | 7 ++---

[dpdk-dev] [PATCH v4 4/6] event/dpaa2: add retry break in packet enqueue

2019-09-30 Thread Hemant Agrawal
From: Nipun Gupta The patch adds the break in the TX function, if it is failing to send the packets out. Previously the system was trying infinitely to send packet out. Signed-off-by: Nipun Gupta --- drivers/event/dpaa2/dpaa2_eventdev.c | 21 + 1 file changed, 17 insertions

[dpdk-dev] [PATCH v4 5/6] event/dpaa2: add selftest cases

2019-09-30 Thread Hemant Agrawal
This patch add support for testing dpaa2 eventdev self test for basic sanity for parallel and atomic queues. Signed-off-by: Hemant Agrawal --- drivers/event/dpaa2/Makefile | 5 +- drivers/event/dpaa2/dpaa2_eventdev.c | 1 + drivers/event/dpaa2/dpaa2_eventdev.h

[dpdk-dev] [PATCH v4 6/6] test/event: enable dpaa2 self test

2019-09-30 Thread Hemant Agrawal
This patch add the support to include dpaa2 event test from the test framework. Signed-off-by: Hemant Agrawal --- app/test/test_eventdev.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/app/test/test_eventdev.c b/app/test/test_eventdev.c index 783140dfe..427dbbf77 100644 --- a/app/te

[dpdk-dev] [PATCH v4 3/6] event/dpaa2: add destroy support

2019-09-30 Thread Hemant Agrawal
This patch add support to destroy the event device Signed-off-by: Hemant Agrawal --- drivers/event/dpaa2/dpaa2_eventdev.c | 35 1 file changed, 35 insertions(+) diff --git a/drivers/event/dpaa2/dpaa2_eventdev.c b/drivers/event/dpaa2/dpaa2_eventdev.c index 98b487603

Re: [dpdk-dev] [PATCH v2 12/17] net/hinic: set link down and up

2019-09-30 Thread Wangxiaoyun (Cloud, Network Chip Application Development Dept)
Thanks for your comments, I have splited this patch into 2 patched, one is for link down and up,the other is for getting fw version. 在 2019/9/27 2:47, Ferruh Yigit 写道: On 9/25/2019 3:30 PM, Xiaoyun wang wrote: This patch supports setting link down and up, Also adds support for geting firmware

Re: [dpdk-dev] [PATCH v5 0/9] net/ice: add ice Flow Director driver

2019-09-30 Thread Zhang, Qi Z
> -Original Message- > From: Cao, Yahui > Sent: Monday, September 30, 2019 7:46 PM > To: Yang, Qiming ; Lu, Wenzhuo > > Cc: dev@dpdk.org; Zhang, Qi Z ; Ye, Xiaolong > ; Xing, Beilei ; Cao, Yahui > > Subject: [PATCH v5 0/9] net/ice: add ice Flow Director driver > > This patch series ad

Re: [dpdk-dev] [PATCH v2 05/17] net/hinic: add allmulticast mode and MTU set

2019-09-30 Thread Wangxiaoyun (Cloud, Network Chip Application Development Dept)
Hi Ferruh, Thanks for your comments, I have added min_mtu & max_mtu to hinic_dev_infos_get interface, which will be shown in Patch V3. Best regards Xiaoyun Wang 在 2019/9/27 2:47, Ferruh Yigit 写道: On 9/25/2019 3:30 PM, Xiaoyun wang wrote: When enable allmulticast mode, all multicast packet

Re: [dpdk-dev] [PATCH 02/51] app/testpmd: check status of getting ethdev info

2019-09-30 Thread Zhao1, Wei
Hi, Ivan Ilchenko and Andrew Rybchenko An error is cause by this patch, it is very easy to reappear. You only need to bind a ixgbe nic driver , and run up testpmd: ./x86_64-native-linuxapp-gcc/app/testpmd -c 0xff -n 4 -- -i --portmask=0xff --rxq=8 --txq=8 --port-topology=loop Then input a rte

Re: [dpdk-dev] [PATCH 02/51] app/testpmd: check status of getting ethdev info

2019-09-30 Thread Zhang, Qi Z
The issue has been fixed in below patch http://patchwork.dpdk.org/patch/60091/ > -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Zhao1, Wei > Sent: Monday, September 30, 2019 4:44 PM > To: Andrew Rybchenko ; Lu, Wenzhuo > ; Wu, Jingjing ; Iremonger, > Bernard ;

Re: [dpdk-dev] [PATCH v3 00/22] add hns3 ethernet PMD driver

2019-09-30 Thread Ferruh Yigit
On 9/29/2019 1:12 PM, Wei Hu (Xavier) wrote: > Hi, Ferruh Yigit > > > On 2019/9/28 2:30, Ferruh Yigit wrote: >> On 9/26/2019 3:01 PM, Wei Hu (Xavier) wrote: >>> The Hisilicon Network Subsystem is a long term evolution IP which is >>> supposed to be used in Hisilicon ICT SoCs such as Kunpeng 920.

Re: [dpdk-dev] [PATCH] build: add dockerfile for building docker image

2019-09-30 Thread Ray Kinsella
Hi Abdul, Comments inline. On 27/08/2019 17:44, Abdul Halim wrote: > Adding a Dockerfile with Ubuntu bionic base image to build dpdk > as shared library. This docker image could be used as base image to > build and run dpdk applications in containers. > > Signed-off-by: Abdul Halim > --- > ext

Re: [dpdk-dev] [PATCH 2/5] mbuf: delinline rte_pktmbuf_linearize

2019-09-30 Thread Morten Brørup
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Stephen Hemminger > Sent: Saturday, September 28, 2019 2:38 AM > > This function is too big to be put inline. The places it > is used are only in special exception paths where a highly fragmented > mbuf arrives at

Re: [dpdk-dev] [PATCH 1/2] net/vhost: support TSO disabling

2019-09-30 Thread Maxime Coquelin
On 6/19/19 8:13 AM, Noa Ezra wrote: > TSO (TCP Segmentation Offload) is enabled by default on vhost. > Add the ability to disable TSO on vhost. > The user should also disable the feature on the virtual machine's xml. > > Signed-off-by: Noa Ezra > Reviewed-by: Matan Azrad > --- > doc/guides/n

Re: [dpdk-dev] [PATCH 2/2] net/vhost: support mrg-rxbuf disabling

2019-09-30 Thread Maxime Coquelin
On 6/19/19 8:13 AM, Noa Ezra wrote: > Rx mergeable buffers is a virtio feature that allows chaining of > multiple virtio descriptors to handle large packet size. > This behavior is supported and enabled by default, however in case > the user knows that rx mergeable buffers are not needed, he can

Re: [dpdk-dev] [PATCH v5 2/4] examples/ipsec-secgw: add fallback session feature

2019-09-30 Thread Smoczynski, MarcinX
> -Original Message- > From: Ananyev, Konstantin > Sent: Sunday, September 29, 2019 7:04 PM > To: Smoczynski, MarcinX ; > ano...@marvell.com; akhil.go...@nxp.com > Cc: dev@dpdk.org > Subject: RE: [PATCH v5 2/4] examples/ipsec-secgw: add fallback session > feature > > Hi Marcin, > > > >

[dpdk-dev] [PATCH 1/8] config: change ABI versioning for global

2019-09-30 Thread Marcin Baran
The libraries should be maintained using global ABI versioning. The changes includes adding global ABI version support for both makefile and meson build system. Experimental libraries should be marked as 0. Signed-off-by: Marcin Baran Signed-off-by: Pawel Modrak --- buildtools/meson.build | 2

[dpdk-dev] [PATCH 3/8] buildtools: add ABI versioning check script

2019-09-30 Thread Marcin Baran
The script 'check-abi-version.sh' should be used to check whether built libraries are versioned with correct ABI number (provided ABI, provided ABI+1 or EXPERIMENTAL). Signed-off-by: Marcin Baran Signed-off-by: Pawel Modrak --- buildtools/check-abi-version.sh | 46 ++

[dpdk-dev] [PATCH 6/8] lib: remove dead code from lpm

2019-09-30 Thread Marcin Baran
After updating ABI policy old and unused code needs to be removed and all libraries symbols version should be set to v20. Signed-off-by: Marcin Baran --- lib/librte_lpm/rte_lpm.c | 995 ++ lib/librte_lpm/rte_lpm.h | 88 lib/librte_lpm/rte_lpm6.c | 128

[dpdk-dev] [PATCH 2/8] buildtools: scripts for updating symbols abi version

2019-09-30 Thread Marcin Baran
From: Pawel Modrak The scripts updates version number for binding symbols and version map files. Signed-off-by: Pawel Modrak --- buildtools/update_default_symbol_abi.py | 57 buildtools/update_version_map_abi.py| 110 2 files changed, 167 insertions(+

[dpdk-dev] [PATCH 4/8] build: change ABI version to 20.0

2019-09-30 Thread Marcin Baran
From: Pawel Modrak Merge all vesions in linker version script files to DPDK_20.0. Use version 20.0 as default version in source files. Signed-off-by: Pawel Modrak --- .../rte_pmd_bbdev_fpga_lte_fec_version.map| 5 +- .../null/rte_pmd_bbdev_null_version.map | 3 +- .../rte_pmd_bbd

[dpdk-dev] [PATCH 5/8] lib: remove dead code from timer

2019-09-30 Thread Marcin Baran
After updating ABI policy old and unused code needs to be removed and all libraries symbols version should be set to v20. Signed-off-by: Marcin Baran --- lib/librte_timer/rte_timer.c | 85 +++- lib/librte_timer/rte_timer.h | 15 --- 2 files changed, 5 insertio

[dpdk-dev] [PATCH 7/8] lib: remove dead code from distributor

2019-09-30 Thread Marcin Baran
After updating ABI policy old and unused code needs to be removed and all libraries symbols version should be set to v20. Signed-off-by: Marcin Baran --- lib/librte_distributor/rte_distributor.c | 56 +++-- .../rte_distributor_v1705.h | 61 ---

[dpdk-dev] [PATCH 8/8] lib: change function suffix in distributor

2019-09-30 Thread Marcin Baran
The functions and structures version 2.0 is still in use in librte_distributor for single packet mode but the version suffix "_v20" needs to be changed to "_single" in order to avoid confusion. Signed-off-by: Marcin Baran --- lib/librte_distributor/Makefile | 2 +- lib/librte_dist

Re: [dpdk-dev] [PATCH] net/ice: cleanup RSS/FDIR profile when device init

2019-09-30 Thread Ye Xiaolong
On 09/28, Ying Wang wrote: >The patch cleanup RSS/FDIR profile resources when device init >to fix profile ID increase issue. Could you elaborate the profile ID increase issue in the commit log? > >Fixes: d7d150b93070 ("net/ice: enable RSS when device init") >Cc: sta...@dpdk.org > >Signed-off-by:

Re: [dpdk-dev] [PATCH 01/10] security: introduce CPU Crypto action type and API

2019-09-30 Thread Hemant Agrawal
Hi Konstantin, n 06-Sep-19 6:43 PM, Fan Zhang wrote: >>> This patch introduce new RTE_SECURITY_ACTION_TYPE_CPU_CRYPTO action type to >>> security library. The type represents performing crypto operation with CPU >>> cycles. The patch also includes a new API to process crypto operations in >>> bulk

Re: [dpdk-dev] [PATCH v4] net/iavf: enable AVX2 for iavf

2019-09-30 Thread Ye Xiaolong
On 09/23, Leyi Rong wrote: >This patch enables AVX data path for iavf PMD. > >Signed-off-by: Leyi Rong > >--- >v4: >- Romoves redundant IAVF_NO_VECTOR_FLAGS define. > >v3: >- Adds release note. > >v2: >- Fixes build error on aarch64. >--- > doc/guides/rel_notes/release_19_11.rst | 3 + > drivers

Re: [dpdk-dev] [PATCH v2 1/4] power: extend guest channel for query freq

2019-09-30 Thread Hunt, David
On 27/09/2019 13:15, David Hunt wrote: From: Marcin Hajkowski Extend incoming packet reading API with new packet type which carries CPU frequencies. Signed-off-by: Marcin Hajkowski Tested-by: David Hunt Acked-by: Lee Daly --- lib/librte_power/channel_commands.h | 21 +

Re: [dpdk-dev] [PATCH v2] net/i40e: fix exception with multi-driver

2019-09-30 Thread Ye Xiaolong
On 09/26, alvinx.zh...@intel.com wrote: >From: Alvin Zhang > >If support-multi-driver is enabled, the global registers should not >be configured. But with the correct code base, if creating a flow correct -> current >with rte_flow API, the global register GLQF_FD_MSK may be changed. > >Fixes: cf

Re: [dpdk-dev] [PATCH v5 3/4] examples/ipsec-secgw: add frag TTL cmdline option

2019-09-30 Thread Ananyev, Konstantin
> > Due to fragment loss on highly saturated links and long fragment > lifetime, ipsec-secgw application quickly runs out of free reassembly > buckets. As a result new fragments are being dropped. > > Introduce --frag-ttl option which allow user to lower default fragment > lifitime which solve

Re: [dpdk-dev] [PATCH 3/8] buildtools: add ABI versioning check script

2019-09-30 Thread Bruce Richardson
On Mon, Sep 30, 2019 at 11:21:34AM +0200, Marcin Baran wrote: > The script 'check-abi-version.sh' should be used > to check whether built libraries are versioned > with correct ABI number (provided ABI, provided > ABI+1 or EXPERIMENTAL). > > Signed-off-by: Marcin Baran > Signed-off-by: Pawel Modr

Re: [dpdk-dev] [PATCH 04/12] net/mlx5: add VF LAG mode bonding device recognition

2019-09-30 Thread Ferruh Yigit
On 9/25/2019 8:53 AM, Viacheslav Ovsiienko wrote: > The Mellanox NICs starting from ConnectX-5 support LAG over > NIC ports internally, implemented by the NIC firmware and hardware. > The multiport NIC presents multiple physical PCI functions (PF), > with SR-IOV multiple virtual PCI functions (VFs)

Re: [dpdk-dev] [PATCH 0/7] Add PDCP test cases

2019-09-30 Thread Nipun Gupta
Series Acked-by: Nipun Gupta > -Original Message- > From: dev On Behalf Of Akhil Goyal > Sent: Thursday, September 5, 2019 8:18 PM > To: dev@dpdk.org > Cc: Hemant Agrawal ; ano...@marvell.com; > jer...@marvell.com; declan.dohe...@intel.com; > konstantin.anan...@intel.com; Vakul Garg ; Ak

Re: [dpdk-dev] net/ixgbe: fix X553 wrong speed capability

2019-09-30 Thread Ye Xiaolong
On 09/25, Zhang Xiao wrote: >The speed capability of X553 1GbE should be ETH_LINK_SPEED_1G | >ETH_LINK_SPEED_100M | ETH_LINK_SPEED_10M rather than ETH_LINK_SPEED_1G | >ETH_LINK_SPEED_10G. Correct it to fix the issue. > >Fixes: e274f5732225 ("ethdev: add speed capabilities") >Cc: marcde...@gmail.com

Re: [dpdk-dev] net/ixgbe: fix X553 wrong speed capability

2019-09-30 Thread Ye Xiaolong
On 09/25, Zhang Xiao wrote: >The speed capability of X553 1GbE should be ETH_LINK_SPEED_1G | >ETH_LINK_SPEED_100M | ETH_LINK_SPEED_10M rather than ETH_LINK_SPEED_1G | >ETH_LINK_SPEED_10G. Correct it to fix the issue. > >Fixes: e274f5732225 ("ethdev: add speed capabilities") >Cc: marcde...@gmail.com

Re: [dpdk-dev] [PATCH 3/3] examples/power_guest: send request for specified core capabilities

2019-09-30 Thread Daly, Lee
Hi dave, See comments below. > -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Hajkowski > Sent: Thursday, May 30, 2019 5:15 PM > To: Hunt, David > Cc: dev@dpdk.org; Hajkowski, MarcinX > Subject: [dpdk-dev] [PATCH 3/3] examples/power_guest: send request for > s

Re: [dpdk-dev] [PATCH 1/3] power: add new packet type for capabilities

2019-09-30 Thread Daly, Lee
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Hajkowski > Sent: Thursday, May 30, 2019 5:15 PM > To: Hunt, David > Cc: dev@dpdk.org; Hajkowski, MarcinX > Subject: [dpdk-dev] [PATCH 1/3] power: add new packet type for capabilities > > From: Marcin Hajkowsk

Re: [dpdk-dev] [PATCH] net/i40e: set speed to undefined for default case in link update

2019-09-30 Thread Ye Xiaolong
On 09/11, Thierry Herbelot wrote: >From: Laurent Hardy > >During PF/VF link update, a default speed value of 100M will be set >if get_link_info has failed or speed is unknown. > >Consequently if PF is put in no-carrier state, VFs will switch to >"in carrier" state due to a link up + a link speed s

Re: [dpdk-dev] [PATCH 2/3] examples/power_manager: send cpu capabilities on vm request

2019-09-30 Thread Daly, Lee
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Hajkowski > Sent: Thursday, May 30, 2019 5:15 PM > To: Hunt, David > Cc: dev@dpdk.org; Hajkowski, MarcinX > Subject: [dpdk-dev] [PATCH 2/3] examples/power_manager: send cpu > capabilities on vm request > > Fro

Re: [dpdk-dev] [PATCH 1/1] net/ixgbevf: fix stats update after a PF reset

2019-09-30 Thread Ye Xiaolong
Hi, Thierry & Fengtian Any update about this patch according to Qi's comment? Thanks, Xiaolong On 09/17, Zhang, Qi Z wrote: > > >> -Original Message- >> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Thierry Herbelot >> Sent: Thursday, September 12, 2019 12:01 AM >> To: dev@dpdk.or

Re: [dpdk-dev] [PATCH 1/1] net/ixgbevf: fix stats update after a PF reset

2019-09-30 Thread Thierry Herbelot
On 9/30/19 12:58 PM, Ye Xiaolong wrote: Hi, Thierry & Fengtian Any update about this patch according to Qi's comment? Hello, Xiaolong I agreee with Qi's comment: this patch solves one issue, but causes another problem. I am completely open to any suggestion about how to retrieve the PF st

Re: [dpdk-dev] [PATCH v1 2/2] net/dpaa2: update MC firmware version for FSLMC bus

2019-09-30 Thread Hemant Agrawal
Acked-by: Hemant Agrawal

Re: [dpdk-dev] [PATCH v1 1/2] bus/fslmc: update MC firmware version for FSLMC bus

2019-09-30 Thread Hemant Agrawal
Acked-by: Hemant Agrawal

Re: [dpdk-dev] [PATCH v2 05/30] net/dpaa: support Rx interrupt handler

2019-09-30 Thread Hemant Agrawal
Acked-by: Hemant Agrawal

Re: [dpdk-dev] [PATCH v2 06/30] net/dpaa: support for Rx interrupt enable and disable

2019-09-30 Thread Hemant Agrawal
Acked-by: Hemant Agrawal

Re: [dpdk-dev] [PATCH v2 03/30] bus/dpaa: remove un-necessary thread affinity

2019-09-30 Thread Hemant Agrawal
Acked-by: Hemant Agrawal

Re: [dpdk-dev] [PATCH v2 04/30] bus/dpaa: decouple fq portal alloc and init

2019-09-30 Thread Hemant Agrawal
Acked-by: Hemant Agrawal

Re: [dpdk-dev] [PATCH v2 21/30] net/dpaa2: add Tx confirmation mode support

2019-09-30 Thread Hemant Agrawal
Acked-by: Hemant Agrawal

Re: [dpdk-dev] [PATCH v2 22/30] net/dpaa2: add timestamp support

2019-09-30 Thread Hemant Agrawal
Acked-by: Hemant Agrawal

[dpdk-dev] [PATCH v2 00/20] crypto/dpaaX_sec: Support Wireless algos

2019-09-30 Thread Akhil Goyal
PDCP protocol offload using rte_security are supported in dpaa2_sec and dpaa_sec drivers. Wireless algos(SNOW/ZUC) without protocol offload are also supported as per crypto APIs. changes in V2: - fix clang build - enable zuc authentication - minor fixes Akhil Goyal (5): security: add hfn overr

[dpdk-dev] [PATCH v2 02/20] drivers/crypto: support PDCP u-plane with integrity

2019-09-30 Thread Akhil Goyal
From: Vakul Garg PDCP u-plane may optionally support integrity as well. This patch add support for supporting integrity along with confidentiality. Signed-off-by: Vakul Garg Acked-by: Akhil Goyal --- drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 67 +-- drivers/crypto/dpaa2_sec/hw/de

[dpdk-dev] [PATCH v2 01/20] drivers/crypto: support PDCP 12-bit c-plane processing

2019-09-30 Thread Akhil Goyal
From: Vakul Garg Added support for 12-bit c-plane. We implement it using 'u-plane for RN' protocol descriptors. This is because 'c-plane' protocol descriptors assume 5-bit sequence numbers. Since the crypto processing remains same irrespective of c-plane or u-plane, we choose 'u-plane for RN' pro

[dpdk-dev] [PATCH v2 05/20] crypto/dpaa2_sec: update desc for pdcp 18bit enc-auth

2019-09-30 Thread Akhil Goyal
Support following cases int-only (NULL-NULL, NULL-SNOW, NULL-AES, NULL-ZUC) enc-only (SNOW-NULL, AES-NULL, ZUC-NULL) Signed-off-by: Akhil Goyal --- drivers/crypto/dpaa2_sec/hw/desc/pdcp.h | 532 +++- 1 file changed, 420 insertions(+), 112 deletions(-) diff --git a/drivers/cr

[dpdk-dev] [PATCH v2 04/20] drivers/crypto: support hfn override for NXP PMDs

2019-09-30 Thread Akhil Goyal
Per packet HFN override is supported in NXP PMDs (dpaa2_sec and dpaa_sec). DPOVRD register can be updated with the per packet value if it is enabled in session configuration. The value is read from the IV offset. Signed-off-by: Akhil Goyal --- drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 18 +++

[dpdk-dev] [PATCH v2 03/20] security: add hfn override option in PDCP

2019-09-30 Thread Akhil Goyal
HFN can be given as a per packet value also. As we do not have IV in case of PDCP, and HFN is used to generate IV. IV field can be used to get the per packet HFN while enq/deq If hfn_ovrd field in pdcp_xform is set, application is expected to set the per packet HFN in place of IV. Driver will extra

[dpdk-dev] [PATCH v2 07/20] crypto/dpaa2_sec/hw: update 12bit SN desc for NULL auth

2019-09-30 Thread Akhil Goyal
For sec era 8, NULL auth using protocol command does not add 4 bytes of null MAC-I and treat NULL integrity as no integrity which is not correct. Hence converting this particular case of null integrity on 12b SN on SEC ERA 8 from protocol offload to non-protocol offload case. Signed-off-by: Akhil

[dpdk-dev] [PATCH v2 10/20] crypto/dpaa2_sec: disable 'write-safe' for PDCP

2019-09-30 Thread Akhil Goyal
From: Vakul Garg PDCP descriptors in some cases internally use commands which overwrite memory with extra '0s' if write-safe is kept enabled. This breaks correct functional behavior of PDCP apis and they in many cases give incorrect crypto output. There we disable 'write-safe' bit in FLC for PDCP

[dpdk-dev] [PATCH v2 08/20] crypto/dpaa_sec: support scatter gather for PDCP

2019-09-30 Thread Akhil Goyal
This patch add support for chained input or output mbufs for PDCP operations. Signed-off-by: Akhil Goyal --- drivers/crypto/dpaa_sec/dpaa_sec.c | 122 +++-- 1 file changed, 116 insertions(+), 6 deletions(-) diff --git a/drivers/crypto/dpaa_sec/dpaa_sec.c b/drivers/crypt

[dpdk-dev] [PATCH v2 06/20] crypto/dpaa2_sec: support CAAM HW era 10

2019-09-30 Thread Akhil Goyal
From: Hemant Agrawal Adding minimal support for CAAM HW era 10 (used in LX2) Primary changes are: 1. increased shard desc length form 6 bit to 7 bits 2. support for several PDCP operations as PROTOCOL offload. Signed-off-by: Hemant Agrawal Acked-by: Akhil Goyal --- drivers/crypto/dpaa2_sec/d

[dpdk-dev] [PATCH v2 11/20] crypto/dpaa2_sec/hw: support 18-bit PDCP enc-auth cases

2019-09-30 Thread Akhil Goyal
From: Vakul Garg This patch support following algo combinations(ENC-AUTH). - AES-SNOW - SNOW-AES - AES-ZUC - ZUC-AES - SNOW-ZUC - ZUC-SNOW Signed-off-by: Vakul Garg Signed-off-by: Akhil Goyal --- drivers/crypto/dpaa2_sec/hw/desc/pdcp.h | 211 1 file changed, 140 inser

[dpdk-dev] [PATCH v2 12/20] crypto/dpaa2_sec/hw: support aes-aes 18-bit PDCP

2019-09-30 Thread Akhil Goyal
From: Vakul Garg This patch support AES-AES PDCP enc-auth case for devices which do not support PROTOCOL command for 18bit Signed-off-by: Vakul Garg Acked-by: Akhil Goyal --- drivers/crypto/dpaa2_sec/hw/desc/pdcp.h | 151 +++- 1 file changed, 150 insertions(+), 1 deletion(

[dpdk-dev] [PATCH v2 09/20] crypto/dpaa2_sec: support scatter gather for proto offloads

2019-09-30 Thread Akhil Goyal
From: Hemant Agrawal This patch add support for chained input or output mbufs for PDCP and ipsec protocol offload cases. Signed-off-by: Hemant Agrawal Signed-off-by: Akhil Goyal --- drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 134 +++- drivers/crypto/dpaa2_sec/dpaa2_sec_logs

[dpdk-dev] [PATCH v2 13/20] crypto/dpaa2_sec/hw: support zuc-zuc 18-bit PDCP

2019-09-30 Thread Akhil Goyal
From: Vakul Garg This patch support ZUC-ZUC PDCP enc-auth case for devices which do not support PROTOCOL command for 18bit. Signed-off-by: Vakul Garg Acked-by: Akhil Goyal --- drivers/crypto/dpaa2_sec/hw/desc/pdcp.h | 126 +++- 1 file changed, 125 insertions(+), 1 deletion

[dpdk-dev] [PATCH v2 15/20] crypto/dpaa2_sec/hw: support snow-f8

2019-09-30 Thread Akhil Goyal
From: Vakul Garg This patch add support for non-protocol offload mode of snow-f8 algo Signed-off-by: Vakul Garg Acked-by: Akhil Goyal --- drivers/crypto/dpaa2_sec/hw/desc/algo.h | 20 +--- 1 file changed, 5 insertions(+), 15 deletions(-) diff --git a/drivers/crypto/dpaa2_sec/

[dpdk-dev] [PATCH v2 17/20] crypto/dpaa2_sec: support snow3g cipher/integrity

2019-09-30 Thread Akhil Goyal
From: Hemant Agrawal Adding basic framework to use snow3g f8 and f9 based ciphering or integrity with direct crypto apis. This patch does not support any combo usages yet. Signed-off-by: Hemant Agrawal Signed-off-by: Vakul Garg Acked-by: Akhil Goyal --- drivers/crypto/dpaa2_sec/dpaa2_sec_dps

[dpdk-dev] [PATCH v2 14/20] crypto/dpaa2_sec/hw: support snow-snow 18-bit PDCP

2019-09-30 Thread Akhil Goyal
From: Vakul Garg This patch support SNOW-SNOW (enc-auth) 18bit PDCP case for devices which do not support PROTOCOL command Signed-off-by: Vakul Garg Acked-by: Akhil Goyal --- drivers/crypto/dpaa2_sec/hw/desc/pdcp.h | 133 +++- 1 file changed, 132 insertions(+), 1 deletion(

[dpdk-dev] [PATCH v2 16/20] crypto/dpaa2_sec/hw: support snow-f9

2019-09-30 Thread Akhil Goyal
From: Vakul Garg Add support for snow-f9 in non pdcp protocol offload mode. This essentially add support to pass pre-computed IV to SEC. Signed-off-by: Vakul Garg Acked-by: Akhil Goyal --- drivers/crypto/dpaa2_sec/hw/desc/algo.h | 51 + 1 file changed, 26 insertions(+)

[dpdk-dev] [PATCH v2 19/20] crypto/dpaa2_sec/hw: support ZUCE and ZUCA

2019-09-30 Thread Akhil Goyal
From: Vakul Garg This patch add support for ZUC Encryption and ZUC Authentication. Before passing to CAAM, the 16-byte ZUCA IV is converted to 8-byte format which consists of 38-bits of count||bearer|direction. Signed-off-by: Vakul Garg Signed-off-by: Hemant Agrawal Acked-by: Akhil Goyal ---

[dpdk-dev] [PATCH v2 18/20] crypto/dpaa2_sec/hw: support kasumi

2019-09-30 Thread Akhil Goyal
From: Vakul Garg Add Kasumi processing for non PDCP proto offload cases. Also add support for pre-computed IV in Kasumi-f9 Signed-off-by: Vakul Garg Signed-off-by: Hemant Agrawal Acked-by: Akhil Goyal --- drivers/crypto/dpaa2_sec/hw/desc/algo.h | 64 +++-- 1 file changed,

[dpdk-dev] [PATCH] crypto/dpaa2_sec: allocate context as per num segs

2019-09-30 Thread Akhil Goyal
From: Hemant Agrawal DPAA2_SEC hardware can support any number of SG entries. This patch allocate as many SG entries as are required. Signed-off-by: Hemant Agrawal Signed-off-by: Akhil Goyal --- drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 28 + 1 file changed, 17 inserti

[dpdk-dev] [PATCH v2 20/20] crypto/dpaa2_sec: support zuc ciphering/integrity

2019-09-30 Thread Akhil Goyal
From: Hemant Agrawal Signed-off-by: Hemant Agrawal Signed-off-by: Vakul Garg Acked-by: Akhil Goyal --- drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 25 +++- drivers/crypto/dpaa2_sec/dpaa2_sec_priv.h | 45 + 2 files changed, 68 insertions(+), 2 deletions(-) diff

[dpdk-dev] [PATCH] crypto/dpaa_sec: dynamic contxt buffer for SG cases

2019-09-30 Thread Akhil Goyal
From: Hemant Agrawal This patch allocate/clean the SEC context dynamically based on the number of SG entries in the buffer. Signed-off-by: Hemant Agrawal Acked-by: Akhil Goyal --- drivers/crypto/dpaa_sec/dpaa_sec.c | 43 ++ drivers/crypto/dpaa_sec/dpaa_sec.h | 8 +

[dpdk-dev] [PATCH] crypto/dpaa_sec: change per cryptodev pool to per qp

2019-09-30 Thread Akhil Goyal
In cases where single cryptodev is used by multiple cores using multiple queues, there will be contention for mempool resources and may eventually get exhuasted. Basically, mempool should be defined per core. Now since qp is used per core, mempools are defined in qp setup. Signed-off-by: Akhil Goy

[dpdk-dev] [PATCH] crypto/dpaa2_sec: improve debug logging

2019-09-30 Thread Akhil Goyal
From: Hemant Agrawal unnecessary debug logs in data path are removed and hardware debug logs are compiled off. Signed-off-by: Hemant Agrawal Acked-by: Akhil Goyal --- drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 41 - 1 file changed, 16 insertions(+), 25 deletions(-) dif

Re: [dpdk-dev] [PATCH] build: add dockerfile for building docker image

2019-09-30 Thread Halim, Abdul
Hi Ray, Thanks for your feedback. Please see comments inline. > -Original Message- > From: Ray Kinsella [mailto:m...@ashroe.eu] > Sent: Monday, September 30, 2019 9:54 AM > To: Halim, Abdul ; dev@dpdk.org > Subject: Re: [dpdk-dev] [PATCH] build: add dockerfile for building docker > image >

Re: [dpdk-dev] [RFC PATCH 1/9] security: introduce CPU Crypto action type and API

2019-09-30 Thread Ananyev, Konstantin
Hi Akhil, > > > > > > > > > > > This action type allows the burst of symmetric crypto > > > > > > > > > > > workload > > using > > > > > the > > > > > > > > > same > > > > > > > > > > > algorithm, key, and direction being processed by CPU > > > > > > > > > > > cycles > > > > > > > synchronously.

Re: [dpdk-dev] [PATCH] app/testpmd: add profiling for Rx/Tx burst routines

2019-09-30 Thread Yigit, Ferruh
On 7/1/2019 9:15 AM, Bruce Richardson wrote: > On Mon, Jul 01, 2019 at 04:57:30AM +, Slava Ovsiienko wrote: >> I think we should compromise: keep existing RTE_TEST_PMD_RECORD_CORE_CYCLES >> and extend with runtime switch under this build-time option: >> >> #ifdef RTE_TEST_PMD_RECORD_CORE_CYCLES

Re: [dpdk-dev] [PATCH v2 00/12] net/cxgbe: bug fixes and updates for CXGBE/CXGBEVF PMD

2019-09-30 Thread Ferruh Yigit
On 9/27/2019 9:30 PM, Rahul Lakkireddy wrote: > This series of patches contain bug fixes and feature updates for > CXGBE and CXGBEVF PMD. Patches 1 to 6 contain bug fixes. Patches > 7 to 12 contain updates and new features for CXGBE/CXGBEVF PMD. > > Patch 1 adds cxgbe_ prefix to some global functi

[dpdk-dev] [PATCH v1] eal: add manual probing option

2019-09-30 Thread Gaetan Rivet
Add a new EAL option enabling manual probing in the EAL. This command line option will configure the EAL so that buses will not trigger their probe step on their own. Applications are then expected to hotplug devices as they see fit. Devices declared on the command line by the user (using -w and

Re: [dpdk-dev] [PATCH 3/3] examples/power_guest: send request for specified core capabilities

2019-09-30 Thread Daly, Lee
> -Original Message- > From: Daly, Lee > Sent: Monday, September 30, 2019 11:55 AM > To: 'Hajkowski' ; Hunt, David > > Cc: dev@dpdk.org; Hajkowski, MarcinX > Subject: RE: [dpdk-dev] [PATCH 3/3] examples/power_guest: send request > for specified core capabilities > > Hi dave, > See com

[dpdk-dev] [PATCH v2 0/3] Core capabilities query

2019-09-30 Thread David Hunt
Extend guest channel and sample apps to query CPU capabilities. Useful when a guest wants to see if there is a high frequency/priority core available for heavier workloads, i.e. Intel SST-BF. The guest_cli implements an example of this via the query_cpu_caps cmd. Please note that these changes de

[dpdk-dev] [PATCH v2 2/3] examples/power_manager: send cpu capabilities on vm request

2019-09-30 Thread David Hunt
From: Marcin Hajkowski Send capabilities for requested cores. Signed-off-by: Marcin Hajkowski Tested-by: David Hunt Acked-by: Lee Daly --- examples/vm_power_manager/channel_monitor.c | 67 + 1 file changed, 67 insertions(+) diff --git a/examples/vm_power_manager/channel_

  1   2   3   >