[dpdk-dev] [PATCH] net/ice: fix symmetric rule creating

2021-01-20 Thread Xuan Ding
Only allow to create symmetric rule for L3/L4. Fixes: 38d632cbdc88("net/ice: refactor PF RSS") Cc: sta...@dpdk.org Signed-off-by: Xuan Ding --- drivers/net/ice/ice_hash.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/net/ice/ice_hash.c b/drivers/net/ice/ice_hash.c index 2d2

Re: [dpdk-dev] [PATCH 0/2] support SSL/TLS way of cipher-auth operations

2021-01-20 Thread Tejasree Kondoj
Hi Akhil, I'm planning to add device feature flag(RTE_CRYPTODEV_FF_SSL_ORDER) along with SSL test cases movement to chain array in v2. Would that be fine? Feature flag is needed to skip SSL test cases if device doesn't support them. Thanks Tejasree > -Original Message- > From: Tejasree

[dpdk-dev] [PATCH v3] net/bnxt: fix lock handling in stop and close

2021-01-20 Thread Ajit Khaparde
From: Somnath Kotur err_recovery_lock needs to be released before returning in stop and close_op if FW_RESET flag is set. Fixes: dd3613560573 ("net/bnxt: check chip reset in dev stop and close") Signed-off-by: Somnath Kotur Reviewed-by: Ajit Khaparde --- v1->v2: rebased to latest dpdk-next-net

[dpdk-dev] [PATCH v3] net/bnxt: code refactoring changes

2021-01-20 Thread Ajit Khaparde
From: Somnath Kotur Move all the individual driver fields allocation routines to one routine - bnxt_drv_init(). This houses all such routines where memory needs to be allocated once during the driver's lifetime and does not need to be torn down during error recovery. Rename some function names in

Re: [dpdk-dev] [PATCH v2 03/44] net/virtio: fix getting old status on reconnect

2021-01-20 Thread Xia, Chenbo
> -Original Message- > From: Maxime Coquelin > Sent: Wednesday, January 20, 2021 5:24 AM > To: dev@dpdk.org; Xia, Chenbo ; olivier.m...@6wind.com; > amore...@redhat.com; david.march...@redhat.com > Cc: Maxime Coquelin ; sta...@dpdk.org > Subject: [PATCH v2 03/44] net/virtio: fix getting ol

Re: [dpdk-dev] [PATCH v2 09/44] net/virtio: move MSIX detection to PCI ethdev

2021-01-20 Thread Xia, Chenbo
Hi Maxime, > -Original Message- > From: Maxime Coquelin > Sent: Wednesday, January 20, 2021 5:25 AM > To: dev@dpdk.org; Xia, Chenbo ; olivier.m...@6wind.com; > amore...@redhat.com; david.march...@redhat.com > Cc: Maxime Coquelin > Subject: [PATCH v2 09/44] net/virtio: move MSIX detection

Re: [dpdk-dev] [PATCH v11 0/4] raw/ifpga: add extra OPAE APIs

2021-01-20 Thread Zhang, Qi Z
> -Original Message- > From: Huang, Wei > Sent: Thursday, January 21, 2021 2:04 PM > To: dev@dpdk.org; Xu, Rosen ; Zhang, Qi Z > > Cc: sta...@dpdk.org; Zhang, Tianfei ; Huang, Wei > > Subject: [PATCH v11 0/4] raw/ifpga: add extra OPAE APIs > > Cyborg is part of OpenStack, it needs so

Re: [dpdk-dev] [PATCH v2 19/44] net/virtio: move features definition to generic header

2021-01-20 Thread Xia, Chenbo
Hi Maxime, > -Original Message- > From: Maxime Coquelin > Sent: Wednesday, January 20, 2021 5:25 AM > To: dev@dpdk.org; Xia, Chenbo ; olivier.m...@6wind.com; > amore...@redhat.com; david.march...@redhat.com > Cc: Maxime Coquelin > Subject: [PATCH v2 19/44] net/virtio: move features defin

Re: [dpdk-dev] [PATCH v5 2/3] PCI: support MMIO in rte_pci_ioport_map/unap/read/write

2021-01-20 Thread 谢华伟(此时此刻)
On 2021/1/12 16:23, Maxime Coquelin wrote: Title should be something like: "bus/pci: support MMIO in PCI ioport accessors On 10/22/20 5:51 PM, 谢华伟(此时此刻) wrote: From: "huawei.xhw" If IO BAR, we get PIO address. If MMIO BAR, we get mapped virtual address. We distinguish PIO and MMIO by their

[dpdk-dev] [PATCH v11 4/4] examples/ifpga: add example for opae ifpga API

2021-01-20 Thread Wei Huang
An example application shows how to use opae ifpga APIs. You can test each API by running corresponding command. A guide is also added to show how to run the example. Signed-off-by: Wei Huang Acked-by: Tianfei Zhang Acked-by: Rosen Xu --- v2: fix coding style issue in commands.c --- v3: add gui

[dpdk-dev] [PATCH v11 3/4] raw/ifpga: add OPAE API for OpenStack Cyborg

2021-01-20 Thread Wei Huang
Cyborg is an OpenStack project that aims to provide a general purpose management framework for acceleration resources (i.e. various types of accelerators such as GPU, FPGA, NP, ODP, DPDK/SPDK and so on). It needs some OPAE type APIs to manage PACs (Programmable Acceleration Card) with Intel FPGA. B

[dpdk-dev] [PATCH v11 2/4] raw/ifpga: add fpga property get function

2021-01-20 Thread Wei Huang
There are three types of property can be got from FPGA, they are implemented in below functions: 1. ifpga_rawdev_get_fme_property() get property of FME (FPGA Management Engine). 2. ifpga_rawdev_get_port_property() get property of FPGA port. 3. ifpga_rawdev_get_bmc_property() get property of BMC

