[dpdk-dev] [RFC PATCH] config: remap flags used for Arm platforms

2020-08-13 Thread Ruifeng Wang
Flags are used to distinguish different platform architectures. These flags can be used to pick different code paths for different architectures at compile time. For Arm platforms, there are 3 flags in use: RTE_ARCH_ARM, RTE_ARCH_ARMv7 and RTE_ARCH_ARM64. RTE_ARCH_ARM64 is used to flag 64-bit aarch

Re: [dpdk-dev] [EXT] Re: [PATCH v2 1/2] ethdev: add level support for RSS offload types

2020-08-13 Thread Kiran Kumar Kokkilagadda
From: Ajit Khaparde Sent: Saturday, August 8, 2020 8:10 PM To: Kiran Kumar Kokkilagadda Cc: Andrew Rybchenko ; Ferruh Yigit ; Thomas Monjalon ; beilei.x...@intel.com; ch...@att.com; cloud.wangxiao...@huawei.com; cristian.dumitre...@intel.com; dev@dpdk.org; gr...@u256.net; hemant.agra...@nxp

Re: [dpdk-dev] [PATCH v3 2/7] app/proc-info: eliminate useless borders

2020-08-13 Thread Stephen Hemminger
On Fri, 14 Aug 2020 01:14:40 + "Varghese, Vipin" wrote: > snipped > > > > snipped > > > > > > > > snipped > > > > > > > > > > 15/07/2020 23:22, Stephen Hemminger: > > > > > > Printing extra borders does not improve readability, and is just > > > > > > unnecessary. Putting TSC hz in hea

Re: [dpdk-dev] [dpdk-dev, 1/3] rte_interrupts: add rte_eal_intr_exit to shut down IRQ thread

2020-08-13 Thread Bly, Mike
Has anyone created a dev-ticket to run this discussion to ground? I see below thread went stale in 2016... Is there a "better approach" to integrating rte_eal_intr_exit() support/concepts into our applications? -Mike From: "Liang, Cunming" To: Thomas Monjalon Cc: Matthew Hall , "dev@

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

2020-08-13 Thread Ruifeng Wang
> -Original Message- > From: dev On Behalf Of Juraj Linke? > Sent: Thursday, August 13, 2020 5:21 PM > To: bruce.richard...@intel.com; acon...@redhat.com; > maicolgabr...@hotmail.com > Cc: juraj.lin...@pantheon.tech; dev@dpdk.org > Subject: [dpdk-dev] [PATCH v6 4/5] ci: add aarch64 -> aar

Re: [dpdk-dev] [PATCH v3] net/virtio: fix wrong variable assignment in helper macro

2020-08-13 Thread Xia, Chenbo
> -Original Message- > From: Vipul Ashri > Sent: Friday, August 14, 2020 12:22 AM > To: dev@dpdk.org > Cc: Xia, Chenbo ; vipul.as...@oracle.com; > edwin.le...@oracle.com; sta...@dpdk.org; Wang, Zhihong > ; maxime.coque...@redhat.com > Subject: [PATCH v3] net/virtio: fix wrong variable ass

Re: [dpdk-dev] [PATCH v3 2/7] app/proc-info: eliminate useless borders

2020-08-13 Thread Varghese, Vipin
snipped > > snipped > > > > > > snipped > > > > > > > > 15/07/2020 23:22, Stephen Hemminger: > > > > > Printing extra borders does not improve readability, and is just > > > > > unnecessary. Putting TSC hz in header also makes no sense here. > > > > > > > > The CPU frequency on headers! > > > > OK

Re: [dpdk-dev] [PATCH v3 2/7] app/proc-info: eliminate useless borders

2020-08-13 Thread Varghese, Vipin
snipped > > > > snipped > > > > > > 15/07/2020 23:22, Stephen Hemminger: > > > > Printing extra borders does not improve readability, and is just > > > > unnecessary. Putting TSC hz in header also makes no sense here. > > > > > > The CPU frequency on headers! > > > OK to remove :) > > > > > > > The

[dpdk-dev] [PATCH 21/22] doc: updating REAME for NetUIO driver

2020-08-13 Thread Narcisa Ana Maria Vasile
From: Harini Ramakrishnan Signed-off-by: Harini Ramakrishnan --- kernel/README_NetUIO.rst | 63 1 file changed, 63 insertions(+) create mode 100644 kernel/README_NetUIO.rst diff --git a/kernel/README_NetUIO.rst b/kernel/README_NetUIO.rst new file mode

