[dpdk-dev] [PATCH v8 0/4] add async data path in vhost sample

2020-10-21 Thread Cheng Jiang
This patch set makes vhost-vswitch be able to use vhost async APIs for enqueue operations. Demonstrated how the application leverage IOAT DMA channel with vhost async APIs. We introduce two parameters to enable DMA acceleration for Tx operations of queues: -dma_type This parameter is used to speci

[dpdk-dev] [PATCH v8 1/4] example/vhost: add async vhost args parsing function

2020-10-21 Thread Cheng Jiang
This patch is to add async vhost driver arguments parsing function for CBDMA channel, DMA initiation function and args description. The meson build file is changed to fix dependency problem. With these arguments vhost device can be set to use CBDMA or CPU for enqueue operation and bind vhost device

[dpdk-dev] [PATCH v8 4/4] doc: update release notes for vhost sample

2020-10-21 Thread Cheng Jiang
Add release notes for vhost async data path support in vhost sample. Signed-off-by: Cheng Jiang --- doc/guides/rel_notes/release_20_11.rst | 6 ++ 1 file changed, 6 insertions(+) diff --git a/doc/guides/rel_notes/release_20_11.rst b/doc/guides/rel_notes/release_20_11.rst index 0d45b5003..f

[dpdk-dev] [PATCH v8 3/4] doc: update vhost sample doc for vhost async data path

2020-10-21 Thread Cheng Jiang
Add vhost async driver arguments information for vhost async data path in vhost sample application. Signed-off-by: Cheng Jiang --- doc/guides/sample_app_ug/vhost.rst | 11 +++ 1 file changed, 11 insertions(+) diff --git a/doc/guides/sample_app_ug/vhost.rst b/doc/guides/sample_app_ug/vh

[dpdk-dev] [PATCH v8 2/4] example/vhost: add support for vhost async data path

2020-10-21 Thread Cheng Jiang
This patch is to implement vhost DMA operation callbacks for CBDMA PMD and add vhost async data-path in vhost sample. With providing callback implementation for CBDMA, vswitch can leverage IOAT to accelerate vhost async data-path. Signed-off-by: Cheng Jiang --- examples/vhost/ioat.c | 100 ++

[dpdk-dev] [PATCH v1] doc: update ip pipeline and qos scheduler app

2020-10-21 Thread Savinay Dharmappa
update the user guide of sample application ip pipeline and qos_scheduler to reflect the changes in command line arguments and profile config file. Signed-off-by: Savinay Dharmappa --- doc/guides/sample_app_ug/ip_pipeline.rst | 6 +- doc/guides/sample_app_ug/qos_scheduler.rst | 4 2 f

Re: [dpdk-dev] [EXT] Re: [PATCH v1] regexdev: add OOS capability definition

2020-10-21 Thread Ori Kam
Hi > -Original Message- > From: Guy Kaneti > Sent: Tuesday, October 20, 2020 5:24 PM > Subject: RE: [EXT] Re: [dpdk-dev] [PATCH v1] regexdev: add OOS capability > definition > > > > > -Original Message- > > From: Thomas Monjalon > > Sent: Tuesday, October 20, 2020 3:37 PM > >

Re: [dpdk-dev] [v3 1/2] cryptodev: support enqueue callback functions

2020-10-21 Thread Honnappa Nagarahalli
> > This patch adds APIs to add/remove callback functions. The callback function > will be called for each burst of crypto ops received on a given crypto device > queue pair. > > Signed-off-by: Abhinandan Gujjar > --- > config/rte_config.h| 1 + > lib/librte_cryp

Re: [dpdk-dev] [EXT] Re: [PATCH v1] regexdev: add OOS capability definition

2020-10-21 Thread Guy Kaneti
> -Original Message- > From: Ori Kam > Sent: Wednesday, October 21, 2020 10:15 AM > To: Guy Kaneti ; NBU-Contact-Thomas Monjalon > > Cc: dev@dpdk.org; Smadar Fuks ; Dovrat Zifroni > ; Jerin Jacob Kollanukkaran > Subject: RE: [EXT] Re: [dpdk-dev] [PATCH v1] regexdev: add OOS capability

[dpdk-dev] [PATCH v5 1/3] net/iavf: enable AVX512 for legacy RX

2020-10-21 Thread Wenzhuo Lu
To enhance the per-core performance, this patch adds some AVX512 instructions to the data path to handle the legacy RX descriptors. Signed-off-by: Wenzhuo Lu Signed-off-by: Bruce Richardson Signed-off-by: Leyi Rong --- drivers/net/iavf/iavf_rxtx.c| 28 +- drivers/net/iavf/iavf_rxt

[dpdk-dev] [PATCH v5 0/3] enable AVX512 for iavf

2020-10-21 Thread Wenzhuo Lu
AVX512 instructions is supported by more and more platforms. These instructions can be used in the data path to enhance the per-core performance of packet processing. Comparing with the existing implementation, this path set introduces some AVX512 instructions into the iavf data path, and we get

[dpdk-dev] [PATCH v5 3/3] net/iavf: enable AVX512 for TX

2020-10-21 Thread Wenzhuo Lu
To enhance the per-core performance, this patch adds some AVX512 instructions to the data path to handle the TX descriptors. Signed-off-by: Wenzhuo Lu Signed-off-by: Bruce Richardson Signed-off-by: Leyi Rong --- doc/guides/rel_notes/release_20_11.rst | 3 + drivers/net/iavf/iavf_ethdev.c

[dpdk-dev] [PATCH v5 2/3] net/iavf: enable AVX512 for flexible RX

2020-10-21 Thread Wenzhuo Lu
To enhance the per-core performance, this patch adds some AVX512 instructions to the data path to handle the flexible RX descriptors. Signed-off-by: Wenzhuo Lu Signed-off-by: Bruce Richardson Signed-off-by: Leyi Rong --- drivers/net/iavf/iavf_rxtx.c| 10 + drivers/net/iavf/iavf_rx