[dpdk-dev] [PATCH v11 1/4] raw/ifpga: add fpga rsu function

2021-01-20 Thread Wei Huang
RSU (Remote System Update) depends on secure manager which may be different on various implementations, so a new secure manager device is implemented for adapting such difference. There are three major functions added: 1. ifpga_rawdev_update_flash() updates flash with specific image file. 2. ifpga_

[dpdk-dev] [PATCH v11 0/4] raw/ifpga: add extra OPAE APIs

2021-01-20 Thread Wei Huang
Cyborg is part of OpenStack, it needs some OPAE APIs to manage devices with Intel FPGA. The first three patches implement extra APIs to meet Cyborg requirement. The last patch add an example to show how to use these APIs. Main changes from v10: - remove call of rte_eal_init() and rte_eal_cleanup()

Re: [dpdk-dev] [PATCH 1/1] doc: simplify OS support in features matrix

2021-01-20 Thread Ajit Khaparde
On Wed, Jan 20, 2021 at 3:04 PM Thomas Monjalon wrote: > > The networking drivers features matrix had rows to show > OS and kernel modules support: > - BSD nic_uio > - Linux UIO > - Linux VFIO > - Other kdrv > - Windows > > The kernel modules details are rem

Re: [dpdk-dev] [PATCH v3 0/3] AVX512 vPMD on i40e

2021-01-20 Thread Kadam, Pallavi
On 1/20/2021 11:21 PM, Ferruh Yigit wrote: On 1/20/2021 10:05 AM, Ali Alnubani wrote: For info, I don't reproduce the compilation issue on my machine. My build system has been upgraded from fc31 to fc32 so I guess this has something to do with it. I can reproduce with (Fedora MinGW 9.2.1-

Re: [dpdk-dev] [PATCH v5 0/3] support both PIO and MMIO BAR for virtio PMD

2021-01-20 Thread 谢华伟(此时此刻)
On 2021/1/13 1:37, Maxime Coquelin wrote: On 10/22/20 5:51 PM, 谢华伟(此时此刻) 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 B

Re: [dpdk-dev] [PATCH 0/4] ice base code update batch 3

2021-01-20 Thread Zhang, Qi Z
> -Original Message- > From: Yang, Qiming > Sent: Thursday, January 21, 2021 11:04 AM > To: Zhang, Qi Z > Cc: dev@dpdk.org; yigit.fer...@intel.com > Subject: RE: [PATCH 0/4] ice base code update batch 3 > > Acked-by: Qiming Yang > > > -Original Message- > > From: Zhang, Qi Z

Re: [dpdk-dev] [PATCH v5 0/9] ethdev: support SubFunction representor

2021-01-20 Thread Tu, Lijuan
> dedicated queues(txq, rxq). A SF netdev supports E-Switch representation > offload similar to existing PF and VF representors. A SF shares PCI level > resources with other SFs and/or with its parent PCI function. > > From SmartNIC perspective, when PCI device is shared for multi-host, > represen

Re: [dpdk-dev] [PATCH 0/4] ice base code update batch 3

2021-01-20 Thread Yang, Qiming
Acked-by: Qiming Yang > -Original Message- > From: Zhang, Qi Z > Sent: Thursday, January 21, 2021 09:44 > To: Yang, Qiming > Cc: dev@dpdk.org; yigit.fer...@intel.com; Zhang, Qi Z > Subject: [PATCH 0/4] ice base code update batch 3 > > Qi Zhang (4): > net/ice/base: fix wrong macro va

[dpdk-dev] [PATCH 4/4] net/ice: add new supported device IDs

2021-01-20 Thread Qi Zhang
Add device ID support for family E823C, also update the base code BSD version. Signed-off-by: Qi Zhang --- drivers/net/ice/base/README | 2 +- drivers/net/ice/base/ice_devids.h | 10 ++ drivers/net/ice/ice_ethdev.c | 5 + 3 files changed, 16 insertions(+), 1 deletion(-)

[dpdk-dev] [PATCH 3/4] net/ice/base: add support for configuring the device in Double VLAN Mode

2021-01-20 Thread Qi Zhang
In order to support configuring the device in Double VLAN Mode (DVM), the DDP and FW have to support DVM. If both support DVM, the PF that downloads the package needs to update the default recipes and set the VLAN mode. This is done in ice_set_dvm(). In order to support updating the default recipe

[dpdk-dev] [PATCH 2/4] net/ice/base: add VLAN TPID for VLAN filters

2021-01-20 Thread Qi Zhang
Currently VLAN filters via RID4 are only based on VLAN ID. However, with incoming support for Double VLAN Mode (DVM), the driver needs to be able to support filtering on VLAN ID + VLAN TPID (i.e. 0x8100, 0x88a8, etc.). Add support for this by adding two fields to the ice_fltr_info structure. First,

[dpdk-dev] [PATCH 1/4] net/ice/base: fix wrong macro value

2021-01-20 Thread Qi Zhang
Fix the wrong value of ICE_AQ_VSI_OUTER_VLAN_PORT_BASED_ACCEPT_HOST Fixes: 9ea028123a0b ("net/ice/base: align add VSI and update VSI AQ command buffer") Signed-off-by: Qi Zhang --- drivers/net/ice/base/ice_adminq_cmd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers

[dpdk-dev] [PATCH 0/4] ice base code update batch 3

2021-01-20 Thread Qi Zhang
Qi Zhang (4): net/ice/base: fix wrong macro value net/ice/base: add VLAN TPID for VLAN filters net/ice/base: add support for configuring the device in Double VLAN Mode net/ice: add new supported device IDs drivers/net/ice/base/README | 2 +- drivers/net/ice/base/ice_adminq

