Re: [dpdk-dev] [PATCH 18.05-RC2 1/4] eal: remove unused define

2018-04-26 Thread David Marchand
On Wed, Apr 25, 2018 at 2:24 PM, Anatoly Burakov wrote: > The define was a leftover from IVSHMEM library. > > Fixes: c711ccb30987 ("ivshmem: remove library and its EAL integration") > Cc: david.march...@6wind.com > Cc: sta...@dpdk.org > > Signed-off-by: Anatoly Burakov Indeed. Reviewed-by: David

Re: [dpdk-dev] [v2,1/6] eventdev: introduce event crypto adapter

2018-04-26 Thread Akhil Goyal
Hi Abhinandan, On 4/26/2018 11:37 AM, Gujjar, Abhinandan S wrote: Hi Akhil, -Original Message- From: Akhil Goyal [mailto:akhil.go...@nxp.com] Sent: Wednesday, April 25, 2018 6:12 PM To: Gujjar, Abhinandan S ; jerin.ja...@caviumnetworks.com; hemant.agra...@nxp.com; akhil.go...@nxp.com; d

Re: [dpdk-dev] [PATCH] eal: shut up warning about master lcore

2018-04-26 Thread Burakov, Anatoly
On 26-Apr-18 1:48 AM, Stephen Hemminger wrote: This message looks suspicious and seen on healthy testpmd. EAL: WARNING: Master core has no memory on local socket! The message is wrong: the master lcore is 0 and its socket is 0 and there are multiple available memory segments on socket 0. At t

Re: [dpdk-dev] [PATCH] app/pdump: remove unused socket path options

2018-04-26 Thread Pattan, Reshma
> -Original Message- > From: Tan, Jianfeng > Sent: Thursday, April 26, 2018 1:33 AM > To: Thomas Monjalon ; dev@dpdk.org > Cc: Burakov, Anatoly ; Pattan, Reshma > > Subject: RE: [PATCH] app/pdump: remove unused socket path options > > > > > -Original Message- > > From: Thomas

Re: [dpdk-dev] [PATCH v4] ethdev: check Rx/Tx offloads

2018-04-26 Thread Zhang, Qi Z
> -Original Message- > From: Yigit, Ferruh > Sent: Thursday, April 26, 2018 1:05 AM > To: Dai, Wei ; tho...@monjalon.net; Zhang, Qi Z > > Cc: dev@dpdk.org > Subject: Re: [PATCH v4] ethdev: check Rx/Tx offloads > > On 4/25/2018 12:50 PM, Wei Dai wrote: > > This patch check if a requested

[dpdk-dev] [PATCH] mem: fix handling return value

2018-04-26 Thread Jianfeng Tan
resize_hugefile() returns either 0 (which indicates success) or -1 (which indicates failure). We failed to check the success as we use --single-file-segments option. Fixes: 2a04139f66b4 ("eal: add single file segments option") Cc: Anatoly Burakov Signed-off-by: Jianfeng Tan --- lib/librte_eal

Re: [dpdk-dev] [PATCH] vhost: fix vDPA set features

2018-04-26 Thread Maxime Coquelin
On 04/25/2018 04:18 AM, Xiao Wang wrote: We should call set_features callback after setting features in virtio_net structure, otherwise vDPA driver cannot get the right features. Fixes: 07718b4f87aa ("vhost: adapt library for selective datapath") Signed-off-by: Xiao Wang --- lib/librte_vhos

[dpdk-dev] [PATCH v2 1/2] malloc: add biggest free IOVA-contiguous element to stats

2018-04-26 Thread Anatoly Burakov
User might be interested to find out what is the biggest chunk of IOVA-contiguous free space that can be allocated from malloc. Add relevant malloc-internal functions and expose this through malloc stats calculation call. Signed-off-by: Anatoly Burakov --- Notes: v2: - Add header to newl

[dpdk-dev] [PATCH v2 2/2] memzone: allow IOVA-contiguous memzones with zero size

2018-04-26 Thread Anatoly Burakov
Previously, reserving IOVA-contiguous memzones with zero size (which would reserve biggest available memzone) was not allowed. Now that we can have biggest IOVA-contiguous malloc element statistic exposed through a malloc stats call, this now becomes possible. Signed-off-by: Anatoly Burakov ---

Re: [dpdk-dev] [PATCH] mem: fix handling return value

2018-04-26 Thread Burakov, Anatoly
On 26-Apr-18 9:06 AM, Jianfeng Tan wrote: resize_hugefile() returns either 0 (which indicates success) or -1 (which indicates failure). We failed to check the success as we use --single-file-segments option. Fixes: 2a04139f66b4 ("eal: add single file segments option") Cc: Anatoly Burakov Sign

[dpdk-dev] [PATCH] doc/vhost: update zero copy perfromance tip

2018-04-26 Thread Junjie Chen
In VM2NIC case zero copy may need some tuning to get best performance. This patch describes the zero copy starved case and provides a tuning tip. Signed-off-by: Junjie Chen --- doc/guides/prog_guide/vhost_lib.rst | 20 1 file changed, 12 insertions(+), 8 deletions(-) diff -

Re: [dpdk-dev] [PATCH v4] ethdev: check Rx/Tx offloads

2018-04-26 Thread Thomas Monjalon
26/04/2018 09:59, Zhang, Qi Z: > > > -Original Message- > > From: Yigit, Ferruh > > Sent: Thursday, April 26, 2018 1:05 AM > > To: Dai, Wei ; tho...@monjalon.net; Zhang, Qi Z > > > > Cc: dev@dpdk.org > > Subject: Re: [PATCH v4] ethdev: check Rx/Tx offloads > > > > On 4/25/2018 12:50 PM,

Re: [dpdk-dev] [PATCH] drivers: cleanup unnecessary global variables