[dpdk-dev] [PATCH 20/22] license: update headers with BSD 3-clause license:

2020-08-13 Thread Narcisa Ana Maria Vasile
From: Harini Ramakrishnan Signed-off-by: Harini Ramakrishnan --- kernel/windows/netuio/netuio.inf | 3 +- kernel/windows/netuio/netuio.rc | Bin 4772 -> 8098 bytes kernel/windows/netuio/netuio_dev.c | 32 +++-- kernel/windows/netuio/netuio_dev.h |

[dpdk-dev] [PATCH 22/22] Move all files under windows folder

2020-08-13 Thread Narcisa Ana Maria Vasile
From: Narcisa Vasile --- {kernel => windows/netuio/kernel}/README_NetUIO.rst | 0 .../netuio/kernel}/windows/netuio/netuio.inf| 0 .../netuio/kernel}/windows/netuio/netuio.rc | Bin .../netuio/kernel}/windows/netuio/netuio_dev.c | 0 .../netuio/kernel}/windows/netuio/n

[dpdk-dev] [PATCH 06/22] Windows DPDK libraries and applications have now been updated to the latest public release v18.08, of the main DPDK source.

2020-08-13 Thread Narcisa Ana Maria Vasile
From: Harini Ramakrishnan --- kernel/windows/netuio/netuio.inf | 118 + kernel/windows/netuio/netuio.rc | Bin 0 -> 4772 bytes kernel/windows/netuio/netuio_dev.c | 306 +++ kernel/windows/netuio/netuio_dev.h | 65 + kernel/windows/net

[dpdk-dev] [PATCH 17/22] uio: Use request handler that guarantees execution in correct context

2020-08-13 Thread Narcisa Ana Maria Vasile
From: Narcisa Vasile Use EvtIoInCallerContext to assure the requests are handled in the right user thread context. If the request does not need to be handled in a specific context, send it back to framework. Signed-off-by: Narcisa Vasile Reported-by: Dmitry Kozlyuk --- kernel/windows/netuio/n

[dpdk-dev] [PATCH 16/22] uio: Wrap call into try/except block

2020-08-13 Thread Narcisa Ana Maria Vasile
From: Narcisa Vasile MmMapLockedPagesSpecifyCache can raise an exception when it cannot map the specified pages. Signed-off-by: Narcisa Vasile Reported-by: Dmitry Kozlyuk --- kernel/windows/netuio/netuio_queue.c | 36 ++-- 1 file changed, 23 insertions(+), 13 deletions

[dpdk-dev] [PATCH 18/22] uio: Change the device setup class to a custom one

2020-08-13 Thread Narcisa Ana Maria Vasile
From: Narcisa Vasile The netuio driver doesn't meet the necessary criteria to be in the Net class. Update Class to a custom defined value. Signed-off-by: Narcisa Vasile Reported-by: Dmitry Kozlyuk --- kernel/windows/netuio/netuio.inf | 13 ++--- 1 file changed, 10 insertions(+), 3 del

[dpdk-dev] [PATCH 19/22] Enable DMA remapping through INF directive

2020-08-13 Thread Narcisa Ana Maria Vasile
From: Narcisa Vasile --- kernel/windows/netuio/netuio.inf | 4 1 file changed, 4 insertions(+) diff --git a/kernel/windows/netuio/netuio.inf b/kernel/windows/netuio/netuio.inf index 4f0dae114..419da53d3 100644 --- a/kernel/windows/netuio/netuio.inf +++ b/kernel/windows/netuio/netuio.inf @@

[dpdk-dev] [PATCH 07/22] doc: change the Windows UIO driver's default security descriptor to admin only

2020-08-13 Thread Narcisa Ana Maria Vasile
From: Harini Ramakrishnan --- kernel/windows/netuio/netuio_dev.c | 54 +- 1 file changed, 30 insertions(+), 24 deletions(-) diff --git a/kernel/windows/netuio/netuio_dev.c b/kernel/windows/netuio/netuio_dev.c index 10ff5f903..4d8b9430d 100644 --- a/kernel/windows/ne

[dpdk-dev] [PATCH 12/22] uio: Fix 64 bit BARs mapping

2020-08-13 Thread Narcisa Ana Maria Vasile
From: Harini Ramakrishnan --- kernel/windows/netuio/netuio.inf | 12 +- kernel/windows/netuio/netuio_dev.c | 181 +-- kernel/windows/netuio/netuio_dev.h | 15 +- kernel/windows/netuio/netuio_drv.c | 43 +++--- kernel/windows/netuio/netuio_drv.h