[dpdk-dev] [PATCH 4/4] net/ice: add new supported device IDs

2021-01-20 Thread Qi Zhang
Add device ID support for family E823C, also update the base code BSD version. Signed-off-by: Qi Zhang --- drivers/net/ice/base/README | 2 +- drivers/net/ice/base/ice_devids.h | 10 ++ drivers/net/ice/ice_ethdev.c | 5 + 3 files changed, 16 insertions(+), 1 deletion(-)

[dpdk-dev] [PATCH 3/4] net/ice/base: add support for configuring the device in Double VLAN Mode

2021-01-20 Thread Qi Zhang
In order to support configuring the device in Double VLAN Mode (DVM), the DDP and FW have to support DVM. If both support DVM, the PF that downloads the package needs to update the default recipes and set the VLAN mode. This is done in ice_set_dvm(). In order to support updating the default recipe

[dpdk-dev] [PATCH 2/4] net/ice/base: add VLAN TPID for VLAN filters

2021-01-20 Thread Qi Zhang
Currently VLAN filters via RID4 are only based on VLAN ID. However, with incoming support for Double VLAN Mode (DVM), the driver needs to be able to support filtering on VLAN ID + VLAN TPID (i.e. 0x8100, 0x88a8, etc.). Add support for this by adding two fields to the ice_fltr_info structure. First,

[dpdk-dev] [PATCH 1/4] net/ice/base: fix wrong macro value

2021-01-20 Thread Qi Zhang
Fix the wrong value of ICE_AQ_VSI_OUTER_VLAN_PORT_BASED_ACCEPT_HOST Fixes: 9ea028123a0b ("net/ice/base: align add VSI and update VSI AQ command buffer") Signed-off-by: Qi Zhang --- drivers/net/ice/base/ice_adminq_cmd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers

[dpdk-dev] [PATCH 0/4] ice base code update batch 3

2021-01-20 Thread Qi Zhang
Qi Zhang (4): net/ice/base: fix wrong macro value net/ice/base: add VLAN TPID for VLAN filters net/ice/base: add support for configuring the device in Double VLAN Mode net/ice: add new supported device IDs drivers/net/ice/base/README | 2 +- drivers/net/ice/base/ice_adminq

Re: [dpdk-dev] [PATCH v1] net/e1000: fix the invalid flow control mode setting

2021-01-20 Thread Zhang, Qi Z
> -Original Message- > From: dev On Behalf Of Guo, Jia > Sent: Wednesday, January 20, 2021 3:19 PM > To: Wu, Wenjun1 ; dev@dpdk.org > Cc: sta...@dpdk.org > Subject: Re: [dpdk-dev] [PATCH v1] net/e1000: fix the invalid flow control > mode > setting > > Acked-by: Jeff Guo > > > -O

[dpdk-dev] [PATCH 1/1] doc: simplify OS support in features matrix

2021-01-20 Thread Thomas Monjalon
The networking drivers features matrix had rows to show OS and kernel modules support: - BSD nic_uio - Linux UIO - Linux VFIO - Other kdrv - Windows The kernel modules details are removed to keep only OS support: - FreeBSD - Linux - W

Re: [dpdk-dev] [PATCH] net/i40e: disable AVX512 for Windows

2021-01-20 Thread Dmitry Kozlyuk
On Wed, 20 Jan 2021 18:24:43 +, Ferruh Yigit wrote: > On 1/20/2021 6:21 PM, Dmitry Kozlyuk wrote: > > On Wed, 20 Jan 2021 17:40:16 +0100, David Marchand wrote: > >> There is probably better to do rather than disabling AVX512 globally for > >> Windows but since I saw no patch fixing this, here

[dpdk-dev] [PATCH 2/2] net/mlx5: fix DROP action in tunnel offload mode

2021-01-20 Thread Gregory Etelson
Tunnel offload mode allows application to restore partially offloaded tunneled packets to its original state. The mode was designed to optimize packet recovery. It must not block flow actions that are allowed by MLX5 PMD. The patch allows tunnel offload match rules to use drop flow action. Signed

[dpdk-dev] [PATCH 1/2] net/mlx5: fix MARK action in active tunnel offload

2021-01-20 Thread Gregory Etelson
Tunnel offload mode allows application to restore partially offloaded tunneled packets to its original state. MLX5 PMD stores internal data required to restore partially offloaded packet in packet mark section. Therefore MLX5 PMD will not allow applications to use mark action if tunnel offload mode

Re: [dpdk-dev] [PATCH] net/i40e: disable AVX512 for Windows

2021-01-20 Thread Ferruh Yigit
On 1/20/2021 6:21 PM, Dmitry Kozlyuk wrote: On Wed, 20 Jan 2021 17:40:16 +0100, David Marchand wrote: There is probably better to do rather than disabling AVX512 globally for Windows but since I saw no patch fixing this, here it is. --- drivers/net/i40e/meson.build | 2 +- 1 file changed, 1

Re: [dpdk-dev] [PATCH] net/i40e: disable AVX512 for Windows

2021-01-20 Thread Dmitry Kozlyuk
On Wed, 20 Jan 2021 17:40:16 +0100, David Marchand wrote: > There is probably better to do rather than disabling AVX512 globally for > Windows but since I saw no patch fixing this, here it is. > > --- > drivers/net/i40e/meson.build | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff

Re: [dpdk-dev] [PATCH v3 0/3] AVX512 vPMD on i40e

2021-01-20 Thread Ferruh Yigit
On 1/20/2021 5:51 PM, Ferruh Yigit wrote: On 1/20/2021 10:05 AM, Ali Alnubani wrote: For info, I don't reproduce the compilation issue on my machine. My build system has been upgraded from fc31 to fc32 so I guess this has something to do with it. I can reproduce with (Fedora MinGW 9.2.1-6.f