2018-04-26 Thread Olivier Matz
Le 25 avril 2018 17:52:00 GMT+02:00, Pavan Nikhilesh a écrit : >On Mon, Apr 23, 2018 at 11:00:09AM +0200, Olivier Matz wrote: >> On Fri, Apr 20, 2018 at 12:21:59AM +0530, Pavan Nikhilesh wrote: >> > Signed-off-by: Pavan Nikhilesh >> > --- >> > drivers/bus/dpaa/base/fman/netcfg_layer.c | 5

Re: [dpdk-dev] [PATCH v4] ethdev: check Rx/Tx offloads

2018-04-26 Thread Zhang, Qi Z
> -Original Message- > From: Thomas Monjalon [mailto:tho...@monjalon.net] > Sent: Thursday, April 26, 2018 4:19 PM > To: Zhang, Qi Z > Cc: Yigit, Ferruh ; Dai, Wei ; > dev@dpdk.org > Subject: Re: [PATCH v4] ethdev: check Rx/Tx offloads > > 26/04/2018 09:59, Zhang, Qi Z: > > > > > -O

[dpdk-dev] [PATCH] app/crypto-perf: fix pmd_cyclecount_bench_ops

2018-04-26 Thread Tomasz Jozwiak
this patch fixes segmentation fault in pmd_cyclecount_bench_ops function in case when state->opts->nb_descriptors is not natural multiple of burst size. To reproduce run: dpdk-test-crypto-perf with params: --ptest pmd-cyclecount --pmd-cyclecount-delay-ms 5 --devtype crypto_qat --optype cipher-t

[dpdk-dev] [PATCH v6 0/5] Introduce Intel FPGA BUS

2018-04-26 Thread Xu, Rosen
From: "Xu, Rosen" Intel FPGA BUS in DPDK - This patch set introduces Intel FPGA BUS support in DPDK. v6 updates: === - Add documentation - Add meson build script - Split new patch for OPAE share code v5 updates: === - Fixed SHARED LIB Build issue -

[dpdk-dev] [PATCH v6 1/5] iFPGA: Add Intel FPGA BUS Library

2018-04-26 Thread Xu, Rosen
From: Rosen Xu Defined FPGA-BUS for Acceleration Drivers of AFUs 1. FPGA PCI Scan (1st Scan) follows DPDK UIO/VFIO PCI Scan Process, probe Intel FPGA Rawdev Driver. 2. AFU Scan(2nd Scan) bind DPDK driver to FPGA Partial-Bitstream. This scan is trigged by hotplug of IFPGA Rawdev probe, in this sca

[dpdk-dev] [PATCH v6 3/5] iFPGA: Add Intel FPGA BUS Rawdev Driver

2018-04-26 Thread Xu, Rosen
From: Rosen Xu Add Intel FPGA BUS Rawdev Driver which is based on librte_rawdev library. Signed-off-by: Rosen Xu Signed-off-by: Yanglong Wu Signed-off-by: Figo zhang --- config/common_base | 1 + drivers/raw/Makefile | 1 + dr

[dpdk-dev] [PATCH v6 5/5] iFPGA: add document for iFPGA driver

2018-04-26 Thread Xu, Rosen
From: Rosen Xu add some introduction, motivation and usage for iFPGA driver. Signed-off-by: Rosen Xu Signed-off-by: Figo Zhang --- doc/guides/index.rst | 1 + doc/guides/rawdevs/ifpga_rawdev.rst| 112 + doc/guides/rawdevs/index.rst

[dpdk-dev] [PATCH v6 4/5] iFPGA: add meson build

2018-04-26 Thread Xu, Rosen
From: Figo Zhang add meson build support for iFPGA driver. Signed-off-by: Figo Zhang --- drivers/meson.build | 3 ++- drivers/raw/ifpga_rawdev/base/meson.build | 34 +++ drivers/raw/ifpga_rawdev/meson.build | 13 drivers/raw/

Re: [dpdk-dev] [PATCH] app/testpmd: update start log to be less verbose

2018-04-26 Thread Ferruh Yigit
On 4/26/2018 1:16 AM, Zhang, Qi Z wrote: > > >> -Original Message- >> From: Yigit, Ferruh >> Sent: Wednesday, April 25, 2018 10:15 PM >> To: Lu, Wenzhuo ; Wu, Jingjing >> >> Cc: dev@dpdk.org; Yigit, Ferruh ; Zhang, Qi Z >> >> Subject: [PATCH] app/testpmd: update start log to be less ver

Re: [dpdk-dev] [PATCH] app/bbdev: dynamic lib support

2018-04-26 Thread De Lara Guarch, Pablo
Hi Kamil, > -Original Message- > From: Chalupnik, KamilX > Sent: Thursday, April 26, 2018 10:42 AM > To: De Lara Guarch, Pablo ; dev@dpdk.org > Cc: Mokhtar, Amr > Subject: RE: [dpdk-dev] [PATCH] app/bbdev: dynamic lib support > > Hi Pablo, > > > -Original Message- > > From: De L

Re: [dpdk-dev] [PATCH v3 6/6] doc: advertise bucket mempool driver

2018-04-26 Thread Andrew Rybchenko
On 04/26/2018 01:04 AM, Thomas Monjalon wrote: 25/04/2018 23:56, Thomas Monjalon: Usually it is better to update the release notes in the main patch implementing the feature (probably the first one in this case). You can also update it step by step in several patches. Yes, will do in v4. 25/

Re: [dpdk-dev] [PATCH v6 08/11] net/mlx5: add hardware flow debug dump