[dpdk-dev] [PATCH 15/22] uio: Remove co-installers section from inf

2020-08-13 Thread Narcisa Ana Maria Vasile
From: Narcisa Vasile Co-installers are no longer needed. Signed-off-by: Narcisa Vasile Reported-by: Dmitry Kozlyuk --- kernel/windows/netuio/netuio.inf | 16 1 file changed, 16 deletions(-) diff --git a/kernel/windows/netuio/netuio.inf b/kernel/windows/netuio/netuio.inf inde

[dpdk-dev] [PATCH 09/22] doc: remove embedded buffer from Windows UIO ioctl

2020-08-13 Thread Narcisa Ana Maria Vasile
From: Harini Ramakrishnan --- kernel/windows/netuio/netuio_interface.h | 9 - kernel/windows/netuio/netuio_queue.c | 43 ++-- 2 files changed, 40 insertions(+), 12 deletions(-) diff --git a/kernel/windows/netuio/netuio_interface.h b/kernel/windows/netuio/netuio_int

[dpdk-dev] [PATCH 14/22] uio: Use local time when verifying INF DriverVer

2020-08-13 Thread Narcisa Ana Maria Vasile
From: Narcisa Vasile Signed-off-by: Narcisa Vasile Reported-by: Dmitry Kozlyuk --- mk/exec-env/windows/netuio/netuio.vcxproj | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mk/exec-env/windows/netuio/netuio.vcxproj b/mk/exec-env/windows/netuio/netuio.vcxproj index b6b11e49a..60058fcd6 1

[dpdk-dev] [PATCH 13/22] Update .gitignore and create .gitattributes

2020-08-13 Thread Narcisa Ana Maria Vasile
From: Narcisa Vasile Add build folders and .vs/ to .gitignore. Create .gitattributes to handle line endings correctly. Signed-off-by: Narcisa Vasile Reported-by: Dmitry Kozlyuk --- .gitattributes | 4 .gitignore | 2 ++ 2 files changed, 6 insertions(+) create mode 100644 .gitattribu

[dpdk-dev] [PATCH 11/22] Updated Source and Project files to use Clang toolset

2020-08-13 Thread Narcisa Ana Maria Vasile
From: Anand Rawat Updated the code for using LLVM toolset. The code still uses msbuild and VS2017. Some header files and windows specific utility functions are removed due to conflicts with Clang intrinsic functions. Project files have been updated to use LLVM and additional project settings for

[dpdk-dev] [PATCH 10/22] uio: move SDDL string to INF on Windows

2020-08-13 Thread Narcisa Ana Maria Vasile
From: Harini Ramakrishnan --- kernel/windows/netuio/netuio.inf | 7 +++ kernel/windows/netuio/netuio_dev.c | 15 +-- 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/kernel/windows/netuio/netuio.inf b/kernel/windows/netuio/netuio.inf index 0453b371a..b1696cc50

[dpdk-dev] [PATCH 04/22] Windows DPDK libraries and applications have now been updated to the latest public release v18.08, of the main DPDK source.

2020-08-13 Thread Narcisa Ana Maria Vasile
From: Harini Ramakrishnan --- mk/exec-env/windows/netuio/netuio.vcxproj | 20 +-- .../windows/netuio/netuio.vcxproj.filters | 20 +-- 2 files changed, 20 insertions(+), 20 deletions(-) diff --git a/mk/exec-env/windows/netuio/netuio.vcxproj b/mk/exec-env/

[dpdk-dev] [PATCH 08/22] doc: remove lower bound on mapped address from Windows UIO driver

2020-08-13 Thread Narcisa Ana Maria Vasile
From: Harini Ramakrishnan --- kernel/windows/netuio/netuio_dev.c | 22 +++--- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/kernel/windows/netuio/netuio_dev.c b/kernel/windows/netuio/netuio_dev.c index 4d8b9430d..f5d41cb65 100644 --- a/kernel/windows/netuio/net

[dpdk-dev] [PATCH 02/22] Initial commit of UIO driver for Windows

2020-08-13 Thread Narcisa Ana Maria Vasile
From: Jason Messer --- mk/exec-env/windows/netuio/netuio.sln | 24 mk/exec-env/windows/netuio/netuio.vcxproj | 108 ++ .../windows/netuio/netuio.vcxproj.filters | 59 ++ .../windows/netuio/netuio.vcxproj.user| 11 ++ 4 files changed, 202 in