Re: [dpdk-dev] [PATCH v7] app/testpmd: fix testpmd packets dump overlapping

2021-01-20 Thread Ferruh Yigit
On 1/20/2021 6:50 AM, Jiawei Wang wrote: When testpmd enabled the verbosity for the received packets, if two packets were received at the same time, for example, sampling packet and normal packet, the dump output of these packets may be overlapping due to multiple core handling the multiple queue

Re: [dpdk-dev] [PATCH] net/i40e: disable AVX512 for Windows

2021-01-20 Thread Ferruh Yigit
On 1/20/2021 5:46 PM, David Marchand wrote: On Wed, Jan 20, 2021 at 5:40 PM David Marchand wrote: There is probably better to do rather than disabling AVX512 globally for Windows but since I saw no patch fixing this, here it is. Interesting... This patch does not work with UNH job. Seeing the

Re: [dpdk-dev] [PATCH v3 0/3] AVX512 vPMD on i40e

2021-01-20 Thread Ferruh Yigit
On 1/20/2021 10:05 AM, Ali Alnubani wrote: For info, I don't reproduce the compilation issue on my machine. My build system has been upgraded from fc31 to fc32 so I guess this has something to do with it. I can reproduce with (Fedora MinGW 9.2.1-6.fc32), but not with (Fedora MinGW 10.2.1-2.

Re: [dpdk-dev] [PATCH v2 02/44] bus/vdev: add driver IOVA VA mode requirement

2021-01-20 Thread Maxime Coquelin
On 1/20/21 4:32 PM, David Marchand wrote: > On Tue, Jan 19, 2021 at 10:25 PM Maxime Coquelin > wrote: >> >> This patch adds driver flag in vdev bus driver so that >> vdev drivers can require VA IOVA mode to be used, which >> for example the case of Virtio-user PMD. >> >> The patch implements th

Re: [dpdk-dev] [PATCH] net/i40e: disable AVX512 for Windows

2021-01-20 Thread David Marchand
On Wed, Jan 20, 2021 at 5:40 PM David Marchand wrote: > There is probably better to do rather than disabling AVX512 globally for > Windows but since I saw no patch fixing this, here it is. Interesting... This patch does not work with UNH job. Seeing the same error but now on a different file, I a

Re: [dpdk-dev] DPDK 18.11.11 (LTS) released

2021-01-20 Thread Luca Boccassi
On Wed, 2021-01-20 at 18:28 +0100, David Marchand wrote: > On Wed, Jan 20, 2021 at 6:12 PM Thomas Monjalon wrote: > > 20/01/2021 16:58, Kevin Traynor: > > > This is the last planned 18.11 LTS release. Thanks to the > > > authors who helped cleaning up the fixes that were hanging > > > around for a

[dpdk-dev] crypto/qat: fix digest in buffer

2021-01-20 Thread Fan Zhang
This patch fixes the missed digest in buffer support to QAT symmetric raw API. Originally digest in buffer is supported only for wireless algorithms Fixes: 728c76b0e50f ("crypto/qat: support raw datapath API") Cc: roy.fan.zh...@intel.com Cc: sta...@dpdk.org Signed-off-by: Fan Zhang --- drivers/

[dpdk-dev] [PATCH v3 4/4] maintainers: update crypto perf app maintainers

2021-01-20 Thread Ciara Power
This patch adds a maintainer for the crypto perf test application, to cover the new perf test graphing script. Signed-off-by: Ciara Power Acked-by: Declan Doherty Acked-by: Adam Dybkowski --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index aa973a

[dpdk-dev] [PATCH v3 3/4] test/cryptodev: add script to graph perf results

2021-01-20 Thread Ciara Power
The python script introduced in this patch runs the crypto performance test application for various test cases, and graphs the results. Test cases are defined in config JSON files, this is where parameters are specified for each test. Currently there are various test cases for devices crypto_qat,

[dpdk-dev] [PATCH v3 2/4] test/cryptodev: fix csv output format