2018-04-26 Thread Ferruh Yigit
On 4/23/2018 1:33 PM, Xueming Li wrote: > Dump verb flow detail including flow spec type and size for debugging > purpose. This patch is causing build errors [1], please test build with debug enabled. Also set is already in next-net-mlx, fixed version needs to be updated there. Thanks, ferruh [

[dpdk-dev] [PATCH 0/7 v3] Introduce DPAA2 Command Interface raw driver

2018-04-26 Thread Nipun Gupta
This patch set introduces DPAA2 based Command Interface device driver. This driver is provides communication between the GPP and AIOP Firmware. This patchset is based on top of: https://dpdk.org/dev/patchwork/patch/38798/ Patches 1-3: Makes necessary changes and fixes in the DPAA2 bus and me

[dpdk-dev] [PATCH 1/7 v3] mempool/dpaa2: add functions exposed to DPDK applications

2018-04-26 Thread Nipun Gupta
There are two API's which are required by NXP specific Command Interface Application (AIOP CMDIF). This patch exposes these two API's. Signed-off-by: Nipun Gupta --- doc/api/doxy-api-index.md | 1 + doc/api/doxy-api.conf | 1 + drivers/memp

[dpdk-dev] [PATCH 2/7 v3] bus/fslmc: expose API to free dpci device

2018-04-26 Thread Nipun Gupta
Signed-off-by: Nipun Gupta --- drivers/bus/fslmc/rte_bus_fslmc_version.map | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/bus/fslmc/rte_bus_fslmc_version.map b/drivers/bus/fslmc/rte_bus_fslmc_version.map index 70fb719..d433714 100644 --- a/drivers/bus/fslmc/rte_bus_fslmc_version.map

[dpdk-dev] [PATCH 4/7 v3] raw/dpaa2_cmdif: introduce DPAA2 command interface driver

2018-04-26 Thread Nipun Gupta
Signed-off-by: Nipun Gupta --- MAINTAINERS| 4 + config/common_base | 5 + config/common_linuxapp | 1 + drivers/raw/Makefile | 1 + drivers/raw/dpaa2_cmdif/Ma

[dpdk-dev] [PATCH 6/7 v3] raw/dpaa2_cmdif: support enqueue dequeue operations

2018-04-26 Thread Nipun Gupta
Signed-off-by: Nipun Gupta --- doc/api/doxy-api-index.md | 1 + doc/api/doxy-api.conf | 1 + drivers/raw/dpaa2_cmdif/Makefile | 2 + drivers/raw/dpaa2_cmdif/dpaa2_cmdif.c | 136 ++ drivers/raw/dpaa2_cmd

[dpdk-dev] [PATCH 5/7 v3] raw/dpaa2_cmdif: add attribute get functionality

2018-04-26 Thread Nipun Gupta
Signed-off-by: Nipun Gupta --- drivers/raw/dpaa2_cmdif/dpaa2_cmdif.c | 25 + 1 file changed, 25 insertions(+) diff --git a/drivers/raw/dpaa2_cmdif/dpaa2_cmdif.c b/drivers/raw/dpaa2_cmdif/dpaa2_cmdif.c index 0d98d36..9044489 100644 --- a/drivers/raw/dpaa2_cmdif/dpaa2_cmdi

[dpdk-dev] [PATCH 3/7 v3] bus/fslmc: keep Tx queues information for DPCI devices too

2018-04-26 Thread Nipun Gupta
The DPCI devices have oth Tx and Rx queues. Event devices use DPCI Rx queues only, but CMDIF (AIOP) uses both Tx and Rx queues. This patch enables Tx queues configuration too. Signed-off-by: Nipun Gupta Acked-by: Shreyansh Jain --- drivers/bus/fslmc/portal/dpaa2_hw_dpci.c | 86 +

[dpdk-dev] [PATCH 7/7 v3] doc: add DPAA2 CMDIF rawdev guide

2018-04-26 Thread Nipun Gupta
Signed-off-by: Nipun Gupta Acked-by: Marko Kovacevic --- MAINTAINERS| 1 + doc/guides/rawdevs/dpaa2_cmdif.rst | 132 + doc/guides/rawdevs/index.rst | 1 + doc/guides/rel_notes/release_18_05.rst | 11 +++ 4 files chang

Re: [dpdk-dev] [PATCH 1/1] net/ixgbe: Add API to update SBP bit

2018-04-26 Thread Shweta Choudaha
Hi Ferruh/ Helin, Anything else needed for this patch http://dpdk.org/dev/patchwork/patch/37802/ Or can this be now acked - Have addressed all comments so far. Thanks, Shweta On Tue, Apr 10, 2018 at 4:58 PM, Shweta Choudaha wrote: > Thanks for the review. > I have sent an updated patch and

Re: [dpdk-dev] [PATCH] app/testpmd: update start log to be less verbose

2018-04-26 Thread Ferruh Yigit
On 4/26/2018 10:45 AM, Ferruh Yigit wrote: > On 4/26/2018 1:16 AM, Zhang, Qi Z wrote: >> >> >>> -Original Message- >>> From: Yigit, Ferruh >>> Sent: Wednesday, April 25, 2018 10:15 PM >>> To: Lu, Wenzhuo ; Wu, Jingjing >>> >>> Cc: dev@dpdk.org; Yigit, Ferruh ; Zhang, Qi Z >>> >>> Subject:

Re: [dpdk-dev] [RFC] net/mvpp2: implement dynamic logging

2018-04-26 Thread Tomasz Duszynski
Hello Stephen, A few nits on this inline. On Wed, Apr 25, 2018 at 09:44:54AM -0700, Stephen Hemminger wrote: > All DPDK drivers should use dynamic log types, not the default PMD > value. > > This is an RFC not a patch since I don't have libraries are > hardware to validate it. > > Signed-off-by:

Re: [dpdk-dev] [PATCH v5 3/3] Add Intel FPGA OPAE Share Code

2018-04-26 Thread Xu, Rosen
Hi Hemant, > -Original Message- > From: Hemant Agrawal [mailto:hemant.agra...@nxp.com] > Sent: Wednesday, April 04, 2018 20:00 > To: Xu, Rosen ; dev@dpdk.org; Richardson, Bruce > > Cc: Doherty, Declan ; shreyansh.j...@nxp.com; > Yigit, Ferruh ; Ananyev, Konstantin > ; Zhang, Tianfei ; > W

Re: [dpdk-dev] [PATCH v4 2/3] Add Intel FPGA BUS Rawdev Driver

2018-04-26 Thread Xu, Rosen
Hi Shreyansh, > -Original Message- > From: Shreyansh Jain [mailto:shreyansh.j...@nxp.com] > Sent: Wednesday, April 04, 2018 19:31 > To: Xu, Rosen > Cc: dev@dpdk.org; Doherty, Declan ; > Richardson, Bruce ; Yigit, Ferruh > ; Ananyev, Konstantin > ; Zhang, Tianfei ; > Wu, Hao ; gaetan.ri...

Re: [dpdk-dev] [PATCH v6 08/11] net/mlx5: add hardware flow debug dump

2018-04-26 Thread Shahaf Shuler
Thursday, April 26, 2018 1:10 PM, Ferruh Yigit: > Subject: Re: [dpdk-dev] [PATCH v6 08/11] net/mlx5: add hardware flow > debug dump > > On 4/23/2018 1:33 PM, Xueming Li wrote: > > Dump verb flow detail including flow spec type and size for debugging > > purpose. > > This patch is causing build er

[dpdk-dev] [PATCH v8 2/9] ethdev: add switch identifier parameter to port

2018-04-26 Thread Declan Doherty
Introduces a new port attribute to ethdev port's which denotes the switch domain a port belongs to. By default all port's switch identifiers are set to RTE_ETH_DEV_SWITCH_DOMAIN_ID_INVALID. Ports which supported the concept of switch domains can be configured with the same switch domain id. Signed

[dpdk-dev] [PATCH v8 1/9] doc: add switch representation documentation

2018-04-26 Thread Declan Doherty
Add document to describe the model for representing switching capable devices in DPDK, using a general ethdev port model and through port representors. This document also details the port model and the rte_flow semantics required for flow programming, as well as listing some example use cases. Si

[dpdk-dev] [dpdk=-dev][PATCH v8 0/9] switching devices representation

2018-04-26 Thread Declan Doherty
This patchset follows on from the port rerpesentor patchsets and the community discussion that resulted. It outlines the model for representing and controlling switching capable devices in a new programmer's guide entry based upon the excellent summary by Adrien Mazarguil in (http://dpdk.org/ml/arc

[dpdk-dev] [PATCH v8 7/9] ethdev: add switch domain allocator

2018-04-26 Thread Declan Doherty
Add switch domain allocate and free API to enable NET devices to synchronise switch domain allocation. Signed-off-by: Declan Doherty --- lib/librte_ether/rte_ethdev.c | 54 + lib/librte_ether/rte_ethdev_driver.h| 39 lib/libr

[dpdk-dev] [PATCH v8 4/9] ethdev: Add port representor device flag

2018-04-26 Thread Declan Doherty
Add new device flag to specify that an ethdev port is a port representor. Extend rte_eth_dev_info structure to expose device flags to the user which enables applications to discover if a port is a representor port. Signed-off-by: Declan Doherty --- lib/librte_ether/rte_ethdev.c | 2 ++ lib/librt

[dpdk-dev] [PATCH v8 3/9] ethdev: add generic create/destroy ethdev APIs

2018-04-26 Thread Declan Doherty
Add new bus generic ethdev create/destroy APIs which are bus independent and provide hooks for bus specific initialisation. Signed-off-by: Declan Doherty --- lib/librte_ether/rte_ethdev.c | 93 + lib/librte_ether/rte_ethdev_driver.h| 57 +

[dpdk-dev] [PATCH v8 6/9] ethdev: add common devargs parser

2018-04-26 Thread Declan Doherty
From: Remy Horton Introduces a new structure, rte_eth_devargs, to support generic ethdev arguments common across NET PMDs, with a new API rte_eth_devargs_parse API to support PMD parsing these arguments. The patch add support for a representor argument passed with passed with the EAL -w option.

[dpdk-dev] [PATCH v8 5/9] app/testpmd: add port name to device info

2018-04-26 Thread Declan Doherty
Add the port name to information printed by show port info Signed-off-by: Declan Doherty --- app/test-pmd/config.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/test-pmd/config.c b/app/test-pmd/config.c index 26f416100..57853e58f 100644 --- a/app/test-pmd/config.c +++ b/app/test-pm

[dpdk-dev] [PATCH v8 8/9] net/i40e: add support for representor ports

2018-04-26 Thread Declan Doherty
Add support for virtual function representor ports to the i40e PF driver. When SR-IOV virtual functions devices are enabled a corresponding representor port for each VF can be enabled, in the process in which the i40e PMD is running, by specifying the representor devargs with the list of VF ports t

[dpdk-dev] [PATCH v8 9/9] net/ixgbe: add support for representor ports

2018-04-26 Thread Declan Doherty
Add support for virtual function representor ports to the ixgbe PF driver. When SR-IOV virtual functions devices are enabled a corresponding representor port for each VF can be enabled in the process in which the i40e PMD is running within, by specifying the representor devargs with the list of VF

Re: [dpdk-dev] [PATCH 1/1] net/ixgbe: Add API to update SBP bit

2018-04-26 Thread Ferruh Yigit
On 4/26/2018 11:20 AM, Shweta Choudaha wrote: > Hi Ferruh/ Helin, > >   Anything else needed for this patch  > > http://dpdk.org/dev/patchwork/patch/37802/  > Or can this be now acked  - Have addressed all comments so far. Hi Helin, Qi, Wenzhuo, Any more comment on patch? Please let me know if

[dpdk-dev] [PATCH v4 2/5] mempool: implement abstract mempool info API

2018-04-26 Thread Andrew Rybchenko
From: "Artem V. Andreev" Primarily, it is intended as a way for the mempool driver to provide additional information on how it lays up objects inside the mempool. Signed-off-by: Artem V. Andreev Signed-off-by: Andrew Rybchenko Acked-by: Olivier Matz --- lib/librte_mempool/rte_mempool.h

[dpdk-dev] [PATCH v4 0/5] mempool: add bucket driver

2018-04-26 Thread Andrew Rybchenko
The initial patch series [1] (RFCv1 is [2]) is split into two to simplify processing. It is the second part which relies on the first one [3] which is already applied. The patch series adds bucket mempool driver which allows to allocate (both physically and virtually) contiguous blocks of objects

[dpdk-dev] [PATCH v4 4/5] mempool/bucket: implement block dequeue operation

2018-04-26 Thread Andrew Rybchenko
From: "Artem V. Andreev" Signed-off-by: Artem V. Andreev Signed-off-by: Andrew Rybchenko --- doc/guides/rel_notes/release_18_05.rst | 2 ++ drivers/mempool/bucket/rte_mempool_bucket.c | 52 + 2 files changed, 54 insertions(+) diff --git a/doc/guides/rel_notes

[dpdk-dev] [PATCH v4 3/5] mempool: support block dequeue operation

2018-04-26 Thread Andrew Rybchenko
From: "Artem V. Andreev" If mempool manager supports object blocks (physically and virtual contiguous set of objects), it is sufficient to get the first object only and the function allows to avoid filling in of information about each block member. Signed-off-by: Artem V. Andreev Signed-off-by:

[dpdk-dev] [PATCH v4 1/5] mempool/bucket: implement bucket mempool manager

2018-04-26 Thread Andrew Rybchenko
From: "Artem V. Andreev" The manager provides a way to allocate physically and virtually contiguous set of objects. Signed-off-by: Artem V. Andreev Signed-off-by: Andrew Rybchenko --- MAINTAINERS| 9 + config/common_base

[dpdk-dev] [PATCH v4 5/5] mempool/bucket: do not allow one lcore to grab all buckets

2018-04-26 Thread Andrew Rybchenko
From: "Artem V. Andreev" Signed-off-by: Artem V. Andreev Signed-off-by: Andrew Rybchenko --- drivers/mempool/bucket/rte_mempool_bucket.c | 13 + 1 file changed, 13 insertions(+) diff --git a/drivers/mempool/bucket/rte_mempool_bucket.c b/drivers/mempool/bucket/rte_mempool_bucket.c

Re: [dpdk-dev] [PATCH v6 11/11] doc: update mlx5 guide on tunnel offloading

2018-04-26 Thread Ferruh Yigit
On 4/23/2018 1:33 PM, Xueming Li wrote: > Remove tunnel limitations, add new hardware tunnel offload features. > > Signed-off-by: Xueming Li > --- > doc/guides/nics/features/default.ini | 1 + > doc/guides/nics/features/mlx5.ini| 3 +++ > doc/guides/nics/mlx5.rst | 4 ++-- > 3 fi

Re: [dpdk-dev] [PATCH v1] net/tap: return empty port offload capabilities

2018-04-26 Thread Ophir Munk
Hi Ferruh, Thanks for your review. v2 was sent to mailing list that updates the log message and the commit message (based on Thomas comment that all queues capabilities must be reported as port capabilities) > -Original Message- > From: Ferruh Yigit [mailto:ferruh.yi...@intel.com] > Sent

[dpdk-dev] [PATCH v2] net/tap: return empty port offload capabilities

2018-04-26 Thread Ophir Munk
Fix internal report on port specific offload capabilities to be 0 (no capabilities). Before this commit port capabilities were a clone of queue capabilities, however the current TAP offload capabilities (e.g. checksum calculation) are per queue and are not specific per port. This commit fixes an in

Re: [dpdk-dev] [PATCH] app/bbdev: dynamic lib support

2018-04-26 Thread De Lara Guarch, Pablo
> -Original Message- > From: Chalupnik, KamilX > Sent: Thursday, April 26, 2018 10:42 AM > To: De Lara Guarch, Pablo ; dev@dpdk.org > Cc: Mokhtar, Amr > Subject: RE: [dpdk-dev] [PATCH] app/bbdev: dynamic lib support > > Hi Pablo, > > > -Original Message- > > From: De Lara Guarc

Re: [dpdk-dev] [PATCH v6 1/2] mbuf: support attaching external buffer to mbuf

2018-04-26 Thread Ananyev, Konstantin
> -Original Message- > From: Yongseok Koh [mailto:ys...@mellanox.com] > Sent: Thursday, April 26, 2018 2:10 AM > To: Lu, Wenzhuo ; Wu, Jingjing ; > olivier.m...@6wind.com > Cc: dev@dpdk.org; Ananyev, Konstantin ; > arybche...@solarflare.com; step...@networkplumber.org; > tho...@monjalon

Re: [dpdk-dev] [PATCH v8 2/9] ethdev: add switch identifier parameter to port

2018-04-26 Thread Thomas Monjalon
26/04/2018 12:40, Declan Doherty: > Introduces a new port attribute to ethdev port's which denotes the > switch domain a port belongs to. By default all port's switch > identifiers are set to RTE_ETH_DEV_SWITCH_DOMAIN_ID_INVALID. Ports > which supported the concept of switch domains can be configur

Re: [dpdk-dev] [PATCH v8 6/9] ethdev: add common devargs parser

2018-04-26 Thread Ananyev, Konstantin
> -Original Message- > From: Doherty, Declan > Sent: Thursday, April 26, 2018 11:41 AM > To: dev@dpdk.org > Cc: Adrien Mazarguil ; Yigit, Ferruh > ; Thomas Monjalon ; > Shahaf Shuler ; Ananyev, Konstantin > ; Horton, Remy ; > Doherty, Declan > Subject: [dpdk-dev][PATCH v8 6/9] ethdev:

Re: [dpdk-dev] [PATCH v8 6/9] ethdev: add common devargs parser

2018-04-26 Thread Ferruh Yigit
On 4/26/2018 11:41 AM, Declan Doherty wrote: > From: Remy Horton > > Introduces a new structure, rte_eth_devargs, to support generic > ethdev arguments common across NET PMDs, with a new API > rte_eth_devargs_parse API to support PMD parsing these arguments. The > patch add support for a represen

[dpdk-dev] [PATCH v6 0/4] additions to support tunnel encap/decap

2018-04-26 Thread Declan Doherty
his patchset contains the revised proposal to manage tunnel endpoints hardware accleration based on community feedback on RFC (http://dpdk.org/ml/archives/dev/2017-December/084676.html). This proposal is purely enabled through rte_flow APIs with the additions of some new features which were previo

[dpdk-dev] [PATCH v6 1/4] ethdev: Add tunnel encap/decap actions

2018-04-26 Thread Declan Doherty
Add new flow action types and associated action data structures to support the encapsulation and decapsulation of VXLAN and NVGRE tunnel endpoints. The RTE_FLOW_ACTION_TYPE_[VXLAN/NVGRE]_ENCAP action will cause the matching flow to be encapsulated in the tunnel endpoint overlay defined in the [vxl

Re: [dpdk-dev] [PATCH v8 3/9] ethdev: add generic create/destroy ethdev APIs

2018-04-26 Thread Ferruh Yigit
On 4/26/2018 11:40 AM, Declan Doherty wrote: > Add new bus generic ethdev create/destroy APIs which are bus independent > and provide hooks for bus specific initialisation. > > Signed-off-by: Declan Doherty <...> > +/** > + * @warning > + * @b EXPERIMENTAL: this API may change without prior not

[dpdk-dev] [PATCH v6 2/4] ethdev: Add group JUMP action

2018-04-26 Thread Declan Doherty
Add jump action type which defines an action which allows a matched flow to be redirect to the specified group. This allows physical and logical flow table/group hierarchies to be defined through rte_flow. This breaks ABI compatibility for the following public functions (as it modifes the ordering

[dpdk-dev] [PATCH v6 3/4] ethdev: add mark flow item to rte_flow_item_types

2018-04-26 Thread Declan Doherty
Introduces a new action type RTE_FLOW_ITEM_TYPE_MARK which enables flow patterns to specify arbitrary integer values to match aginst set by the RTE_FLOW_ACTION_TYPE_MARK action in previously matched flows. Add support for specification of new MARK flow item in testpmd's cli. Update testpmd documen

[dpdk-dev] [PATCH v6 4/4] ethdev: add shared counter support to rte_flow

2018-04-26 Thread Declan Doherty
Add rte_flow_action_count action data structure to enable shared counters across multiple flows on a single port or across multiple flows on multiple ports within the same switch domain. Also this enables multiple count actions to be specified in a single flow action. This patch also modifies the

Re: [dpdk-dev] [PATCH v8 7/9] ethdev: add switch domain allocator

2018-04-26 Thread Ananyev, Konstantin
> -Original Message- > From: Doherty, Declan > Sent: Thursday, April 26, 2018 11:41 AM > To: dev@dpdk.org > Cc: Adrien Mazarguil ; Yigit, Ferruh > ; Thomas Monjalon ; > Shahaf Shuler ; Ananyev, Konstantin > ; Doherty, Declan > > Subject: [dpdk-dev][PATCH v8 7/9] ethdev: add switch doma

[dpdk-dev] [PATCH v1] doc: add Inner RSS feature

2018-04-26 Thread Xueming Li
Signed-off-by: Xueming Li --- doc/guides/nics/features.rst | 11 +++ 1 file changed, 11 insertions(+) diff --git a/doc/guides/nics/features.rst b/doc/guides/nics/features.rst index 57cdd1d59..b9f42d81b 100644 --- a/doc/guides/nics/features.rst +++ b/doc/guides/nics/features.rst @@ -278,6

Re: [dpdk-dev] [PATCH 0/5] net/nfp logging fixes

2018-04-26 Thread Alejandro Lucero
Hi Stephen, Thanks for this patch set. I'm happy with it although I have some concerns regarding how the dynamic logs work, or maybe I have a wrong understanding about it. I have tried to read some doc about how it works, and I found the original patch from Olivier the best source, so maybe thing

Re: [dpdk-dev] [PATCH v3 1/5] net/ixgbevf: set the inter-interrupt interval for EITR.

2018-04-26 Thread Zhang, Qi Z
Hi Tonghao: Would you submit v4 with Ferruh' s fix and also do a rebase on next-net? Thanks Qi > -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Ferruh Yigit > Sent: Thursday, April 19, 2018 12:10 AM > To: Tonghao Zhang > Cc: Lu, Wenzhuo ; Ananyev, Konsta

Re: [dpdk-dev] [PATCH] app/bbdev: dynamic lib support

2018-04-26 Thread De Lara Guarch, Pablo
> -Original Message- > From: Chalupnik, KamilX > Sent: Thursday, April 26, 2018 1:48 PM > To: De Lara Guarch, Pablo ; dev@dpdk.org > Cc: Mokhtar, Amr > Subject: RE: [dpdk-dev] [PATCH] app/bbdev: dynamic lib support > > Hi Pablo > ... > > > Ok, we will deliver such changes in patches

[dpdk-dev] [PATCH 01/13] baseband/turbo_sw: update DPDK to work with FlexRAN 1.4.0

2018-04-26 Thread Kamil Chalupnik
From: KamilX Chalupnik Adjusting BaseBand drivers code to changes in FlexRAN 1.4.0: - update usage of crc functions after API changes Update the documentation describing Wireless Baseband Device: - FlexRAN releases mapping table added - download and build instructions for BBDEV turbo_sw driver i

[dpdk-dev] [PATCH 03/13] doc/bbdev: dynamic lib support

2018-04-26 Thread Kamil Chalupnik
From: KamilX Chalupnik Added a note to enable building as a shared lib Signed-off-by: Kamil Chalupnik Acked-by: Amr Mokhtar --- doc/guides/bbdevs/turbo_sw.rst | 8 1 file changed, 8 insertions(+) diff --git a/doc/guides/bbdevs/turbo_sw.rst b/doc/guides/bbdevs/turbo_sw.rst index 996b

[dpdk-dev] [PATCH 04/13] baseband/turbo_sw: memcpy changed or removed from driver

2018-04-26 Thread Kamil Chalupnik
From: KamilX Chalupnik Optimization of Turbo Software driver: - usage of memcpy changed or removed - minor changes in defines definitions Signed-off-by: Kamil Chalupnik --- drivers/baseband/turbo_sw/bbdev_turbo_software.c | 143 +-- lib/librte_bbdev/rte_bbdev_op.h

[dpdk-dev] [PATCH 02/13] doc/turbo_sw: update Wireless Baseband Device documentation

2018-04-26 Thread Kamil Chalupnik
From: KamilX Chalupnik Update the documentation describing Wireless Baseband Device: - device capabilities updated - input/output data buffers description added - details about implementation of turbo encode/decode operation added Signed-off-by: Kamil Chalupnik --- doc/guides/prog_guide/bbde

[dpdk-dev] [PATCH 05/13] baseband/turbo_sw: scalling input LLR to range [-16 16]

2018-04-26 Thread Kamil Chalupnik
From: KamilX Chalupnik Update Turbo Software driver for Wireless Baseband Device: - function scaling input LLR values to specific range [-16, 16] added - new test vectors to check device capabilities added Signed-off-by: Kamil Chalupnik Acked-by: Amr Mokhtar --- app/test-bbdev/Makefile

[dpdk-dev] [PATCH 07/13] baseband/turbo_sw: support for optional CRC overlap

2018-04-26 Thread Kamil Chalupnik
From: KamilX Chalupnik Support for optional CRC overlap in decode processing implemented in Turbo Software driver Signed-off-by: Kamil Chalupnik --- app/test-bbdev/test_bbdev_vector.c | 2 ++ doc/guides/bbdevs/turbo_sw.rst | 2 ++ drivers/baseband/turbo_sw/bbd

[dpdk-dev] [PATCH 06/13] baseband/turbo_sw: increase internal buffers

2018-04-26 Thread Kamil Chalupnik
From: KamilX Chalupnik Sizes of the internal buffers used by decoding were increased due to problem with memory for large vectors Signed-off-by: Kamil Chalupnik Acked-by: Amr Mokhtar --- drivers/baseband/turbo_sw/bbdev_turbo_software.c | 12 1 file changed, 8 insertions(+), 4 del

[dpdk-dev] [PATCH 09/13] bbdev: measure offload cost

2018-04-26 Thread Kamil Chalupnik
From: KamilX Chalupnik New test created to measure offload cost. Changes were introduced in API, turbo software driver and test application Signed-off-by: Kamil Chalupnik Acked-by: Amr Mokhtar --- app/test-bbdev/test_bbdev_perf.c | 333 ++- drivers/baseband

[dpdk-dev] [PATCH 10/13] doc: update tests and usage of test app description

2018-04-26 Thread Kamil Chalupnik
From: KamilX Chalupnik Update the test app documentation: - description of tests added - usage of test app updated Signed-off-by: Kamil Chalupnik Acked-by: Amr Mokhtar --- doc/guides/tools/testbbdev.rst | 74 +++--- 1 file changed, 48 insertions(+), 26 dele

[dpdk-dev] [PATCH 08/13] app/bbdev: update test vectors names

2018-04-26 Thread Kamil Chalupnik
From: KamilX Chalupnik Update test vectors directory for Wireless Baseband Device: - update test vectors names - python script used for tests execution updated Update the test app documentation: - vector test names updated Signed-off-by: Kamil Chalupnik --- app/test-bbdev/test-bbdev.py

[dpdk-dev] [PATCH 13/13] app/bbdev: improve readability of test application

2018-04-26 Thread Kamil Chalupnik
From: KamilX Chalupnik Improve readability of test application by replacing int values with rte_bbdev_event_type enum Signed-off-by: Kamil Chalupnik --- app/test-bbdev/test_bbdev.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/app/test-bbdev/test_bbdev.

[dpdk-dev] [PATCH 12/13] bbdev: split queue groups

2018-04-26 Thread Kamil Chalupnik
From: KamilX Chalupnik Splitting Queue Groups into UL/DL Groups in Turbo Software Driver. They are independent for Decode/Encode. Release note updated accordingly. Signed-off-by: Kamil Chalupnik --- app/test-bbdev/test_bbdev.c | 11 ++- doc/guides/rel_notes/release

[dpdk-dev] [PATCH 00/13] Documentation and Turbo Software Baseband Device Update

2018-04-26 Thread Kamil Chalupnik
From: KamilX Chalupnik Patchset adjusts BaseBand drivers code to changes in FlexRAN 1.4.0: - update usage of crc functions after API changes Patchset includes following changes in Turbo Software drivers: - optimization of preparation data to encode processing (usage of memcpy changed or rem

[dpdk-dev] [PATCH] lcore: make semantics of lcore role function more intuitive

2018-04-26 Thread Anatoly Burakov
rte_lcore_has_role() returns 0 if role of lcore matches requested role. The return value of the API is confusing, and this is a known problem with a deprecation notice announcing the change to more intuitive semantics: Commit 064518f68d48 ("doc: announce EAL API change to lcore role function") Cc:

Re: [dpdk-dev] [PATCH v3 1/5] net/ixgbevf: set the inter-interrupt interval for EITR.

2018-04-26 Thread Tonghao Zhang
On Thu, Apr 26, 2018 at 9:14 PM, Zhang, Qi Z wrote: > Hi Tonghao: > Would you submit v4 with Ferruh' s fix and also do a rebase on > next-net? Yes > Thanks > Qi > >> -Original Message- >> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Ferruh Yigit >> Sent: Thursday, April 1

Re: [dpdk-dev] [PATCH v6 11/11] doc: update mlx5 guide on tunnel offloading

2018-04-26 Thread Xueming(Steven) Li
Hi Ferruh, Thanks for reminding, new patch sent: http://www.dpdk.org/dev/patchwork/patch/39026/ Best Regards, Xueming > -Original Message- > From: Ferruh Yigit > Sent: Thursday, April 26, 2018 7:00 PM > To: Xueming(Steven) Li ; Nélio Laranjeiro > ; Shahaf > Shuler > Cc: dev@dpdk.org >

Re: [dpdk-dev] [PATCH v6 4/4] ethdev: add shared counter support to rte_flow

2018-04-26 Thread Ori Kam
Hi Declan, You are changing API (port_flow_query) which is in use in both MLX5 and MLX4 this results in breaking the build. Best, Ori > -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Declan Doherty > Sent: Thursday, April 26, 2018 3:08 PM > To: dev@dpdk.org > C

Re: [dpdk-dev] [PATCH v8 6/9] ethdev: add common devargs parser

2018-04-26 Thread Ferruh Yigit
On 4/26/2018 1:03 PM, Ananyev, Konstantin wrote: > > >> -Original Message- >> From: Doherty, Declan >> Sent: Thursday, April 26, 2018 11:41 AM >> To: dev@dpdk.org >> Cc: Adrien Mazarguil ; Yigit, Ferruh >> ; Thomas Monjalon ; >> Shahaf Shuler ; Ananyev, Konstantin >> ; Horton, Remy ; >>

Re: [dpdk-dev] [PATCH v8 2/9] ethdev: add switch identifier parameter to port

2018-04-26 Thread Thomas Monjalon
26/04/2018 14:02, Thomas Monjalon: > 26/04/2018 12:40, Declan Doherty: > > Introduces a new port attribute to ethdev port's which denotes the > > switch domain a port belongs to. By default all port's switch > > identifiers are set to RTE_ETH_DEV_SWITCH_DOMAIN_ID_INVALID. Ports > > which supported

Re: [dpdk-dev] [PATCH v6 4/4] ethdev: add shared counter support to rte_flow

2018-04-26 Thread Ferruh Yigit
On 4/26/2018 3:06 PM, Ori Kam wrote: > Hi Declan, > > You are changing API (port_flow_query) which is in use in > both MLX5 and MLX4 this results in breaking the build. Hi Ori, Do you mean "rte_flow_query"? port_flow_query() is a function in testpmd, how mlx is using it? > > Best, > Ori > >>

Re: [dpdk-dev] [PATCH v8 6/9] ethdev: add common devargs parser

2018-04-26 Thread Doherty, Declan
On 26/04/2018 1:03 PM, Ananyev, Konstantin wrote: -Original Message- From: Doherty, Declan Sent: Thursday, April 26, 2018 11:41 AM To: dev@dpdk.org Cc: Adrien Mazarguil ; Yigit, Ferruh ; Thomas Monjalon ; Shahaf Shuler ; Ananyev, Konstantin ; Horton, Remy ; Doherty, Declan Subject:

Re: [dpdk-dev] [PATCH] app/bbdev: dynamic lib support

2018-04-26 Thread De Lara Guarch, Pablo
> -Original Message- > From: Chalupnik, KamilX > Sent: Thursday, April 26, 2018 3:24 PM > To: De Lara Guarch, Pablo ; dev@dpdk.org > Cc: Mokhtar, Amr > Subject: RE: [dpdk-dev] [PATCH] app/bbdev: dynamic lib support > > Hi Pablo > > > -Original Message- > > From: De Lara Guarch,

Re: [dpdk-dev] [PATCH v8 6/9] ethdev: add common devargs parser

2018-04-26 Thread Remy Horton
On 26/04/2018 13:03, Ananyev, Konstantin wrote: [..] I still think that if you'd like to extend rte_kvarrgs to be able to parse something like: "key=[val1,val2,...,valn]", you have to make it generic kvargs ability and put it into librte_kvargs, not try to introduce your own new parser here. I

Re: [dpdk-dev] [PATCH] lcore: make semantics of lcore role function more intuitive

2018-04-26 Thread Thomas Monjalon
26/04/2018 15:42, Anatoly Burakov: > rte_lcore_has_role() returns 0 if role of lcore matches requested > role. The return value of the API is confusing, and this is a known > problem with a deprecation notice announcing the change to more > intuitive semantics: > > Commit 064518f68d48 ("doc: annou

[dpdk-dev] [PATCH] bbdev: change names of baseband devices

2018-04-26 Thread Kamil Chalupnik
Change baseband device name: - from turbo_sw to baseband_turbo_sw - from bbdev_null to baseband_null To keep backwards compatibility the old names are still valid Signed-off-by: Kamil Chalupnik --- app/test-bbdev/test-bbdev.py | 2 +- doc/guides/bbdevs/null.rst

Re: [dpdk-dev] [PATCH v6 4/4] ethdev: add shared counter support to rte_flow

2018-04-26 Thread Ori Kam
Hi, PSB Ori > -Original Message- > From: Ferruh Yigit [mailto:ferruh.yi...@intel.com] > Sent: Thursday, April 26, 2018 5:28 PM > To: Ori Kam ; Declan Doherty > ; dev@dpdk.org; Matan Azrad > > Subject: Re: [dpdk-dev] [PATCH v6 4/4] ethdev: add shared counter support > to rte_flow > > On

  1   2   3   >