[dpdk-dev] [PATCH 05/22] doc: remove embedded buffer from Windows UIO ioctl

2020-08-13 Thread Narcisa Ana Maria Vasile
From: Harini Ramakrishnan --- mk/exec-env/windows/netuio/netuio.vcxproj | 6 ++ 1 file changed, 6 insertions(+) diff --git a/mk/exec-env/windows/netuio/netuio.vcxproj b/mk/exec-env/windows/netuio/netuio.vcxproj index b6564e4e7..b6b11e49a 100644 --- a/mk/exec-env/windows/netuio/netuio.vcxpr

[dpdk-dev] [PATCH 03/22] Added new core libraries for Windows

2020-08-13 Thread Narcisa Ana Maria Vasile
From: Jason Messer --- mk/exec-env/windows/netuio/netuio.vcxproj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mk/exec-env/windows/netuio/netuio.vcxproj b/mk/exec-env/windows/netuio/netuio.vcxproj index 251b8eb95..9e769b5d0 100644 --- a/mk/exec-env/windows/netuio/netui

[dpdk-dev] [PATCH 00/22] windows/netuio: add netuio driver for Windows

2020-08-13 Thread Narcisa Ana Maria Vasile
From: Narcisa Vasile The NetUIO driver for Windows allows the usermode application to directly access the hardware and allocates the memory that gets mapped in usermode. Anand Rawat (1): Updated Source and Project files to use Clang toolset Harini Ramakrishnan (10): Windows DPDK libraries a

[dpdk-dev] [PATCH 01/22] init DPDK repository

2020-08-13 Thread Narcisa Ana Maria Vasile
From: Thomas Monjalon --- .gitignore | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0..e69de29bb -- 2.23.0.vfs.1.1.63.g5a5ad7f

Re: [dpdk-dev] [PATCH v2 1/4] test/stack: avoid trivial memory allocations

2020-08-13 Thread Eads, Gage
> -Original Message- > From: Steven Lariau > Sent: Wednesday, August 12, 2020 2:19 PM > To: Eads, Gage ; Olivier Matz > > Cc: dev@dpdk.org; n...@arm.com; Steven Lariau > Subject: [PATCH v2 1/4] test/stack: avoid trivial memory allocations > > Replace the arguments array by one argume

[dpdk-dev] [PATCH v2 8/8] crypto/bcmfs: add crypto pmd into cryptodev test

2020-08-13 Thread Vikas Gupta
Add global test suite for bcmfs crypto pmd Signed-off-by: Vikas Gupta Signed-off-by: Raveendra Padasalagi Reviewed-by: Ajit Khaparde --- app/test/test_cryptodev.c | 17 + app/test/test_cryptodev.h | 1 + 2 files changed, 18 insertions(+) diff --git a/app/test/test_cryptodev.c

[dpdk-dev] [PATCH v2 4/8] crypto/bcmfs: add hw queue pair operations

2020-08-13 Thread Vikas Gupta
Add queue pair operations exported by supported devices. Signed-off-by: Vikas Gupta Signed-off-by: Raveendra Padasalagi Reviewed-by: Ajit Khaparde --- drivers/crypto/bcmfs/bcmfs_dev_msg.h | 29 + drivers/crypto/bcmfs/bcmfs_device.c | 51 ++ drivers/crypto/bcmfs/bcmfs_device.h

[dpdk-dev] [PATCH v2 7/8] crypto/bcmfs: add crypto h/w module

2020-08-13 Thread Vikas Gupta
Add crypto h/w module to process crypto op. Crypto op is processed via sym_engine module before submitting the crypto request to h/w queues. Signed-off-by: Vikas Gupta Signed-off-by: Raveendra Padasalagi Reviewed-by: Ajit Khaparde --- drivers/crypto/bcmfs/bcmfs_sym.c| 316 dri

[dpdk-dev] [PATCH v2 6/8] crypto/bcmfs: add session handling and capabilities

2020-08-13 Thread Vikas Gupta
Add session handling and capabilities supported by crypto h/w accelerator. Signed-off-by: Vikas Gupta Signed-off-by: Raveendra Padasalagi Reviewed-by: Ajit Khaparde --- doc/guides/cryptodevs/bcmfs.rst | 46 ++ doc/guides/cryptodevs/features/bcmfs.ini | 56 ++ drivers/crypt