2021-01-20 Thread Ciara Power
The csv output for each ptest type used ";" instead of ",". This has now been fixed to use the comma format that is used in the csv headers. Fixes: f6cefe253cc8 ("app/crypto-perf: add range/list of sizes") Fixes: 96dfeb609be1 ("app/crypto-perf: add new PMD benchmarking mode") Fixes: da40ebd6d383 (

[dpdk-dev] [PATCH v3 0/4] add crypto perf test graphing script

2021-01-20 Thread Ciara Power
This patchset introduces a python script to run various crypto performance test cases, and graph the results in a consumable manner. The test suites are configured via JSON file. Some config files are provided, or the user may create one. Currently throughput and latency ptests for devices crypto_q

[dpdk-dev] [PATCH v3 1/4] test/cryptodev: fix latency test csv output

2021-01-20 Thread Ciara Power
The csv output for the latency performance test had an extra header, "Packet Size", which is a duplicate of "Buffer Size", and had no corresponding value in the output. This is now removed. Fixes: f6cefe253cc8 ("app/crypto-perf: add range/list of sizes") Cc: pablo.de.lara.gua...@intel.com Cc: sta.

Re: [dpdk-dev] DPDK 18.11.11 (LTS) released

2021-01-20 Thread David Marchand
On Wed, Jan 20, 2021 at 6:12 PM Thomas Monjalon wrote: > > 20/01/2021 16:58, Kevin Traynor: > > This is the last planned 18.11 LTS release. Thanks to the > > authors who helped cleaning up the fixes that were hanging > > around for a while and needed some attention. > > > > From this point onwards

[dpdk-dev] [Bug 574] get_num_hugepages_on_node() doesn't mention which node doesn't have free hugepages

2021-01-20 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=574 Thomas Monjalon (tho...@monjalon.net) changed: What|Removed |Added Status|IN_PROGRESS |RESOLVED Resolutio

Re: [dpdk-dev] DPDK 18.11.11 (LTS) released

2021-01-20 Thread Thomas Monjalon
20/01/2021 16:58, Kevin Traynor: > This is the last planned 18.11 LTS release. Thanks to the > authors who helped cleaning up the fixes that were hanging > around for a while and needed some attention. > > From this point onwards the 18.11 LTS branch is no longer > maintained. > > I want to ackn

[dpdk-dev] [PATCH] net/i40e: disable AVX512 for Windows

2021-01-20 Thread David Marchand
AVX512 does not seem supported with FC32 and Windows mingw: FAILED: drivers/net/i40e/libi40e_avx512_lib.a.p/i40e_rxtx_vec_avx512.c.obj x86_64-w64-mingw32-gcc -Idrivers/net/i40e/libi40e_avx512_lib.a.p -Idrivers/net/i40e -I../../dpdk/drivers/net/i40e -Idrivers/net/i40e/base -I../../dpdk/drivers/net/

[dpdk-dev] [dpdk-announce] DPDK 18.11.11 (LTS) released

2021-01-20 Thread Kevin Traynor
Hi all, Here is a new LTS release: https://fast.dpdk.org/rel/dpdk-18.11.11.tar.xz The git tree is at: https://dpdk.org/browse/dpdk-stable/?h=18.11 This is the last planned 18.11 LTS release. Thanks to the authors who helped cleaning up the fixes that were hanging around for a whi

Re: [dpdk-dev] [PATCH v2] net/mlx5: enlarge maximal flow priority value

2021-01-20 Thread Raslan Darawsheh
Hi, > -Original Message- > From: Dong Zhou > Sent: Tuesday, January 12, 2021 8:40 AM > To: Matan Azrad ; Slava Ovsiienko > ; Ori Kam > Cc: dev@dpdk.org; Raslan Darawsheh > Subject: [PATCH v2] net/mlx5: enlarge maximal flow priority value > > Currently, the maximal flow priority in non-

Re: [dpdk-dev] [PATCH v15 11/12] build: add Arm SoC meson option

2021-01-20 Thread Thomas Monjalon
20/01/2021 09:41, Juraj Linkeš: > From: Honnappa Nagarahalli > > > 20/01/2021 02:04, Honnappa Nagarahalli: > > > > > On Tue, Jan 19, 2021 at 04:52:19PM +0100, Thomas Monjalon wrote: > > > > > > 19/01/2021 15:56, Juraj Linkeš: > > > > > > > From: Thomas Monjalon > > > > > > > > 15/01/2021 14:26, J

Re: [dpdk-dev] [PATCH v3 5/6] power: add new header file to export list

2021-01-20 Thread Burakov, Anatoly
On 20-Jan-21 3:29 PM, David Hunt wrote: On 20/1/2021 3:18 PM, Burakov, Anatoly wrote: On 20-Jan-21 3:08 PM, Bruce Richardson wrote: On Wed, Jan 20, 2021 at 02:28:59PM +, Burakov, Anatoly wrote: On 20-Jan-21 1:55 PM, David Hunt wrote: From: Bruce Richardson Adjust meson.build so that 'n

[dpdk-dev] [Bug 621] [aarch64] build failure in vhost/virtio

2021-01-20 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=621 Bug ID: 621 Summary: [aarch64] build failure in vhost/virtio Product: DPDK Version: unspecified Hardware: All OS: All Status: UNCONFIRMED Severity: normal

Re: [dpdk-dev] [PATCH v1] devtools: update abi ignore for cryptodev

2021-01-20 Thread Thomas Monjalon
Question to an expert, Dodji, We have this structure: struct rte_cryptodev { lot of fields... uint8_t attached : 1; } __rte_cache_aligned; Because of the cache alignment, there is enough padding in the struct (no matter the size of the cache line) for adding two more pointers: s

Re: [dpdk-dev] [PATCH v2 02/44] bus/vdev: add driver IOVA VA mode requirement

2021-01-20 Thread David Marchand
On Tue, Jan 19, 2021 at 10:25 PM Maxime Coquelin wrote: > > This patch adds driver flag in vdev bus driver so that > vdev drivers can require VA IOVA mode to be used, which > for example the case of Virtio-user PMD. > > The patch implements the .get_iommu_class() callback, that > is called before

Re: [dpdk-dev] [PATCH v3 5/6] power: add new header file to export list

2021-01-20 Thread David Hunt
On 20/1/2021 3:18 PM, Burakov, Anatoly wrote: On 20-Jan-21 3:08 PM, Bruce Richardson wrote: On Wed, Jan 20, 2021 at 02:28:59PM +, Burakov, Anatoly wrote: On 20-Jan-21 1:55 PM, David Hunt wrote: From: Bruce Richardson Adjust meson.build so that 'ninja install' copies the new header file

Re: [dpdk-dev] [PATCH v3 2/6] power: make channel msg functions public

2021-01-20 Thread Burakov, Anatoly
On 20-Jan-21 3:08 PM, David Hunt wrote: On 20/1/2021 2:26 PM, Burakov, Anatoly wrote: On 20-Jan-21 1:55 PM, David Hunt wrote: From: Bruce Richardson Move the 2 public functions into rte_power_guest_channel.h Fixes: 210c383e247b ("power: packet format for vm power management") Fixes: cd0d554

Re: [dpdk-dev] [PATCH v3 5/6] power: add new header file to export list

2021-01-20 Thread Burakov, Anatoly
On 20-Jan-21 3:08 PM, Bruce Richardson wrote: On Wed, Jan 20, 2021 at 02:28:59PM +, Burakov, Anatoly wrote: On 20-Jan-21 1:55 PM, David Hunt wrote: From: Bruce Richardson Adjust meson.build so that 'ninja install' copies the new header file into the installation directory. Fixes: 210c383

Re: [dpdk-dev] [PATCH v3 5/6] power: add new header file to export list

2021-01-20 Thread Burakov, Anatoly
On 20-Jan-21 3:01 PM, David Hunt wrote: On 20/1/2021 2:28 PM, Burakov, Anatoly wrote: On 20-Jan-21 1:55 PM, David Hunt wrote: From: Bruce Richardson Adjust meson.build so that 'ninja install' copies the new header file into the installation directory. Fixes: 210c383e247b ("power: packet for

Re: [dpdk-dev] [PATCH v3 1/6] power: create guest channel public header file

2021-01-20 Thread David Hunt
On 20/1/2021 3:09 PM, Burakov, Anatoly wrote: On 20-Jan-21 1:55 PM, David Hunt wrote: From: Bruce Richardson In preparation for making the header file public, we first rename channel_commands.h as rte_power_guest_channel.h. Fixes: 210c383e247b ("power: packet format for vm power management"

Re: [dpdk-dev] [PATCH v3 1/6] power: create guest channel public header file

2021-01-20 Thread Burakov, Anatoly
On 20-Jan-21 1:55 PM, David Hunt wrote: From: Bruce Richardson In preparation for making the header file public, we first rename channel_commands.h as rte_power_guest_channel.h. Fixes: 210c383e247b ("power: packet format for vm power management") Fixes: cd0d5547e873 ("power: vm communication c

Re: [dpdk-dev] [PATCH v3 2/6] power: make channel msg functions public

2021-01-20 Thread David Hunt
On 20/1/2021 2:26 PM, Burakov, Anatoly wrote: On 20-Jan-21 1:55 PM, David Hunt wrote: From: Bruce Richardson Move the 2 public functions into rte_power_guest_channel.h Fixes: 210c383e247b ("power: packet format for vm power management") Fixes: cd0d5547e873 ("power: vm communication channels

Re: [dpdk-dev] [PATCH v3 5/6] power: add new header file to export list

2021-01-20 Thread Bruce Richardson
On Wed, Jan 20, 2021 at 02:28:59PM +, Burakov, Anatoly wrote: > On 20-Jan-21 1:55 PM, David Hunt wrote: > > From: Bruce Richardson > > > > Adjust meson.build so that 'ninja install' copies the new header > > file into the installation directory. > > > > Fixes: 210c383e247b ("power: packet fo

Re: [dpdk-dev] [PATCH v2 16/19] app/chkincs: add chkincs app to verify headers

2021-01-20 Thread David Marchand
On Wed, Jan 20, 2021 at 3:34 PM Bruce Richardson wrote: > On Fri, Jan 15, 2021 at 02:59:08PM +, Bruce Richardson wrote: > > On Fri, Jan 15, 2021 at 02:55:41PM +, Bruce Richardson wrote: > > > On Fri, Jan 15, 2021 at 03:09:25PM +0100, Thomas Monjalon wrote: > > > I'm honestly fine either wa

Re: [dpdk-dev] [PATCH v2 0/5] Add the E-Switch mirroring and jump supports

2021-01-20 Thread Raslan Darawsheh
Hi, > -Original Message- > From: Jiawei Wang > Sent: Tuesday, January 12, 2021 12:29 PM > To: Slava Ovsiienko ; Matan Azrad > ; Ori Kam > Cc: dev@dpdk.org; Raslan Darawsheh > Subject: [PATCH v2 0/5] Add the E-Switch mirroring and jump supports > > MLX5 E-Switch mirroring is implemented

Re: [dpdk-dev] [PATCH v3 3/6] power: rename public structs

2021-01-20 Thread David Hunt
On 20/1/2021 2:27 PM, Burakov, Anatoly wrote: On 20-Jan-21 1:55 PM, David Hunt wrote: From: Bruce Richardson rename the public structs to have an rte_power_ prefix. Fixes: 210c383e247b ("power: packet format for vm power management") Fixes: cd0d5547e873 ("power: vm communication channels in

Re: [dpdk-dev] [PATCH v3 5/6] power: add new header file to export list

2021-01-20 Thread David Hunt
On 20/1/2021 2:28 PM, Burakov, Anatoly wrote: On 20-Jan-21 1:55 PM, David Hunt wrote: From: Bruce Richardson Adjust meson.build so that 'ninja install' copies the new header file into the installation directory. Fixes: 210c383e247b ("power: packet format for vm power management") Fixes: cd0

Re: [dpdk-dev] [PATCH v5 3/3] PCI: don't use vfio ioctl call to access PIO resource

2021-01-20 Thread 谢华伟(此时此刻)
On 2021/1/13 0:58, Maxime Coquelin wrote: On 1/12/21 10:37 AM, Maxime Coquelin wrote: bus/pci: ... On 10/22/20 5:51 PM, 谢华伟(此时此刻) wrote: From: "huawei.xhw" VFIO should use the same way to map/read/write PORT IO as UIO, for virtio PMD. Please provide more details in the commit message on

Re: [dpdk-dev] [PATCH 2/2] test/crypto: support SSL/TLS way of cipher-auth operations

2021-01-20 Thread Tejasree Kondoj
Hi Akhil and Fan, I'll send v2 moving SSL/TLS test cases to aes_chain_test_cases array. Thanks Tejasree > -Original Message- > From: Zhang, Roy Fan > Sent: Wednesday, January 20, 2021 8:04 PM > To: Akhil Goyal ; Tejasree Kondoj > ; Nicolau, Radu ; Trahe, > Fiona > Cc: Anoob Joseph ; An

[dpdk-dev] [PATCH 0/7] NXP DPAAx ethernet PMD changes

2021-01-20 Thread Hemant Agrawal
This patch series adds changes to dpaaX ethernet pmd 1. Basic Traffic Management support for shaper and scheduler 2. Support external buffer in Transmit side. 3. Optimize the SG packet handling 4. Add support APIs in DPDMUX (SRIOV equivalent for DPAA2) 5. Fix isssues Gagandeep Singh (1): net/dp

[dpdk-dev] [PATCH 6/7] net/dpaa2: add traffic management driver

2021-01-20 Thread Hemant Agrawal
From: Gagandeep Singh Add basic support for scheduling and shaping on dpaa2 platform. HW supports 2 level of scheduling and shaping. However the current patch only support single level. Signed-off-by: Gagandeep Singh Acked-by: Hemant Agrawal --- drivers/net/dpaa2/dpaa2_ethdev.c| 14 +-

[dpdk-dev] [PATCH 7/7] net/dpaa2: add support to configure dpdmux max Rx frame len

2021-01-20 Thread Hemant Agrawal
This patch introduce a new pmd api, which can help the applications to configure the max framelen for a given dpdmux interface Signed-off-by: Hemant Agrawal --- drivers/net/dpaa2/dpaa2_mux.c | 28 +++- drivers/net/dpaa2/rte_pmd_dpaa2.h | 18 +- drivers

[dpdk-dev] [PATCH 5/7] net/dpaa: support external buffers in Tx

2021-01-20 Thread Hemant Agrawal
This patch support tx of external buffers Signed-off-by: Hemant Agrawal --- drivers/net/dpaa/dpaa_rxtx.c | 29 ++--- drivers/net/dpaa/dpaa_rxtx.h | 8 +--- 2 files changed, 23 insertions(+), 14 deletions(-) diff --git a/drivers/net/dpaa/dpaa_rxtx.c b/drivers/net/dpa

[dpdk-dev] [PATCH 4/7] net/dpaa2: support external buffers in Tx

2021-01-20 Thread Hemant Agrawal
From: Nipun Gupta This patch support tx of external allocated buffers. Signed-off-by: Nipun Gupta Acked-by: Hemant Agrawal --- drivers/net/dpaa2/dpaa2_rxtx.c | 38 ++ 1 file changed, 38 insertions(+) diff --git a/drivers/net/dpaa2/dpaa2_rxtx.c b/drivers/net/dp

[dpdk-dev] [PATCH 3/7] net/dpaa2: allocate SGT table from first segment

2021-01-20 Thread Hemant Agrawal
This patch enables support to use the first segment headroom to build the HW requied Scatter Gather Table. (if space is available). This will avoid 1 less buffer for SG buffer creation. Signed-off-by: Sachin Saxena Signed-off-by: Hemant Agrawal --- drivers/bus/fslmc/portal/dpaa2_hw_pvt.h | 5 +

[dpdk-dev] [PATCH 1/7] bus/fslmc: fix to use ci value for qbman 5.0

2021-01-20 Thread Hemant Agrawal
From: Youri Querry since for qbman 5.0 generally, pi == ci, no need for extra checks. They are causing issue. This fixes few random packet hang issues in event mode. Fixes: 1b49352f41be ("bus/fslmc: rename portal pi index to consumer index") Cc: sta...@dpdk.org Signed-off-by: Youri Querry Acke

[dpdk-dev] [PATCH 2/7] net/dpaa2: fix link get API implementation

2021-01-20 Thread Hemant Agrawal
From: Rohit Raj According to DPDK Documentation, rte_eth_link_get API can wait upto 9 seconds for auto-negotiation to finish and then returns link status. In current implementation of rte_eth_link_get API in DPAA2 drivers, it wasn't waiting for auto negotiation to finish and was returning link s

[dpdk-dev] [PATCH 0/7] NXP DPAAx ethernet PMD changes

2021-01-20 Thread Hemant Agrawal
This patch series adds changes to dpaaX ethernet pmd 1. Basic Traffic Management support for shaper and scheduler 2. Support external buffer in Transmit side. 3. Optimize the SG packet handling 4. Add support APIs in DPDMUX (SRIOV equivalent for DPAA2) 5. Fix isssues Gagandeep Singh (1): net/dp

Re: [dpdk-dev] [PATCH v2 16/19] app/chkincs: add chkincs app to verify headers

2021-01-20 Thread Bruce Richardson
On Fri, Jan 15, 2021 at 02:59:08PM +, Bruce Richardson wrote: > On Fri, Jan 15, 2021 at 02:55:41PM +, Bruce Richardson wrote: > > On Fri, Jan 15, 2021 at 03:09:25PM +0100, Thomas Monjalon wrote: > > > 15/01/2021 12:59, Bruce Richardson: > > > > On Fri, Jan 15, 2021 at 11:51:49AM +, Ferr

Re: [dpdk-dev] [PATCH 2/2] test/crypto: support SSL/TLS way of cipher-auth operations

2021-01-20 Thread Zhang, Roy Fan
Hi Akhil, I just did the check. QAT Raw API test did failed on newly added cases. The patch needs to be updated - as all newly added tests are in aes_cipheronly_test_cases array, where clearly they are chained algorithm tests. But the problem is not the only reason that causes the test fail - I

Re: [dpdk-dev] [PATCH v3 5/6] power: add new header file to export list

2021-01-20 Thread Burakov, Anatoly
On 20-Jan-21 1:55 PM, David Hunt wrote: From: Bruce Richardson Adjust meson.build so that 'ninja install' copies the new header file into the installation directory. Fixes: 210c383e247b ("power: packet format for vm power management") Fixes: cd0d5547e873 ("power: vm communication channels in g

Re: [dpdk-dev] [PATCH v3 3/6] power: rename public structs

2021-01-20 Thread Burakov, Anatoly
On 20-Jan-21 1:55 PM, David Hunt wrote: From: Bruce Richardson rename the public structs to have an rte_power_ prefix. Fixes: 210c383e247b ("power: packet format for vm power management") Fixes: cd0d5547e873 ("power: vm communication channels in guest") Cc: sta...@dpdk.org Signed-off-by: Bruc

[dpdk-dev] [PATCH v1] devtools: update abi ignore for cryptodev

2021-01-20 Thread Ray Kinsella
Update the ignore entry for crytodev to use named fields instead of bit positions. Fixes: 1c3ffb9559 Signed-off-by: Ray Kinsella --- devtools/libabigail.abignore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devtools/libabigail.abignore b/devtools/libabigail.abignore index

Re: [dpdk-dev] [PATCH v3 2/6] power: make channel msg functions public

2021-01-20 Thread Burakov, Anatoly
On 20-Jan-21 1:55 PM, David Hunt wrote: From: Bruce Richardson Move the 2 public functions into rte_power_guest_channel.h Fixes: 210c383e247b ("power: packet format for vm power management") Fixes: cd0d5547e873 ("power: vm communication channels in guest") Cc: sta...@dpdk.org Signed-off-by: B

[dpdk-dev] [RFC V2] app/testpmd: support multi-process

2021-01-20 Thread Lijun Ou
This patch adds multi-process support for testpmd. The test cmd example as follows: the primary cmd: ./testpmd -w xxx --file-prefix=xx -l 0-1 -n 2 -- -i\ --rxq=16 --txq=16 --num-procs=2 --proc-id=0 the secondary cmd: ./testpmd -w xxx --file-prefix=xx -l 2-3 -n 2 -- -i\ --rxq=16 --txq=16 --num-procs

[dpdk-dev] [PATCH v3 6/6] power: clean up includes

2021-01-20 Thread David Hunt
From: Bruce Richardson re-organise the including of the new public header file and remove un-needed includes Fixes: 210c383e247b ("power: packet format for vm power management") Fixes: cd0d5547e873 ("power: vm communication channels in guest") Cc: sta...@dpdk.org Signed-off-by: Bruce Richardson

[dpdk-dev] [PATCH v3 5/6] power: add new header file to export list

2021-01-20 Thread David Hunt
From: Bruce Richardson Adjust meson.build so that 'ninja install' copies the new header file into the installation directory. Fixes: 210c383e247b ("power: packet format for vm power management") Fixes: cd0d5547e873 ("power: vm communication channels in guest") Cc: sta...@dpdk.org Signed-off-by:

[dpdk-dev] [PATCH v3 4/6] power: rename defines

2021-01-20 Thread David Hunt
From: Bruce Richardson Rename the #defines to have an RTE_POWER_ prefix Fixes: 210c383e247b ("power: packet format for vm power management") Fixes: cd0d5547e873 ("power: vm communication channels in guest") Cc: sta...@dpdk.org Signed-off-by: Bruce Richardson Signed-off-by: David Hunt --- exa

[dpdk-dev] [PATCH v3 3/6] power: rename public structs

2021-01-20 Thread David Hunt
From: Bruce Richardson rename the public structs to have an rte_power_ prefix. Fixes: 210c383e247b ("power: packet format for vm power management") Fixes: cd0d5547e873 ("power: vm communication channels in guest") Cc: sta...@dpdk.org Signed-off-by: Bruce Richardson Signed-off-by: David Hunt -

[dpdk-dev] [PATCH v3 2/6] power: make channel msg functions public

2021-01-20 Thread David Hunt
From: Bruce Richardson Move the 2 public functions into rte_power_guest_channel.h Fixes: 210c383e247b ("power: packet format for vm power management") Fixes: cd0d5547e873 ("power: vm communication channels in guest") Cc: sta...@dpdk.org Signed-off-by: Bruce Richardson Signed-off-by: David Hunt

[dpdk-dev] [PATCH v3 1/6] power: create guest channel public header file

2021-01-20 Thread David Hunt
From: Bruce Richardson In preparation for making the header file public, we first rename channel_commands.h as rte_power_guest_channel.h. Fixes: 210c383e247b ("power: packet format for vm power management") Fixes: cd0d5547e873 ("power: vm communication channels in guest") Cc: sta...@dpdk.org Si

[dpdk-dev] [PATCH v3 0/6] power: fix make build for power apps

2021-01-20 Thread David Hunt
The guest channel message definitions and functions in guest_channel.h are needed by applications and need to be made public. This worked pre-20.11, but now with all the meson/ninja changes, making these apps externally no longer works. To fix, we need to move the header file with the API definiti

Re: [dpdk-dev] [PATCH v2] metrics/windows: build rte_metrics library

2021-01-20 Thread Bruce Richardson
On Wed, Jan 20, 2021 at 01:13:46PM +0100, Thomas Monjalon wrote: > 20/01/2021 12:54, Bruce Richardson: > > On Wed, Jan 20, 2021 at 12:09:19PM +0100, Thomas Monjalon wrote: > > > 20/01/2021 11:37, Bruce Richardson: > > > > On Tue, Jan 19, 2021 at 10:52:03PM +0100, Thomas Monjalon wrote: > > > > > 19

[dpdk-dev] [PATCH 2/3] doc: update release notes for hns3

2021-01-20 Thread Lijun Ou
Add TM(Traffic Management) feature with hns3 in release notes. Signed-off-by: Lijun Ou --- doc/guides/rel_notes/release_21_02.rst | 4 1 file changed, 4 insertions(+) diff --git a/doc/guides/rel_notes/release_21_02.rst b/doc/guides/rel_notes/release_21_02.rst index ae36b6a..e51277d 100644

  1   2   >