Re: [dpdk-dev] [EXT] Re: [PATCH v1] regexdev: add OOS capability definition

2020-10-21 Thread Thomas Monjalon
21/10/2020 09:39, Guy Kaneti: > From: Ori Kam > > From: Guy Kaneti > > > From: Thomas Monjalon > > > > 20/10/2020 10:16, g...@marvell.com: > > > > > From: Guy Kaneti > > > > > > > > > > Add out of order scan capability to check PMD support for OOS. > > > > > > > > > > Signed-off-by: Guy Kaneti

Re: [dpdk-dev] [PATCH v2 2/2] lpm: hide internal data

2020-10-21 Thread Thomas Monjalon
21/10/2020 05:02, Ruifeng Wang: > --- a/doc/guides/rel_notes/release_20_11.rst > +++ b/doc/guides/rel_notes/release_20_11.rst > @@ -602,6 +602,8 @@ ABI Changes > > * sched: Added new fields to ``struct rte_sched_subport_port_params``. > > +* lpm: Removed fields other than ``tbl24`` and ``tbl8`

[dpdk-dev] [PATCH v2] regexdev: add OOS capability definition

2020-10-21 Thread guyk
From: Guy Kaneti Add out of order scan capability to check PMD support for OOS. Signed-off-by: Guy Kaneti --- v2 - fix definition comment --- lib/librte_regexdev/rte_regexdev.h | 9 + 1 file changed, 9 insertions(+) diff --git a/lib/librte_regexdev/rte_regexdev.h b/lib/librte_regexde

Re: [dpdk-dev] [PATCH v7 1/6] net/iavf: handle virtchnl event message without interrupt

2020-10-21 Thread Xing, Beilei
> -Original Message- > From: Xu, Ting > Sent: Sunday, October 18, 2020 6:34 PM > To: dev@dpdk.org > Cc: Zhang, Qi Z ; Xing, Beilei ; > Wu, Jingjing ; Xu, Ting > Subject: [PATCH v7 1/6] net/iavf: handle virtchnl event message without > interrupt > The patch looks fine to me except the

Re: [dpdk-dev] [PATCH v2 2/2] lpm: hide internal data

2020-10-21 Thread Ruifeng Wang
> -Original Message- > From: Thomas Monjalon > Sent: Wednesday, October 21, 2020 3:59 PM > To: Ruifeng Wang > Cc: Bruce Richardson ; Vladimir Medvedkin > ; dev@dpdk.org; Honnappa Nagarahalli > ; nd ; David Marchand > ; Kevin Traynor > Subject: Re: [PATCH v2 2/2] lpm: hide internal data

[dpdk-dev] [PATCH v7 01/14] doc: remove references to make from platforms guides

2020-10-21 Thread Ciara Power
Make is no longer supported for compiling DPDK, references are now removed in the documentation. Signed-off-by: Ciara Power Signed-off-by: Harman Kalra Reviewed-by: Kevin Laatz --- v7: Merged changes from another patch, as suggested by the author on v6, and added the relevant sign off. ---

[dpdk-dev] [PATCH v7 00/14] remove make support in DPDK

2020-10-21 Thread Ciara Power
This patchset includes the remaining 14 patches that were not merged along with the others in v4/v5, pending rework and more review. *All*, please make the documentation update your highest priority. v7: - Merged some changes from patch [3] for platform/octeontx.rst. - Rebased onto main and fi

[dpdk-dev] [PATCH v7 02/14] doc: remove references to make from mempool guide

2020-10-21 Thread Ciara Power
Make is no longer supported for compiling DPDK, references are now removed in the documentation. Signed-off-by: Ciara Power Reviewed-by: Kevin Laatz --- v7: Added back in config option that is available in meson config file. --- doc/guides/mempool/octeontx.rst | 16 +++- doc/guide

[dpdk-dev] [PATCH v7 04/14] doc: remove references to make from vdpadevs guides

2020-10-21 Thread Ciara Power
Make is no longer supported for compiling DPDK, references are now removed in the documentation. Signed-off-by: Ciara Power Acked-by: Matan Azrad --- v7: Modified compilation options to detail meson option ibverbs_link. --- doc/guides/vdpadevs/ifc.rst | 13 - doc/guides/vdpadevs/m

[dpdk-dev] [PATCH v7 03/14] doc: remove references to make from NICs guides

2020-10-21 Thread Ciara Power
Make is no longer supported for compiling DPDK, references are now removed in the documentation. Signed-off-by: Ciara Power Reviewed-by: Bruce Richardson Reviewed-by: Igor Russkikh Reviewed-by: Ferruh Yigit Reviewed-by: Harman Kalra Acked-by: Ajit Khaparde Acked-by: Hyong Youb Kim --- v7:

[dpdk-dev] [PATCH v7 07/14] doc: remove references to make from compressdevs guides

2020-10-21 Thread Ciara Power
Make is no longer supported for compiling DPDK, references are now removed in the documentation. Signed-off-by: Ciara Power Reviewed-by: Kevin Laatz Acked-by: Lee Daly --- doc/guides/compressdevs/isal.rst | 4 doc/guides/compressdevs/octeontx.rst | 24 ++-- doc/gu

[dpdk-dev] [PATCH v7 05/14] doc: remove references to make from bbdevs guides

2020-10-21 Thread Ciara Power
Make is no longer supported for compiling DPDK, references are now removed in the documentation. Signed-off-by: Ciara Power Reviewed-by: Kevin Laatz --- v5: Added meson steps to turbo_sw doc. --- doc/guides/bbdevs/fpga_5gnr_fec.rst | 5 + doc/guides/bbdevs/fpga_lte_fec.rst | 5 + do

[dpdk-dev] [PATCH v7 06/14] doc: remove references to make from cryptodevs guides

2020-10-21 Thread Ciara Power
Make is no longer supported for compiling DPDK, references are now removed in the documentation. Signed-off-by: Ciara Power Reviewed-by: Kevin Laatz Acked-by: Akhil Goyal --- doc/guides/cryptodevs/aesni_gcm.rst | 4 +- doc/guides/cryptodevs/aesni_mb.rst | 4 +- doc/guides/cryptodevs/armv8.r

[dpdk-dev] [PATCH v7 10/14] doc: remove references to make from app guides

2020-10-21 Thread Ciara Power
While make has been deprecated for DPDK, it's still applicable for some example apps to be built standalone, this patch adjusts the guides to take that into consideration. Signed-off-by: Ciara Power Acked-by: Nicolas Chautru Reviewed-by: Ferruh Yigit --- v6: Modified commit log based on sugges

[dpdk-dev] [PATCH v7 09/14] doc: remove references to make from rawdevs guides

2020-10-21 Thread Ciara Power
Make is no longer supported for compiling DPDK, references are now removed in the documentation. Signed-off-by: Ciara Power Reviewed-by: Kevin Laatz Acked-by: Bruce Richardson Acked-by: Rosen Xu --- v6: Modified compilation section for ioat based on v5 feedback. --- doc/guides/rawdevs/dpaa2_

[dpdk-dev] [PATCH v7 08/14] doc: remove references to make from eventdevs guides

2020-10-21 Thread Ciara Power
Make is no longer supported for compiling DPDK, references are now removed in the documentation. Signed-off-by: Ciara Power Reviewed-by: Kevin Laatz --- v7: - Removed unused headers. - Promoted some sub-headers. --- doc/guides/eventdevs/dpaa.rst | 23 --- doc/guide

[dpdk-dev] [PATCH v7 12/14] doc: remove references to make from contributing guide

2020-10-21 Thread Ciara Power
Make is no longer supported for compiling DPDK, references are now removed in the documentation. Signed-off-by: Ciara Power Signed-off-by: Louise Kilheeney --- v7: - Updated exec_env and arch lists. - Updated documentation build instruction. v5: - Removed reference to test-build.sh used f

[dpdk-dev] [PATCH v7 11/14] doc: remove reference to make from tools guides

2020-10-21 Thread Ciara Power
Make is no longer supported for compiling DPDK, references are now removed in the documentation. Signed-off-by: Ciara Power Reviewed-by: Kevin Laatz Acked-by: Nicolas Chautru --- v7: Removed compilation steps where unnecessary. v6: - Fixed indentation for testbbdev list entry. v5: - Reword

[dpdk-dev] [PATCH v7 13/14] doc: add to release notes to reflect removal of make

2020-10-21 Thread Ciara Power
Added an entry to describe the removal of the Make build system to the release notes for 20.11. Signed-off-by: Ciara Power --- v6: - Fixed spelling in commit log. - Fixed formatting of release note entry to be split logically. --- doc/guides/rel_notes/release_20_11.rst | 4 1 file chan

Re: [dpdk-dev] [PATCH v5] app/testpmd: fix the default RSS key configuration

2020-10-21 Thread oulijun
在 2020/10/20 22:34, Ferruh Yigit 写道: On 10/20/2020 2:35 PM, oulijun wrote: 在 2020/10/20 18:02, Ferruh Yigit 写道: On 10/20/2020 10:00 AM, oulijun wrote: 在 2020/10/16 18:57, Ferruh Yigit 写道: On 10/16/2020 11:04 AM, oulijun wrote: 在 2020/10/16 7:53, Ferruh Yigit 写道: On 10/16/2020 12:21

[dpdk-dev] [PATCH v7 14/14] doc: update patch cheatsheet to use meson

2020-10-21 Thread Ciara Power
From: Kevin Laatz With 'make' being removed, the patch cheatsheet needs to be updated to remove any references to 'make'. These references have been replaced with meson alternatives in this patch. Signed-off-by: Kevin Laatz --- .../contributing/img/patch_cheatsheet.svg | 582 --

Re: [dpdk-dev] [PATCH v7 06/14] doc: remove references to make from cryptodevs guides

2020-10-21 Thread Ruifeng Wang
> -Original Message- > From: Ciara Power > Sent: Wednesday, October 21, 2020 4:17 PM > To: dev@dpdk.org > Cc: Ciara Power ; Kevin Laatz > ; akhil.go...@nxp.com; Declan Doherty > ; Pablo de Lara > ; Ruifeng Wang > ; Gagandeep Singh ; > hemant.agra...@nxp.com; Somalapuram Amaranath > ; Mic

Re: [dpdk-dev] [PATCH v4] pci: support both PIO and MMIO BAR for legacy virtio on x86

2020-10-21 Thread 谢华伟(此时此刻)
Hi Ferruh: Comments to this patch? Customers are urging us to run DPDK with virtio mmio support. @david Though this patch is to support MMIO bar, it is the right thing to do. Previous code with virtio (IO/MMIO) port map/RW under different driver is too complicated. This patch also fixes

[dpdk-dev] [PATCH] net/hns3: enable RSS for ipv6-sctp dst/src port fields

2020-10-21 Thread Lijun Ou
For Kunpeng930 NIC hardware, it supports to use dst/src port to RSS hash for ipv6-sctp packet type. However, the Kunpeng920 NIC hardware is different with it. The Kunpeng920 NIC only supports dst/src ip to RSS hash for ipv6-sctp packet type. Signed-off-by: Lijun Ou --- drivers/net/hns3/hns3_ethd

Re: [dpdk-dev] [PATCH v8 2/3] build: use Python pmdinfogen

2020-10-21 Thread Bruce Richardson
On Tue, Oct 20, 2020 at 08:44:02PM +0300, Dmitry Kozlyuk wrote: > Use the same interpreter to run pmdinfogen as for other build scripts. > Adjust wrapper script accordingly and also don't suppress stderr from ar > and pmdinfogen. > > Add configure-time check for elftools Python module for Unix hos

Re: [dpdk-dev] [PATCH v2] regexdev: add OOS capability definition

2020-10-21 Thread Ori Kam
> -Original Message- > From: dev On Behalf Of g...@marvell.com > Sent: Wednesday, October 21, 2020 11:04 AM > Subject: [dpdk-dev] [PATCH v2] regexdev: add OOS capability definition > > From: Guy Kaneti > > Add out of order scan capability to check PMD > support for OOS. > > Signed-o

[dpdk-dev] [PATCH] net/mlx5: fix port shared data reference count

2020-10-21 Thread Xueming Li
When probe a representor, tag cache hash table and modification cache hash table allocated memory upon each port, overwrote previous existing cache in shared context data. This patch moves reference check of shared data prior to hash table allocation to avoid such issue. Fixes: 6801116688fe ("net

[dpdk-dev] [PATCH] net/mlx5: implement tunnel offload API

2020-10-21 Thread Gregory Etelson
Tunnel Offload API provides hardware independent, unified model to offload tunneled traffic. Key model elements are: - apply matches to both outer and inner packet headers during entire offload procedure; - restore outer header of partially offloaded packet; - model is implemented as a set of

Re: [dpdk-dev] [PATCH v2 00/11] bnxt fixes and enhancements to TRUFLOW support

2020-10-21 Thread Ajit Khaparde
On Tue, Oct 20, 2020 at 2:55 PM Ajit Khaparde wrote: > > This patchset has support for VXLAN decap full offload, > SR device support in tf_core and a few bug fixes. > > v1->v2: > - Squashed some patches. > - Updated commit logs. > - Fixed a compilation issue reported during clang builds. Fixed

Re: [dpdk-dev] [PATCH] net/bnxt: cleanup and fixes in Rx/Tx queue release ops

2020-10-21 Thread Ajit Khaparde
On Mon, Oct 19, 2020 at 9:19 PM Somnath Kotur wrote: > > Some of the ring related memory was not being freed in both the release > ops. Fix to free them now > Add some more NULL ptr checks in the corresponding queue_release_mbufs() > and queue_release_op() respectively. > Also call queue_release_o

Re: [dpdk-dev] [PATCH v5] app/testpmd: fix the default RSS key configuration

2020-10-21 Thread Ferruh Yigit
On 10/21/2020 9:19 AM, oulijun wrote: 在 2020/10/20 22:34, Ferruh Yigit 写道: On 10/20/2020 2:35 PM, oulijun wrote: 在 2020/10/20 18:02, Ferruh Yigit 写道: On 10/20/2020 10:00 AM, oulijun wrote: 在 2020/10/16 18:57, Ferruh Yigit 写道: On 10/16/2020 11:04 AM, oulijun wrote: 在 2020/10/16 7:53,

Re: [dpdk-dev] [PATCH v4 3/5] net/ice: fix max mtu size packets with vlan tag cannot be received by default

2020-10-21 Thread Ananyev, Konstantin
> > On 10/20/2020 10:07 AM, Ananyev, Konstantin wrote: > > > >> > >> testpmd will initialize default max packet length to 1518 which > >> doesn't include vlan tag size in ether overheader. Once, send > >> the > >> max mtu length packet

Re: [dpdk-dev] [PATCH] net/bnxt: fix xstats by id

2020-10-21 Thread Ajit Khaparde
On Tue, Jun 16, 2020 at 8:36 AM Ferruh Yigit wrote: > > The xstat by id device operation seems wrong, it fills 'xstats' struct > via 'bnxt_dev_xstats_get_op()' call, but the retrieved values are not > transferred to user input 'values' array. > > ethdev layer 'rte_eth_xstats_get_by_id()' & > 'rte_

[dpdk-dev] [PATCH] net/bnxt: fix a potential resource leak

2020-10-21 Thread Ajit Khaparde
Fix a potential resource leak in case of errors during dev args parsing during device probe. Fixes: 6dc83230b43b ("net/bnxt: support port representor data path") Signed-off-by: Ajit Khaparde Reviewed-by: Kalesh AP --- drivers/net/bnxt/bnxt_ethdev.c | 35 +- 1 fi

[dpdk-dev] [PATCH] app/testpmd: set default RSS key as null

2020-10-21 Thread Lijun Ou
From: Ophir Munk When creating an RSS rule without specifying a key (see [1]) it is expected that the device will use the default key. A NULL key is used to indicate to a PMD it should use its default key, however testpmd assigns a non-NULL dummy key (see [2]) instead. This does not enable testin

Re: [dpdk-dev] [PATCH v5] app/testpmd: fix the default RSS key configuration

2020-10-21 Thread oulijun
在 2020/10/21 17:38, Ferruh Yigit 写道: On 10/21/2020 9:19 AM, oulijun wrote: 在 2020/10/20 22:34, Ferruh Yigit 写道: On 10/20/2020 2:35 PM, oulijun wrote: 在 2020/10/20 18:02, Ferruh Yigit 写道: On 10/20/2020 10:00 AM, oulijun wrote: 在 2020/10/16 18:57, Ferruh Yigit 写道: On 10/16/2020 11:04

Re: [dpdk-dev] [PATCH v1] doc: update ip pipeline and qos scheduler app

2020-10-21 Thread Dumitrescu, Cristian
> -Original Message- > From: Dharmappa, Savinay > Sent: Wednesday, October 21, 2020 8:07 AM > To: Dumitrescu, Cristian ; Singh, Jasvinder > ; dev@dpdk.org > Cc: Dharmappa, Savinay > Subject: [PATCH v1] doc: update ip pipeline and qos scheduler app > > update the user guide of sample a

Re: [dpdk-dev] [RFC] doc: announce max Rx packet len field deprecation

2020-10-21 Thread Ananyev, Konstantin
> > Signed-off-by: Ferruh Yigit > --- > Cc: Thomas Monjalon > Cc: Andrew Rybchenko > Cc: Konstantin Ananyev > Cc: Matan Azrad > Cc: Olivier Matz > Cc: Jerin Jacob > --- > doc/guides/rel_notes/deprecation.rst | 25 + > 1 file changed, 25 insertions(+) > > diff -

Re: [dpdk-dev] [PATCH v4 3/5] net/ice: fix max mtu size packets with vlan tag cannot be received by default

2020-10-21 Thread Ferruh Yigit
On 10/21/2020 10:47 AM, Ananyev, Konstantin wrote: On 10/20/2020 10:07 AM, Ananyev, Konstantin wrote: testpmd will initialize default max packet length to 1518 which doesn't include vlan tag size in ether overheader. Once, send the max mtu length packet with vlan tag, the max packet lengt

Re: [dpdk-dev] [PATCH v4 3/5] net/ice: fix max mtu size packets with vlan tag cannot be received by default

2020-10-21 Thread Ananyev, Konstantin
> >> On 10/20/2020 10:07 AM, Ananyev, Konstantin wrote: > >>> > > testpmd will initialize default max packet length to 1518 > which > doesn't include vlan tag size in ether overheader. Once, > send the >

Re: [dpdk-dev] [PATCH v4 3/5] net/ice: fix max mtu size packets with vlan tag cannot be received by default

2020-10-21 Thread Ferruh Yigit
On 10/21/2020 11:44 AM, Ananyev, Konstantin wrote: On 10/20/2020 10:07 AM, Ananyev, Konstantin wrote: testpmd will initialize default max packet length to 1518 which doesn't include vlan tag size in ether overheader. Once, send the max mtu length packet with vlan tag, the max packet length wi

Re: [dpdk-dev] [PATCH] net/mlx5: fix xstats reset reinitialization

2020-10-21 Thread Raslan Darawsheh
Hi, > -Original Message- > From: Shiri Kuzin > Sent: Monday, October 19, 2020 9:37 AM > To: dev@dpdk.org > Cc: ma...@mellanox.com; rasl...@mellanox.com; > viachesl...@mellanox.com; sta...@dpdk.org > Subject: [PATCH] net/mlx5: fix xstats reset reinitialization > > The mlx5_xstats_reset cl

Re: [dpdk-dev] [PATCH 1/7] vhost: fix virtqueues metadata allocation

2020-10-21 Thread Xia, Chenbo
Hi Maxime, > -Original Message- > From: Maxime Coquelin > Sent: Tuesday, October 20, 2020 1:34 AM > To: dev@dpdk.org; Xia, Chenbo ; amore...@redhat.com > Cc: Maxime Coquelin ; sta...@dpdk.org > Subject: [PATCH 1/7] vhost: fix virtqueues metadata allocation > > The Vhost-user backend impl

Re: [dpdk-dev] [PATCH v2 00/62] net/sfc: support flow API transfer rules

2020-10-21 Thread Ferruh Yigit
On 10/20/2020 10:12 AM, Andrew Rybchenko wrote: Transfer rules for Alveo SN1000 SmartNICs support matching on various inner and outer packet headers, traffic source items like PORT_ID, PHY_PORT, PF and VF and actions to route traffic to destination (PORT_ID, PHY_PORT, PF, VF or DROP), MARK, FLAG

[dpdk-dev] [PATCH v1] net/mlx5: fix port shared data reference count

2020-10-21 Thread Xueming Li
When probe a representor, tag cache hash table and modification cache hash table allocated memory upon each port, overwrote previous existing cache in shared context data. This patch moves reference check of shared data prior to hash table allocation to avoid such issue. Fixes: 6801116688fe ("net

[dpdk-dev] [PATCH v5 0/3] fixes for device event

2020-10-21 Thread wangyunjian
From: Yunjian Wang This series include three fixes patches for device event. --- v5: * update patch 3/3 code styles suggested by David Marchand v4: * add fix a wrong returned value * remove redundant check suggested by David Marchand v3: * modified the format. Yunjian Wang (3): eal: fix

[dpdk-dev] [PATCH v5 1/3] eal: fix memory leak when removing event_cb

2020-10-21 Thread wangyunjian
From: Yunjian Wang The event_cb->dev_name is not freed when freeing event_cb, and this causes a memory leak. Fixes: a753e53d517b ("eal: add device event monitor framework") Cc: sta...@dpdk.org Signed-off-by: Yunjian Wang Acked-by: Jeff Guo --- lib/librte_eal/common/eal_common_dev.c | 1 + 1

[dpdk-dev] [PATCH v5 2/3] eal: return error code when failure

2020-10-21 Thread wangyunjian
From: Yunjian Wang Fix return value, using -EAGAIN instead of 0 when the callback is busy and using -ENOENT instead of 0 when the callback is not found. Fixes: a753e53d517b ("eal: add device event monitor framework") Cc: sta...@dpdk.org Signed-off-by: Yunjian Wang Acked-by: Jeff Guo --- lib/

[dpdk-dev] [PATCH v5 3/3] eal: fix a wrong returned value when callback exists

2020-10-21 Thread wangyunjian
From: Yunjian Wang We should return an error value, when the callback is already exist. Fixes: a753e53d517b ("eal: add device event monitor framework") Cc: sta...@dpdk.org Signed-off-by: Yunjian Wang Suggested-by: David Marchand --- lib/librte_eal/common/eal_common_dev.c | 2 ++ 1 file chang

Re: [dpdk-dev] [PATCH 2/7] vhost: validate index in available entries API

2020-10-21 Thread Xia, Chenbo
Hi Maxime, > -Original Message- > From: Maxime Coquelin > Sent: Tuesday, October 20, 2020 1:34 AM > To: dev@dpdk.org; Xia, Chenbo ; amore...@redhat.com > Cc: Maxime Coquelin ; sta...@dpdk.org > Subject: [PATCH 2/7] vhost: validate index in available entries API > > This patch validates t

Re: [dpdk-dev] [PATCH 4/7] vhost: validate index in live-migration API

2020-10-21 Thread Xia, Chenbo
> -Original Message- > From: Maxime Coquelin > Sent: Tuesday, October 20, 2020 1:34 AM > To: dev@dpdk.org; Xia, Chenbo ; amore...@redhat.com > Cc: Maxime Coquelin ; sta...@dpdk.org > Subject: [PATCH 4/7] vhost: validate index in live-migration API > > This patch validates the queue index

Re: [dpdk-dev] [PATCH 3/7] vhost: validate index in guest notification API

2020-10-21 Thread Xia, Chenbo
> -Original Message- > From: Maxime Coquelin > Sent: Tuesday, October 20, 2020 1:34 AM > To: dev@dpdk.org; Xia, Chenbo ; amore...@redhat.com > Cc: Maxime Coquelin ; sta...@dpdk.org > Subject: [PATCH 3/7] vhost: validate index in guest notification API > > This patch validates the queue in

Re: [dpdk-dev] [PATCH 5/7] vhost: validate index in inflight API

2020-10-21 Thread Xia, Chenbo
> -Original Message- > From: Maxime Coquelin > Sent: Tuesday, October 20, 2020 1:34 AM > To: dev@dpdk.org; Xia, Chenbo ; amore...@redhat.com > Cc: Maxime Coquelin ; sta...@dpdk.org > Subject: [PATCH 5/7] vhost: validate index in inflight API > > This patch validates the queue index parame

Re: [dpdk-dev] [PATCH 6/7] vhost: validate index in async API

2020-10-21 Thread Xia, Chenbo
> -Original Message- > From: Maxime Coquelin > Sent: Tuesday, October 20, 2020 1:34 AM > To: dev@dpdk.org; Xia, Chenbo ; amore...@redhat.com > Cc: Maxime Coquelin ; sta...@dpdk.org > Subject: [PATCH 6/7] vhost: validate index in async API > > This patch validates the queue index parameter

Re: [dpdk-dev] [PATCH 7/7] vhost: check virtqueue metadata pointer

2020-10-21 Thread Xia, Chenbo
> -Original Message- > From: Maxime Coquelin > Sent: Tuesday, October 20, 2020 1:34 AM > To: dev@dpdk.org; Xia, Chenbo ; amore...@redhat.com > Cc: Maxime Coquelin > Subject: [PATCH 7/7] vhost: check virtqueue metadata pointer > > This patch checks whether the virtqueue metadata pointer >

[dpdk-dev] [RFC PATCH v3 1/6] build: rename default Arm build to generic-armv8

2020-10-21 Thread Juraj Linkeš
The current machine='default' build name is not descriptive. The actual default build is machine='native'. Add an alternative string which does the same build and better describes what we're building: machine='generic-armv8'. Leave machine='default' for backwards compatibility. Signed-off-by: Jura

[dpdk-dev] [RFC PATCH v3 0/6] Arm build options rework

2020-10-21 Thread Juraj Linkeš
The current way of specifying Arm configuration options is insufficient since we can't identify the SoC we're building for from the MIDR information. Add a way to discover cpu count a numa node count and use that instead of statically defined values. This augments the current native builds. A bon

[dpdk-dev] [RFC PATCH v3 3/6] build: automatic NUMA and cpu counts detection

2020-10-21 Thread Juraj Linkeš
The build machine's number of cpus and numa nodes vary, resulting in mismatched counts of RTE_MAX_LCORE and RTE_MAX_NUMA_NODES for many builds. Automatically discover the host's numa and cpu counts to remove this mismatch for native builds. Use current defaults for default builds. Force the users t

[dpdk-dev] [RFC PATCH v3 2/6] build: refactor Arm build

2020-10-21 Thread Juraj Linkeš
* Rename variables to have names that better describe what the variables store * Remove unused or superfluous variables * Change a list to dictionary where key lookup is needed * Add informatory comments in the code * Minor code restructure and reformatting Signed-off-by: Juraj Linkeš --- config

[dpdk-dev] [RFC PATCH v3 6/6] build: update Arm builds with makefile flags

2020-10-21 Thread Juraj Linkeš
Not all flags were moved properly from the old Makefile build system. Disable corresponding drivers and libnuma in cross files and remove deprecated config. Signed-off-by: Juraj Linkeš --- config/arm/arm64_armada_linux_gcc| 2 ++ config/arm/arm64_armv8_linux_gcc | 8 ++-- config/arm/

[dpdk-dev] [RFC PATCH v3 5/6] build: disable Arm drivers

2020-10-21 Thread Juraj Linkeš
A few options that disabled drivers in the old makefiles were improperly ported to the meson build system. Fix this by adding a to the list of disabled drivers, similarly how the command line option works. Signed-off-by: Juraj Linkeš Acked-by: Bruce Richardson --- config/arm/meson.build | 9 +++

[dpdk-dev] [RFC PATCH v3 4/6] build: move core and NUMA counts to cross files

2020-10-21 Thread Juraj Linkeš
The values of RTE_MAX_NUMA_NODES and RTE_MAX_LCORE are going to vary for different build machines, even for the same Implementer ID and Part Number combinations. Move the fixed values to cross files and use automatic discovery/values from cmdline options for native build. Use predefined values for

Re: [dpdk-dev] [PATCH v10 0/5] aarch64 -> aarch32 cross compilation support

2020-10-21 Thread Juraj Linkeš
Hi Folks, This patch series has been submitted more than a month ago. There have been no comments. Should I just wait a bit more or what should I do? Thanks, Juraj > -Original Message- > From: Juraj Linkeš > Sent: Wednesday, September 16, 2020 10:21 AM > To: tho...@monjalon.net; bruce.

Re: [dpdk-dev] [PATCH v4] pci: support both PIO and MMIO BAR for legacy virtio on x86

2020-10-21 Thread Ferruh Yigit
On 10/13/2020 9:41 AM, 谢华伟(此时此刻) wrote: From: "huawei.xhw" Legacy virtio-pci only supports PIO BAR resource. As we need to create lots of virtio devices and PIO resource on x86 is very limited, we expose MMIO BAR. Kernel supports both PIO and MMIO BAR for legacy virtio-pci device. We handles

Re: [dpdk-dev] [PATCH v10 0/5] aarch64 -> aarch32 cross compilation support

2020-10-21 Thread Thomas Monjalon
21/10/2020 13:42, Juraj Linkeš: > Hi Folks, > > This patch series has been submitted more than a month ago. > There have been no comments. > Should I just wait a bit more or what should I do? First thing to do is to get acks from Arm maintainers. There are other patchset in the same area that I'm

Re: [dpdk-dev] [RFC PATCH v3 1/6] build: rename default Arm build to generic-armv8

2020-10-21 Thread Bruce Richardson
On Wed, Oct 21, 2020 at 01:37:36PM +0200, Juraj Linkeš wrote: > The current machine='default' build name is not descriptive. The actual > default build is machine='native'. Add an alternative string which does > the same build and better describes what we're building: > machine='generic-armv8'. Lea

Re: [dpdk-dev] [RFC PATCH v3 3/6] build: automatic NUMA and cpu counts detection

2020-10-21 Thread Bruce Richardson
On Wed, Oct 21, 2020 at 01:37:38PM +0200, Juraj Linkeš wrote: > The build machine's number of cpus and numa nodes vary, resulting in > mismatched counts of RTE_MAX_LCORE and RTE_MAX_NUMA_NODES for many > builds. Automatically discover the host's numa and cpu counts to remove > this mismatch for nat

Re: [dpdk-dev] [PATCH 1/7] vhost: fix virtqueues metadata allocation

2020-10-21 Thread Maxime Coquelin
Hi Chenbon On 10/21/20 1:10 PM, Xia, Chenbo wrote: > Hi Maxime, > >> -Original Message- >> From: Maxime Coquelin >> Sent: Tuesday, October 20, 2020 1:34 AM >> To: dev@dpdk.org; Xia, Chenbo ; amore...@redhat.com >> Cc: Maxime Coquelin ; sta...@dpdk.org >> Subject: [PATCH 1/7] vhost: fix v

Re: [dpdk-dev] [RFC PATCH v3 1/6] build: rename default Arm build to generic-armv8

2020-10-21 Thread Juraj Linkeš
> -Original Message- > From: Bruce Richardson > Sent: Wednesday, October 21, 2020 1:53 PM > To: Juraj Linkeš > Cc: ruifeng.w...@arm.com; honnappa.nagaraha...@arm.com; > phil.y...@arm.com; vcchu...@amazon.com; dharmik.thak...@arm.com; > jerinjac...@gmail.com; hemant.agra...@nxp.com; dev@

Re: [dpdk-dev] [PATCH v4] pci: support both PIO and MMIO BAR for legacy virtio on x86

2020-10-21 Thread 谢华伟(此时此刻)
On 2020/10/21 19:49, Ferruh Yigit wrote: On 10/13/2020 9:41 AM, 谢华伟(此时此刻) wrote: From: "huawei.xhw" Legacy virtio-pci only supports PIO BAR resource. As we need to create lots of virtio devices and PIO resource on x86 is very limited, we expose MMIO BAR. Kernel supports both PIO  and MMI

Re: [dpdk-dev] [RFC] doc: announce max Rx packet len field deprecation

2020-10-21 Thread Kinsella, Ray
On 20/10/2020 13:03, Ferruh Yigit wrote: > Signed-off-by: Ferruh Yigit > --- > Cc: Thomas Monjalon > Cc: Andrew Rybchenko > Cc: Konstantin Ananyev > Cc: Matan Azrad > Cc: Olivier Matz > Cc: Jerin Jacob > --- > doc/guides/rel_notes/deprecation.rst | 25 + > 1 file

Re: [dpdk-dev] [PATCH v2 00/62] net/sfc: support flow API transfer rules

2020-10-21 Thread Andrew Rybchenko
On 10/21/20 2:13 PM, Ferruh Yigit wrote: On 10/20/2020 10:12 AM, Andrew Rybchenko wrote: Transfer rules for Alveo SN1000 SmartNICs support matching on various inner and outer packet headers, traffic source items like PORT_ID, PHY_PORT, PF and VF and actions to route traffic to destination (PORT_

[dpdk-dev] [Bug 562] Cannot bind 82599ES 10-Gigabit to uio_pci_generic

2020-10-21 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=562 Bug ID: 562 Summary: Cannot bind 82599ES 10-Gigabit to uio_pci_generic Product: DPDK Version: 20.08 Hardware: x86 OS: All Status: UNCONFIRMED Severity: critical

Re: [dpdk-dev] [RFC PATCH v3 3/6] build: automatic NUMA and cpu counts detection

2020-10-21 Thread Juraj Linkeš
> -Original Message- > From: Bruce Richardson > Sent: Wednesday, October 21, 2020 2:02 PM > To: Juraj Linkeš > Cc: ruifeng.w...@arm.com; honnappa.nagaraha...@arm.com; > phil.y...@arm.com; vcchu...@amazon.com; dharmik.thak...@arm.com; > jerinjac...@gmail.com; hemant.agra...@nxp.com; dev@

Re: [dpdk-dev] [PATCH] baseband/acc100: remove logically dead code

2020-10-21 Thread Tom Rix
On 10/19/20 2:09 PM, Nicolas Chautru wrote: > Coverity reported dead code for a few error > checks which are indeed not reachable. > > Coverity issue: 363451, 363454, 363455 > > Signed-off-by: Nicolas Chautru This change looks fine. Should remove the 'Coverity issue: ... ' from the log. Revie

Re: [dpdk-dev] [RFC PATCH v3 3/6] build: automatic NUMA and cpu counts detection

2020-10-21 Thread Bruce Richardson
On Wed, Oct 21, 2020 at 01:01:41PM +, Juraj Linkeš wrote: > > > > -Original Message- > > From: Bruce Richardson > > Sent: Wednesday, October 21, 2020 2:02 PM > > To: Juraj Linkeš > > Cc: ruifeng.w...@arm.com; honnappa.nagaraha...@arm.com; > > phil.y...@arm.com; vcchu...@amazon.com;

Re: [dpdk-dev] [PATCH V2 1/1] net/mlx5: fix IPv6 next proto validation

2020-10-21 Thread Matan Azrad
From: Eli Britstein > Previous patch added validation of the IPv6 next proto field, in order to > overcome a known limitation. > One of the values checked is IPPROTO_HOPOPTS, which is defined as 0. > If proto field is not specified for matching, or mask=0, as in the following, > a > wrong valid

Re: [dpdk-dev] [PATCH v10 2/5] build: add aarch32 meson build flags

2020-10-21 Thread Ruifeng Wang
> -Original Message- > From: dev On Behalf Of Juraj Linke? > Sent: Wednesday, September 16, 2020 4:21 PM > To: tho...@monjalon.net; bruce.richard...@intel.com; > acon...@redhat.com; maicolgabr...@hotmail.com > Cc: juraj.lin...@pantheon.tech; dev@dpdk.org > Subject: [dpdk-dev] [PATCH v10 2

Re: [dpdk-dev] [PATCH v10 3/5] build: add aarch32 to meson cross-compilation

2020-10-21 Thread Ruifeng Wang
> -Original Message- > From: dev On Behalf Of Juraj Linke? > Sent: Wednesday, September 16, 2020 4:21 PM > To: tho...@monjalon.net; bruce.richard...@intel.com; > acon...@redhat.com; maicolgabr...@hotmail.com > Cc: juraj.lin...@pantheon.tech; dev@dpdk.org > Subject: [dpdk-dev] [PATCH v10 3

Re: [dpdk-dev] [RFC PATCH v3 3/6] build: automatic NUMA and cpu counts detection

2020-10-21 Thread Bruce Richardson
On Wed, Oct 21, 2020 at 03:13:19PM +0100, Bruce Richardson wrote: > On Wed, Oct 21, 2020 at 01:01:41PM +, Juraj Linkeš wrote: > > > > > > > -Original Message- > > > From: Bruce Richardson > > > Sent: Wednesday, October 21, 2020 2:02 PM > > > To: Juraj Linkeš > > > Cc: ruifeng.w...@a

Re: [dpdk-dev] [PATCH v10 4/5] ci: add aarch64 -> aarch32 cross compiling jobs

2020-10-21 Thread Ruifeng Wang
> -Original Message- > From: dev On Behalf Of Juraj Linke? > Sent: Wednesday, September 16, 2020 4:21 PM > To: tho...@monjalon.net; bruce.richard...@intel.com; > acon...@redhat.com; maicolgabr...@hotmail.com > Cc: juraj.lin...@pantheon.tech; dev@dpdk.org > Subject: [dpdk-dev] [PATCH v10 4

Re: [dpdk-dev] [PATCH v10 5/5] doc: add aarch32 build guidance

2020-10-21 Thread Ruifeng Wang
> -Original Message- > From: dev On Behalf Of Juraj Linke? > Sent: Wednesday, September 16, 2020 4:21 PM > To: tho...@monjalon.net; bruce.richard...@intel.com; > acon...@redhat.com; maicolgabr...@hotmail.com > Cc: juraj.lin...@pantheon.tech; dev@dpdk.org; Phil Yang > > Subject: [dpdk-de

Re: [dpdk-dev] [RFC] doc: announce max Rx packet len field deprecation

2020-10-21 Thread Andrew Rybchenko
On 10/21/20 1:18 PM, Ananyev, Konstantin wrote: Signed-off-by: Ferruh Yigit --- Cc: Thomas Monjalon Cc: Andrew Rybchenko Cc: Konstantin Ananyev Cc: Matan Azrad Cc: Olivier Matz Cc: Jerin Jacob --- doc/guides/rel_notes/deprecation.rst | 25 + 1 file changed, 25

Re: [dpdk-dev] [DPDK_KMODS v4] linux/igb_uio: add Makefile to build the kernel module

2020-10-21 Thread Kalesh Anakkur Purayil
Hi Thomas/Ferruh, It looks like this patch is not yet merged to https://git.dpdk.org/dpdk-kmods/. This impacts the 20.11-rc1 testing which needs the igb_uio driver. Is there any reason to not merge this? Regards, Kalesh On Mon, Oct 19, 2020 at 11:38 PM Ajit Khaparde wrote: > On Thu, Oct 8, 20

Re: [dpdk-dev] [PATCH 01/14] ethdev: remove legacy MACVLAN filter type support

2020-10-21 Thread Andrew Rybchenko
On 10/21/20 6:31 AM, Guo, Jia wrote: -Original Message- From: Andrew Rybchenko Sent: Sunday, October 18, 2020 10:09 PM To: Lu, Wenzhuo ; Xing, Beilei ; Iremonger, Bernard ; Ray Kinsella ; Neil Horman ; Guo, Jia ; Rasesh Mody ; Shahed Shaikh ; Andrew Rybchenko ; Thomas Monjalon ; Yigit,

Re: [dpdk-dev] [PATCH 02/14] ethdev: move MAC filter type to i40e driver

2020-10-21 Thread Andrew Rybchenko
On 10/21/20 7:01 AM, Guo, Jia wrote: -Original Message- From: Andrew Rybchenko Sent: Sunday, October 18, 2020 10:09 PM To: Xing, Beilei ; Guo, Jia ; Thomas Monjalon ; Yigit, Ferruh ; Andrew Rybchenko Cc: dev@dpdk.org Subject: [PATCH 02/14] ethdev: move MAC filter type to i40e driver

Re: [dpdk-dev] [PATCH 03/14] ethdev: remove legacy EtherType filter type support

2020-10-21 Thread Andrew Rybchenko
On 10/21/20 8:38 AM, Guo, Jia wrote: -Original Message- From: Andrew Rybchenko Sent: Sunday, October 18, 2020 10:09 PM To: Lu, Wenzhuo ; Xing, Beilei ; Iremonger, Bernard ; Ray Kinsella ; Neil Horman ; Ajit Khaparde ; Somnath Kotur ; Guo, Jia ; Wang, Haiyue ; Ziyang Xuan ; Xiaoyun Wang

  1   2   >