[dpdk-dev] [PATCH v2 3/8] crypto/bcmfs: add apis for queue pair management

2020-08-13 Thread Vikas Gupta
Add queue pair management APIs which will be used by Crypto device to manage h/w queues. A bcmfs device structure owns multiple queue-pairs based on the mapped address allocated to it. Signed-off-by: Vikas Gupta Signed-off-by: Raveendra Padasalagi Reviewed-by: Ajit Khaparde --- drivers/crypto/

[dpdk-dev] [PATCH v2 5/8] crypto/bcmfs: create a symmetric cryptodev

2020-08-13 Thread Vikas Gupta
Create a symmetric crypto device and supported cryptodev ops. Signed-off-by: Vikas Gupta Signed-off-by: Raveendra Padasalagi Reviewed-by: Ajit Khaparde --- drivers/crypto/bcmfs/bcmfs_device.c | 15 ++ drivers/crypto/bcmfs/bcmfs_device.h | 9 + drivers/crypto/bcmfs/bcmfs_qp.c | 37 ++

[dpdk-dev] [PATCH v2 1/8] crypto/bcmfs: add BCMFS driver

2020-08-13 Thread Vikas Gupta
Add Broadcom FlexSparc(FS) device creation driver which registers to a vdev and create a device. Add APIs for logs, supportive documention and maintainers file. Signed-off-by: Vikas Gupta Signed-off-by: Raveendra Padasalagi Reviewed-by: Ajit Khaparde --- MAINTAINERS

[dpdk-dev] [PATCH v2 0/8] Add Crypto PMD for Broadcom`s FlexSparc devices

2020-08-13 Thread Vikas Gupta
Hi, This patchset contains support for Crypto offload on Broadcom’s Stingray/Stingray2 SoCs having FlexSparc unit. BCMFS is an acronym for Broadcom FlexSparc device used in the patchest. The patchset progressively adds major modules as below. a) Detection of platform-device based on the known reg

[dpdk-dev] [PATCH v2 2/8] crypto/bcmfs: add vfio support

2020-08-13 Thread Vikas Gupta
Add vfio support for device. Signed-off-by: Vikas Gupta Signed-off-by: Raveendra Padasalagi Reviewed-by: Ajit Khaparde --- drivers/crypto/bcmfs/bcmfs_device.c | 5 ++ drivers/crypto/bcmfs/bcmfs_device.h | 6 ++ drivers/crypto/bcmfs/bcmfs_vfio.c | 107 drivers

[dpdk-dev] DPDK Release Status Meeting 13/08/2020

2020-08-13 Thread Mcnamara, John
Minutes 13 August 2020 -- Agenda: * Release Dates * -rc3/-rc4 status * Subtrees * LTS * OvS Participants: * Arm * Broadcom * Debian/Microsoft * Intel * Marvell * Nvidia * NXP Release Dates - * v20.11 proposal dates, please comment: * Proposal/V1:Friday, 11

Re: [dpdk-dev] [RFC v2 2/5] ethdev: add simple power management API and callback

2020-08-13 Thread Liang, Ma
On 11 Aug 11:27, Liang Ma wrote: > +static uint16_t > +rte_ethdev_pmgmt_umait(uint16_t port_id, uint16_t qidx, > + struct rte_mbuf **pkts __rte_unused, uint16_t nb_rx, > + uint16_t max_pkts __rte_unused, void *_ __rte_unused) > +{ > + > + struct rte_eth_dev *dev = &rte

[dpdk-dev] [PATCH v5 7/8] net/dpaa: add fmc parser support for VSP

2020-08-13 Thread Hemant Agrawal
From: Jun Yang Parse the fmc.bin generated by fmc to setup RXQs for each port on fmc mode. The parser gets the fqids and vspids from fmc.bin. Signed-off-by: Jun Yang Acked-by: Hemant Agrawal --- drivers/net/dpaa/Makefile | 1 + drivers/net/dpaa/dpaa_ethdev.c | 26 +- drivers/net/dpaa/

Re: [dpdk-dev] [PATCH] net/ena/base: fix doorbell evaluation for the LLQ case

2020-08-13 Thread Marcin Wojtas
Hi, śr., 12 sie 2020 o 18:37 Artur Rojek napisał(a): > > From: Michal Krawczyk > > This patch adds a missing LLQ-related check in the > ena_com_is_doorbell_needed() routine, which is relevant for the feature > supported by the next generation HW of the ENA. > > Fixes: b2b02edeb0d6 ("net/ena/base

[dpdk-dev] [PATCH v5 8/8] net/dpaa: add RSS update func with FMCless

2020-08-13 Thread Hemant Agrawal
From: Sachin Saxena With fmlib (FMCLESS) mode now RSS can be modified on runtime. This patch add support for RSS update functions Signed-off-by: Hemant Agrawal Signed-off-by: Sachin Saxena --- drivers/net/dpaa/dpaa_ethdev.c | 37 ++ 1 file changed, 37 insertion

[dpdk-dev] [PATCH v5 6/8] net/dpaa: add support for Virtual Storage Profile

2020-08-13 Thread Hemant Agrawal
From: Jun Yang This patch adds support for Virtual Storage profile (VSP) feature. With VSP support when memory pool is created, the hw buffer pool id i.e. bpid is not allocated; thhe bpid is identified by dpaa flow create API. The memory pool of RX queue is attached to specific BMan pool accordin

[dpdk-dev] [PATCH v5 4/8] bus/dpaa: add shared MAC support

2020-08-13 Thread Hemant Agrawal
From: Radu Bulie A shared MAC interface is an interface which can be used by both kernel and userspace based on classification configuration It is defined in dts with the compatible string "fsl,dpa-ethernet-shared" which bpool will be seeded by the dpdk partition and configured as a netdev by the

[dpdk-dev] [PATCH v5 5/8] bus/dpaa: add Virtual Storage Profile port init

2020-08-13 Thread Hemant Agrawal
This patch add support to initialize the VSP ports in the FMAN library. Signed-off-by: Rohit Raj Signed-off-by: Hemant Agrawal --- drivers/bus/dpaa/base/fman/fman.c | 57 +++ drivers/bus/dpaa/include/fman.h | 3 ++ 2 files changed, 60 insertions(+) diff --git a/d

[dpdk-dev] [PATCH v5 3/8] net/dpaa: add support for fmcless mode

2020-08-13 Thread Hemant Agrawal
From: Sachin Saxena This patch uses fmlib to configure the FMAN HW for flow and distribution configuration, thus avoiding the need for static FMC tool execution optionally. Signed-off-by: Sachin Saxena Signed-off-by: Hemant Agrawal --- drivers/bus/dpaa/include/fsl_qman.h | 1 + driver

[dpdk-dev] [PATCH v5 2/8] net/dpaa: add VSP support in FMLIB

2020-08-13 Thread Hemant Agrawal
From: Jun Yang This patch adds support for VSP (Virtual Storage Profile) in fmlib routines. VSP allow a network interface to be divided into physical and virtual instance(s). The concept is very similar to SRIOV. Signed-off-by: Jun Yang Acked-by: Hemant Agrawal --- drivers/net/dpaa/Makefile

Re: [dpdk-dev] [RFC v2 1/5] eal: add power management intrinsics

2020-08-13 Thread Liang, Ma
On 11 Aug 11:27, Liang Ma wrote: > Add two new power management intrinsics, and provide an implementation > in eal/x86 based on UMONITOR/UMWAIT instructions. The instructions > are implemented as raw byte opcodes because there is not yet widespread > compiler support for these instructions. > > Th

Re: [dpdk-dev] [PATCH v3 2/7] app/proc-info: eliminate useless borders

2020-08-13 Thread Stephen Hemminger
On Thu, 13 Aug 2020 04:10:39 + "Varghese, Vipin" wrote: > Hi Stephen, > > snipped > > > > 15/07/2020 23:22, Stephen Hemminger: > > > Printing extra borders does not improve readability, and is just > > > unnecessary. Putting TSC hz in header also makes no sense here. > > > > The CPU fr

Re: [dpdk-dev] [PATCH 20.11 01/19] examples: remove legacy sections of makefiles

2020-08-13 Thread Power, Ciara
>-Original Message- >From: Bruce Richardson >Sent: Wednesday 12 August 2020 17:39 >To: Power, Ciara >Cc: dev@dpdk.org; tho...@monjalon.net >Subject: Re: [PATCH 20.11 01/19] examples: remove legacy sections of >makefiles > >On Fri, Aug 07, 2020 at 01:29:51PM +0100, Ciara Power wrote: >>

[dpdk-dev] [PATCH v2 5/7] rawdev: allow queue default config query to return error

2020-08-13 Thread Bruce Richardson
The driver APIs for returning the queue default config can fail if the parameters are invalid, or other reasons, so allow them to return error codes to the rawdev layer and from hence to the app. Signed-off-by: Bruce Richardson --- drivers/raw/ntb/ntb.c | 6 -- drivers/raw/

[dpdk-dev] [PATCH v2 7/7] doc: remove rawdev deprecation notice

2020-08-13 Thread Bruce Richardson
Since all changes covered by the deprecation notice have been applied, the notice can be removed. Signed-off-by: Bruce Richardson --- doc/guides/rel_notes/deprecation.rst | 7 --- 1 file changed, 7 deletions(-) diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprec

[dpdk-dev] [PATCH v2 3/7] rawdev: add private data length parameter to config fn

2020-08-13 Thread Bruce Richardson
Currently with the rawdev API there is no way to check that the structure passed in via the dev_private pointer in the structure passed to configure API is of the correct type - it's just checked that it is non-NULL. Adding in the length of the expected structure provides a measure of typechecking,

[dpdk-dev] [PATCH v2 6/7] rawdev: mark start and stop functions optional

2020-08-13 Thread Bruce Richardson
Not all rawdevs will require a device start/stop function, so rather than requiring such drivers to provide dummy functions, just set the started/stopped rawdev flag from the rawdev layer and return success. Signed-off-by: Kevin Laatz Signed-off-by: Bruce Richardson --- lib/librte_rawdev/rte_ra

[dpdk-dev] [PATCH v2 4/7] rawdev: add private data length parameter to queue fns

2020-08-13 Thread Bruce Richardson
The queue setup and queue defaults query functions take a void * parameter as configuration data, preventing any compile-time checking of the parameters and limiting runtime checks. Adding in the length of the expected structure provides a measure of typechecking, and can also be used for ABI compa

[dpdk-dev] [PATCH v2 2/7] rawdev: allow drivers to return error from info function

2020-08-13 Thread Bruce Richardson
Since we now allow some parameter checking inside the driver info_get() functions, it makes sense to allow error return from those functions to the caller. Therefore we change the driver callback return type from void to int. Signed-off-by: Bruce Richardson Reviewed-by: Rosen Xu --- drivers/raw

[dpdk-dev] [PATCH v2 1/7] rawdev: add private data length parameter to info fn

2020-08-13 Thread Bruce Richardson
Currently with the rawdev API there is no way to check that the structure passed in via the dev_private pointer in the dev_info structure is of the correct type - it's just checked that it is non-NULL. Adding in the length of the expected structure provides a measure of typechecking, and can also b

[dpdk-dev] [PATCH v2 0/7] Enhance rawdev APIs

2020-08-13 Thread Bruce Richardson
This patchset proposes some internal and externally-visible changes to the rawdev API, the ABI change of which were previously announced. The changes are in two main areas: * For any APIs which take a void * parameter for driver-specific structs, add an additional parameter to provide the struct

[dpdk-dev] [Bug 524] mlx5 pmd crash, mlx5_rxte_vec_sse.h# rxq_cq_decompress_v

2020-08-13 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=524 Bug ID: 524 Summary: mlx5 pmd crash, mlx5_rxte_vec_sse.h# rxq_cq_decompress_v Product: DPDK Version: 19.11 Hardware: x86 OS: Linux Status: UNCONFIRMED

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

2020-08-13 Thread Juraj Linkeš
Add two jobs (static and shared libs), both building on aarch64 and producing 32-bit arm binaries executable on armv8-a, but not armv7. Do not run tests in these jobs. Signed-off-by: Juraj Linkeš --- .ci/linux-build.sh | 7 ++- .travis.yml| 19 +++ 2 files changed, 2

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

2020-08-13 Thread Juraj Linkeš
Add aarch32 extra build flags and aarch32 machine flags to generic machine args. Also modify how arm flags are updated in meson build - for 32-bit build, update only if cross-compiling. Signed-off-by: Juraj Linkeš --- config/arm/meson.build | 20 ++-- 1 file changed, 18 insertion

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

2020-08-13 Thread Juraj Linkeš
From: Phil Yang Add cross-compiling guidance for 32-bit aarch32 DPDK on aarch64 host. Signed-off-by: Phil Yang --- .../linux_gsg/cross_build_dpdk_for_arm64.rst | 30 ++- 1 file changed, 23 insertions(+), 7 deletions(-) diff --git a/doc/guides/linux_gsg/cross_build_dpdk_for_ar

[dpdk-dev] [PATCH v6 1/5] net/bnxt: add support for aarch32

2020-08-13 Thread Juraj Linkeš
From: Ruifeng Wang Expand vector PMD support to aarch32. Signed-off-by: Ruifeng Wang --- drivers/net/bnxt/Makefile | 2 +- drivers/net/bnxt/bnxt_rxq.h | 2 +- drivers/net/bnxt/bnxt_rxr.h | 2 +- drivers/net/bnxt/bnxt_txr.h | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git

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

2020-08-13 Thread Juraj Linkeš
Create meson cross file arm32_armv8a_linux_gcc. Use arm-linux-gnueabihf- toolset which comes with standard packages on most used systems, such as Ubuntu and CentOS. Signed-off-by: Juraj Linkeš --- config/arm/arm32_armv8a_linux_gcc | 17 + 1 file changed, 17 insertions(+) create

[dpdk-dev] [PATCH v6 0/5] aarch64 -> aarch32 cross compilation support

2020-08-13 Thread Juraj Linkeš
Add support for aarch32 cross build in meson and add aarch64 -> aarch32 cross build to Travis. Aarch32 is an execution state that allows execution of 32-bit code on armv8 machines. This execution state contains a superset of previous armv7 32-bit instructions and features. Thus the aarch32 build i

Re: [dpdk-dev] dpdk-next-crypto not up to date

2020-08-13 Thread Dybkowski, AdamX
Thank you. BTW: It's not master any more. Now the default branch is called "main". Adam From: Akhil Goyal Sent: Thursday, 13 August, 2020 10:36 To: Dybkowski, AdamX ; Thomas Monjalon ; dev@dpdk.org Cc: Trahe, Fiona Subject: RE: dpdk-next-crypto not up to date Hi Adam, It is updated now. But

Re: [dpdk-dev] dpdk-next-crypto not up to date

2020-08-13 Thread Akhil Goyal
Hi Adam, It is updated now. But I don't see that you are blocked in any way due to this. You can send the patches over master if the crypto tree is behind master. It will be updated to the latest master whenever it is synced. So there will be no conflict. Regards, Akhil Hi. Please merge mai

[dpdk-dev] dpdk-next-crypto not up to date

2020-08-13 Thread Dybkowski, AdamX
Hi. Please merge main dpdk branch into dpdk-next-crypto. 20.08 was released few days ago but I don't see any new commits here: https://git.dpdk.org/next/dpdk-next-crypto/ I can't prepare and send to ML any patches because of the lack of new release notes for 20.11 and few other recently updated

Re: [dpdk-dev] [PATCH v3] net/virtio: fix wrong variable assignment in helper macro

2020-08-13 Thread Xia, Chenbo
> -Original Message- > From: Vipul Ashri > Sent: Thursday, August 13, 2020 3:29 PM > To: dev@dpdk.org > Cc: Xia, Chenbo ; vipul.as...@oracle.com; > edwin.le...@oracle.com; sta...@dpdk.org > Subject: [PATCH v3] net/virtio: fix wrong variable assignment in helper > macro > > Inside Macro AS

Re: [dpdk-dev] FW: [PATCH v2] Fixes: 57f90f894588("net/virtio: reuse packed ring functions")

2020-08-13 Thread chupenghong
OK ! At 2020-08-13 15:23:01, "Vipul Ashri" wrote: >Hi Javin > >FYI >http://patches.dpdk.org/patch/75476/ >The mentioned fix you are trying to submit is already addressed and in review >with Xia chenbo since 10th august. >Hope you can discard your patch as I have already sent the patch to

[dpdk-dev] [PATCH] net/octeontx2: add support for VLAN based RSS hash

2020-08-13 Thread kirankumark
From: Kiran Kumar K Adding support for VLAN based RSS hash. 2 bytes of SPI will be considered for hashing. Signed-off-by: Kiran Kumar K --- drivers/common/octeontx2/otx2_mbox.h | 2 ++ drivers/net/octeontx2/otx2_ethdev.h | 2 +- drivers/net/octeontx2/otx2_rss.c | 3 +++ 3 files changed, 6

Re: [dpdk-dev] [PATCH v5 0/5] compiling ethdev lib under windows

2020-08-13 Thread Thomas Monjalon
You got some acks in previous versions which should be reported in this patchset, otherwise they are lost. 11/08/2020 08:24, Fady Bader: > Added needed changes in order to get ethdev compiling under windows. > > Depends-on: series-10382 ("compile librte_net for windows") > > v5: fixed style is