Re: [dpdk-dev] [EXT] [PATCH] net/qede/base: add missing licence

2020-09-11 Thread Igor Russkikh
Thanks Ferruh, > Adding BSD-3 SPDX license tag. > > Fixes: 519438f7c17f ("net/qede/base: re-arrange few structures for DDC") > Cc: sta...@dpdk.org > > Reported-by: Stephen Hemminger > Signed-off-by: Ferruh Yigit > --- > Cc: Jerin Jacob Acked-by: Igor Russkikh

Re: [dpdk-dev] [PATCH v2] app/test-pmd: fix meson build failed when enabled pmd_bonded

2020-09-11 Thread Yang, Qiming
> -Original Message- > From: Yang, SteveX > Sent: Friday, September 11, 2020 13:58 > To: dev@dpdk.org > Cc: Richardson, Bruce ; Lu, Wenzhuo > ; Xing, Beilei ; Yang, Qiming > ; Yang, SteveX > Subject: [PATCH v2] app/test-pmd: fix meson build failed when enabled > pmd_bonded > > The dep

Re: [dpdk-dev] [PATCH 0/2] fixes for bnxt driver

2020-09-11 Thread Ajit Khaparde
On Sat, Sep 5, 2020 at 2:37 AM wangyunjian wrote: > From: Yunjian Wang > > This series include two fixes patches for bnxt driver. > Patchset applied to dpdk-next-net-brcm. Thanks > > Yunjian Wang (2): > net/bnxt: remove logically dead code > net/bnxt: fix a wrong use of rte_free when freei

[dpdk-dev] [PATCH 1/2] mbuf: remove generic mbuf atomically accessed refcnt

2020-09-11 Thread Phil Yang
Remove the deprecated refcnt_atomic union fields in rte_mbuf structure. Signed-off-by: Phil Yang Reviewed-by: Ruifeng Wang --- doc/guides/rel_notes/release_20_11.rst | 2 ++ lib/librte_mbuf/rte_mbuf_core.h| 7 +-- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/doc/gu

[dpdk-dev] [PATCH 2/2] mbuf: remove external buffer atomically accessed refcnt

2020-09-11 Thread Phil Yang
Remove the deprecated refcnt_atomic union fields in rte_mbuf_ext_shared_info structure. Signed-off-by: Phil Yang Reviewed-by: Ruifeng wang --- doc/guides/rel_notes/release_20_11.rst | 4 ++-- lib/librte_mbuf/rte_mbuf_core.h| 6 +- 2 files changed, 3 insertions(+), 7 deletions(-) di

[dpdk-dev] [PATCH 0/2] remove mbuf deprecated filed

2020-09-11 Thread Phil Yang
Remove the deprecated[1] refcnt_atomic member in structures rte_mbuf and rte_mbuf_ext_shared_info. [1] http://code.dpdk.org/dpdk/latest/source/doc/guides/rel_notes/deprecation.rst#L161 Phil Yang (2): mbuf: remove generic mbuf atomically accessed refcnt mbuf: remove external buffer atomically

Re: [dpdk-dev] [PATCH 1/3] test/event_crypto_adapter: return error with unsupported mode

2020-09-11 Thread Gujjar, Abhinandan S
Acked-by: abhinandan.guj...@intel.com (For series) > -Original Message- > From: Ankur Dwivedi > Sent: Tuesday, September 8, 2020 2:46 PM > To: dev@dpdk.org > Cc: Gujjar, Abhinandan S ; > jer...@marvell.com; ano...@marvell.com; Ankur Dwivedi > > Subject: [PATCH 1/3] test/event_crypto_adap

Re: [dpdk-dev] [PATCH 0/2] remove mbuf deprecated filed

2020-09-11 Thread Andrew Rybchenko
On 9/11/20 10:35 AM, Phil Yang wrote: > Remove the deprecated[1] refcnt_atomic member in structures rte_mbuf and > rte_mbuf_ext_shared_info. > > [1] > http://code.dpdk.org/dpdk/latest/source/doc/guides/rel_notes/deprecation.rst#L161 LGTM, please, cleanup deprecation notice in this patches when c

Re: [dpdk-dev] [PATCH v2] app/test-pmd: fix meson build failed when enabled pmd_bonded

2020-09-11 Thread David Marchand
On Fri, Sep 11, 2020 at 8:15 AM SteveX Yang wrote: > > The depended pmd bond is missing for test-pmd. Add the pmd_bond to deps, > and replace the relative MACRO name with new RTE_LIBRTE_BOND_PMD. meson changed the name of the driver define (when compared to make). We can't backport this patch. H

Re: [dpdk-dev] [PATCH 00/12] net/bnxt: vector PMD improvements

2020-09-11 Thread Ajit Khaparde
On Wed, Sep 9, 2020 at 8:53 AM Lance Richardson < lance.richard...@broadcom.com> wrote: > Fixes and optimizations to improve bnxt vector mode > performance and functionality. > Patchset applied to dpdk-next-net-brcm. Thanks > > Lance Richardson (12): > net/bnxt: fix burst mode get for Arm >

Re: [dpdk-dev] [PATCH] net/vhost: fix xstats wrong after clearing stats

2020-09-11 Thread Xia, Chenbo
Hi David, Thanks for working on this. Comments inline. > -Original Message- > From: David Christensen > Sent: Thursday, September 3, 2020 1:03 AM > To: maxime.coque...@redhat.com; Xia, Chenbo ; Wang, > Zhihong ; dev@dpdk.org > Cc: David Christensen > Subject: [PATCH] net/vhost: fix xsta

[dpdk-dev] [PATCH v1 0/8] enhancements and fixes for nxp dpaax platform

2020-09-11 Thread Sachin Saxena (OSS)
From: Sachin Saxena Apeksha Gupta (1): net/dpaa2: fix check for key size Nipun Gupta (2): bus/dpaa: send error packets to application net/dpaa: send error packets to application Rohit Raj (2): bus/fslmc: run secondary debug app without blocklist devices bus/dpaa: enhance link status

[dpdk-dev] [PATCH v1 3/8] net/dpaa2: fix check for key size

2020-09-11 Thread Sachin Saxena (OSS)
From: Apeksha Gupta DPAA2 has support for raw flow classification, which can be used for any protocol rules. This change fixes flow key pattern length match. Fixes: 3f881f8d6eb0 ("net/dpaa2: support raw flow classification") Signed-off-by: Apeksha Gupta --- drivers/net/dpaa2/dpaa2_flow.c | 2

[dpdk-dev] [PATCH v1 1/8] bus/fslmc: fix atomic queues on nxp lx2 platform

2020-09-11 Thread Sachin Saxena (OSS)
From: Youri Querry Traffic was stalling after few packet while running l2fwd-event in atomic mode on LX2 platform. It was due to wrong dca setting while enqueuing packets to EQCR. This patch fixes the issue by writing correct dca setting. Fixes: 1b49352f41be ("bus/fslmc: rename portal pi index t

[dpdk-dev] [PATCH v1 4/8] bus/dpaa: RX/TX error queues

2020-09-11 Thread Sachin Saxena (OSS)
From: Sachin Saxena CONFIG_RTE_LIBRTE_DPAA_DEBUG_DRIVER=y 1) Enable TX/RX error queues to check the errors. 2) Display error frame information(payload, status, paresr result). Signed-off-by: Jun Yang Signed-off-by: Rohit Raj Signed-off-by: Sachin Saxena --- drivers/bus/dpaa/base/fman/fman_h

[dpdk-dev] [PATCH v1 2/8] bus/fslmc: run secondary debug app without blocklist devices

2020-09-11 Thread Sachin Saxena (OSS)
From: Rohit Raj dpaa2 hw impose limits on some HW access devices like DPMCP(Mnagement control Port) and DPIO (HW portal). This causes issue in their usages in shared uses in case of multi-process applications. It can overcome by using allowlist/blocklist in primary and secondary applications. How

[dpdk-dev] [PATCH v1 6/8] bus/dpaa: enhance link status support

2020-09-11 Thread Sachin Saxena (OSS)
From: Rohit Raj This patch adds support to get/set link speed, duplex and autoneg mode status from/to PHY. Enahnce device capabilities to advertise all supported link speeds according to mac type. Also enables fallback support for get link status api where kernel support is mssing. Signed-off-b

[dpdk-dev] [PATCH v1 5/8] bus/fslmc: fix usage of dpio blocklist flag

2020-09-11 Thread Sachin Saxena (OSS)
From: Sachin Saxena DPIO object shouldn't be reserved if it is mentioned in blocklist. Exiting code is not setting the correct flag when such object is found. Fixes: c904a212646a ("bus/fslmc: run secondary debug app without blocklist devices") Signed-off-by: Sachin Saxena --- drivers/bus/fsl

[dpdk-dev] [PATCH v1 7/8] bus/dpaa: send error packets to application

2020-09-11 Thread Sachin Saxena (OSS)
From: Nipun Gupta Api fman_if_set_err_fqid should be marked as internal. Signed-off-by: Sachin Saxena Signed-off-by: Rohit Raj Signed-off-by: Nipun Gupta --- drivers/bus/dpaa/include/fsl_fman.h | 1 + drivers/bus/dpaa/rte_bus_dpaa_version.map | 1 + 2 files changed, 2 insertions(+) di

[dpdk-dev] [PATCH v1 8/8] net/dpaa: send error packets to application

2020-09-11 Thread Sachin Saxena (OSS)
From: Nipun Gupta Send error packets to main queue (rx) to make application enable to receive error packets. Signed-off-by: Rohit Raj Signed-off-by: Nipun Gupta --- drivers/net/dpaa/dpaa_ethdev.c | 10 -- drivers/net/dpaa/dpaa_rxtx.c | 17 + drivers/net/dpaa/dpaa_rxt

Re: [dpdk-dev] [PATCH 0/5] iavf base code update

2020-09-11 Thread Zhang, Qi Z
> -Original Message- > From: Xing, Beilei > Sent: Friday, September 11, 2020 1:08 PM > To: Zhang, Qi Z > Cc: dev@dpdk.org > Subject: RE: [PATCH 0/5] iavf base code update > > > > > -Original Message- > > From: Zhang, Qi Z > > Sent: Friday, September 11, 2020 9:31 AM > > To:

[dpdk-dev] [PATCH v1] mempool: dump socket id attribute

2020-09-11 Thread Sachin Saxena (OSS)
From: Sachin Saxena Enhance the dump function to also print socket_id attribute passed at creation time. Signed-off-by: Sachin Saxena --- lib/librte_mempool/rte_mempool.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/librte_mempool/rte_mempool.c b/lib/librte_mempool/rte_mempool.c ind

Re: [dpdk-dev] [PATCH v1] mempool: dump socket id attribute

2020-09-11 Thread Andrew Rybchenko
On 9/11/20 11:13 AM, Sachin Saxena (OSS) wrote: > From: Sachin Saxena > > Enhance the dump function to also print socket_id attribute > passed at creation time. > > Signed-off-by: Sachin Saxena Please, include maintainers in the recipient list the next time. Acked-by: Andrew Rybchenko > ---

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

2020-09-11 Thread Gujjar, Abhinandan S
> -Original Message- > From: Honnappa Nagarahalli > Sent: Thursday, September 10, 2020 4:19 AM > To: Gujjar, Abhinandan S ; dev@dpdk.org > Cc: Doherty, Declan ; jer...@marvell.com; > akhil.go...@nxp.com; Vangati, Narender ; > Ananyev, Konstantin ; nd ; > Honnappa Nagarahalli ; nd > > S

[dpdk-dev] [PATCH v2 0/8] enhancement and fixes for nxp dpaax platform

2020-09-11 Thread Sachin Saxena (OSS)
From: Sachin Saxena - V2: Removed checks warnings reported by checkpatch Apeksha Gupta (1): net/dpaa2: fix check for key size Nipun Gupta (2): bus/dpaa: send error packets to application net/dpaa: send error packets to application Rohit Raj (2): bus/fslmc: run secondary debug app with

Re: [dpdk-dev] [v2 2/2] test: add testcase for crypto enqueue callback

2020-09-11 Thread Gujjar, Abhinandan S
Sure Honnappa. Thanks Abhinandan > -Original Message- > From: Honnappa Nagarahalli > Sent: Thursday, September 10, 2020 4:21 AM > To: Gujjar, Abhinandan S ; dev@dpdk.org > Cc: Doherty, Declan ; jer...@marvell.com; > akhil.go...@nxp.com; Vangati, Narender ; > Ananyev, Konstantin ; nd > S

[dpdk-dev] [PATCH v2 2/8] bus/fslmc: run secondary debug app without blocklist devices

2020-09-11 Thread Sachin Saxena (OSS)
From: Rohit Raj dpaa2 hw impose limits on some HW access devices like DPMCP(Mnagement control Port) and DPIO (HW portal). This causes issue in their usages in shared uses in case of multi-process applications. It can overcome by using allowlist/blocklist in primary and secondary applications. How

[dpdk-dev] [PATCH v2 1/8] bus/fslmc: fix atomic queues on nxp lx2 platform

2020-09-11 Thread Sachin Saxena (OSS)
From: Youri Querry Traffic was stalling after few packet while running l2fwd-event in atomic mode on LX2 platform. It was due to wrong dca setting while enqueuing packets to EQCR. This patch fixes the issue by writing correct dca setting. Fixes: 1b49352f41be ("bus/fslmc: rename portal pi index t

[dpdk-dev] [PATCH v2 3/8] net/dpaa2: fix check for key size

2020-09-11 Thread Sachin Saxena (OSS)
From: Apeksha Gupta DPAA2 has support for raw flow classification, which can be used for any protocol rules. This change fixes flow key pattern length match. Fixes: 3f881f8d6eb0 ("net/dpaa2: support raw flow classification") Signed-off-by: Apeksha Gupta --- drivers/net/dpaa2/dpaa2_flow.c | 2

[dpdk-dev] [PATCH v2 5/8] bus/fslmc: fix usage of dpio blocklist flag

2020-09-11 Thread Sachin Saxena (OSS)
From: Sachin Saxena DPIO object shouldn't be reserved if it is mentioned in blocklist. Exiting code is not setting the correct flag when such object is found. Fixes: c904a212646a ("bus/fslmc: run secondary debug app without blocklist devices") Signed-off-by: Sachin Saxena --- drivers/bus/fsl

[dpdk-dev] [PATCH v2 6/8] bus/dpaa: enhance link status support

2020-09-11 Thread Sachin Saxena (OSS)
From: Rohit Raj This patch adds support to get/set link speed, duplex and autoneg mode status from/to PHY. Enahnce device capabilities to advertise all supported link speeds according to mac type. Also enables fallback support for get link status api where kernel support is missing. Signed-off-

[dpdk-dev] [PATCH v2 7/8] bus/dpaa: send error packets to application

2020-09-11 Thread Sachin Saxena (OSS)
From: Nipun Gupta Api fman_if_set_err_fqid should be marked as internal. Signed-off-by: Sachin Saxena Signed-off-by: Rohit Raj Signed-off-by: Nipun Gupta --- drivers/bus/dpaa/include/fsl_fman.h | 1 + drivers/bus/dpaa/rte_bus_dpaa_version.map | 1 + 2 files changed, 2 insertions(+) di

[dpdk-dev] [PATCH v2 4/8] bus/dpaa: RX/TX error queues

2020-09-11 Thread Sachin Saxena (OSS)
From: Sachin Saxena CONFIG_RTE_LIBRTE_DPAA_DEBUG_DRIVER=y 1) Enable TX/RX error queues to check the errors. 2) Display error frame information(payload, status, paresr result). Signed-off-by: Jun Yang Signed-off-by: Rohit Raj Signed-off-by: Sachin Saxena --- drivers/bus/dpaa/base/fman/fman_h

Re: [dpdk-dev] [PATCH v2] app/test-pmd: fix meson build failed when enabled pmd_bonded

2020-09-11 Thread Bruce Richardson
On Fri, Sep 11, 2020 at 09:43:37AM +0200, David Marchand wrote: > On Fri, Sep 11, 2020 at 8:15 AM SteveX Yang wrote: > > > > The depended pmd bond is missing for test-pmd. Add the pmd_bond to deps, > > and replace the relative MACRO name with new RTE_LIBRTE_BOND_PMD. > > meson changed the name of

[dpdk-dev] [PATCH v2 8/8] net/dpaa: send error packets to application

2020-09-11 Thread Sachin Saxena (OSS)
From: Nipun Gupta Send error packets to main queue (rx) to make application enable to receive error packets. Signed-off-by: Rohit Raj Signed-off-by: Nipun Gupta --- drivers/net/dpaa/dpaa_ethdev.c | 10 -- drivers/net/dpaa/dpaa_rxtx.c | 17 + drivers/net/dpaa/dpaa_rxt

Re: [dpdk-dev] [PATCH V4 0/3] add FEC support

2020-09-11 Thread humin (Connor)
Hi, Ajit Khaparde: Forward error correction (FEC) is a bit error correction mode. It adds error correction information to data packets at the transmit end, and uses the error correction information to correct the bit errors generated during data packet transmission at the receive end. This improv

Re: [dpdk-dev] [PATCH v3 5/6] net/iavf: fix multiple interrupts for VF

2020-09-11 Thread Zhang, Qi Z
> -Original Message- > From: dev On Behalf Of SteveX Yang > Sent: Friday, September 4, 2020 3:29 PM > To: dev@dpdk.org > Cc: Yang, Qiming ; Wu, Jingjing > ; Xing, Beilei ; Yang, SteveX > > Subject: [dpdk-dev] [PATCH v3 5/6] net/iavf: fix multiple interrupts for VF > > Interrupt mappin

[dpdk-dev] [PATCH] eal: add new prefetch0_write variant

2020-09-11 Thread Harry van Haaren
This commit adds a new rte_prefetch0_write() variant, suggests to the compiler to use a prefetch instruction with intention to write. As a compiler builtin, the compiler can choose based on compilation target what the best implementation for this instruction is. Signed-off-by: Harry van Haaren -

[dpdk-dev] [PATCH v1 1/2] net/dpaa2: fix misuse of if_index

2020-09-11 Thread Sachin Saxena (OSS)
From: Sachin Saxena Dpaa2 pmd has no need to bound host interface for which we require if_index field. Setting it to 0 as unused. Signed-off-by: Sachin Saxena --- drivers/net/dpaa2/dpaa2_ethdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/dpaa2/dpaa2_ethdev

[dpdk-dev] [PATCH v1 2/2] net/pfe: fix misuse of if_index

2020-09-11 Thread Sachin Saxena (OSS)
From: Sachin Saxena Pfe pmd has no need to bound host interface for which we require if_index field. Setting it to 0 as unused. Signed-off-by: Sachin Saxena --- drivers/net/pfe/pfe_ethdev.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/net/pfe/pfe_ethdev.c b/dr

Re: [dpdk-dev] [PATCH v2] app/test-pmd: fix meson build failed when enabled pmd_bonded

2020-09-11 Thread Bruce Richardson
On Fri, Sep 11, 2020 at 10:16:08AM +0100, Yang, SteveX wrote: > Hi Bruce, > > > -Original Message- > > From: Bruce Richardson > > Sent: Friday, September 11, 2020 4:37 PM > > To: David Marchand > > Cc: Yang, SteveX ; dev ; Lu, > > Wenzhuo ; Xing, Beilei ; > > Yang, Qiming ; Kevin Traynor

Re: [dpdk-dev] [PATCH v1] net/iavf: fix invalid cmd after pf reset

2020-09-11 Thread Xu, HailinX
Tested-by: Xu, HailinX Regards, Xu, Hailin -Original Message- From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Jeff Guo Sent: Friday, September 11, 2020 1:21 PM To: Wu, Jingjing ; Zhang, Qi Z ; Xing, Beilei Cc: dev@dpdk.org; Guo, Jia Subject: [dpdk-dev] [PATCH v1] net/iavf: fix i

Re: [dpdk-dev] [PATCH v3 0/7] Enhance rawdev APIs

2020-09-11 Thread Thomas Monjalon
Bruce Richardson wrote: > 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 ad

Re: [dpdk-dev] [PATCH] net: add support for AVX512 when generating CRC

2020-09-11 Thread De Lara Guarch, Pablo
Hi Mairtin, > -Original Message- > From: O'loingsigh, Mairtin > Sent: Thursday, September 10, 2020 1:01 PM > To: Singh, Jasvinder > Cc: dev@dpdk.org; Ryan, Brendan ; Coyle, David > ; De Lara Guarch, Pablo > ; O'loingsigh, Mairtin > > Subject: [PATCH] net: add support for AVX512 when gen

[dpdk-dev] [PATCH v2] net/iavf: fix invalid cmd after pf reset

2020-09-11 Thread Jeff Guo
If PF reset is finished but VF reset is pending, VF should no need to send any invalid cmd to PF. That would avoid mass unexpected behaviors affecting the robust. Fixes: 22b123a36d07 ("net/avf: initialize PMD") Fixes: 9e03acd726cf ("net/iavf: fix flow access") Signed-off-by: Jeff Guo Tested-by:

Re: [dpdk-dev] [PATCH v2] net/iavf: fix invalid cmd after pf reset

2020-09-11 Thread Zhang, Qi Z
> -Original Message- > From: Guo, Jia > Sent: Friday, September 11, 2020 6:19 PM > To: Wu, Jingjing ; Zhang, Qi Z ; > Xing, Beilei > Cc: dev@dpdk.org; Guo, Jia ; Xu; Xu, HailinX > > Subject: [PATCH v2] net/iavf: fix invalid cmd after pf reset > > If PF reset is finished but VF reset

[dpdk-dev] [Bug 536] [dpdk-20.11]cbdma/ meson build ioat , Incomplete echo display

2020-09-11 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=536 Bug ID: 536 Summary: [dpdk-20.11]cbdma/ meson build ioat ,Incomplete echo display Product: DPDK Version: 20.11 Hardware: All OS: All Status: UNCONFIRMED

Re: [dpdk-dev] [PATCH 0/2] remove mbuf deprecated filed

2020-09-11 Thread Phil Yang
Andrew Rybchenko writes: > On 9/11/20 10:35 AM, Phil Yang wrote: > > Remove the deprecated[1] refcnt_atomic member in structures rte_mbuf > and > > rte_mbuf_ext_shared_info. > > > > [1] > http://code.dpdk.org/dpdk/latest/source/doc/guides/rel_notes/deprecatio > n.rst#L161 > > LGTM, please, clea

[dpdk-dev] [PATCH v2] vfio: fix mem leak when unmapping resource

2020-09-11 Thread wangyunjian
From: Yunjian Wang The 'vfio_res' is not freed when unmapping resource by primary process. This leads to memory leak. Fixes: ab53203e194b ("vfio: enable unmapping resource for secondary") Cc: sta...@dpdk.org Signed-off-by: Yunjian Wang --- v2: Update email address --- drivers/bus/pci/linux

Re: [dpdk-dev] [PATCH 00/40] ice base code update

2020-09-11 Thread Ferruh Yigit
On 9/10/2020 4:26 AM, Zhang, Qi Z wrote: > > >> -Original Message- >> From: Yang, Qiming >> Sent: Wednesday, September 9, 2020 3:17 PM >> To: Zhang, Qi Z >> Cc: dev@dpdk.org >> Subject: RE: [PATCH 00/40] ice base code update >> >> >> >>> -Original Message- >>> From: Zhang, Qi Z

[dpdk-dev] [PATCH v2 RESEND] vfio: fix resource leak when mapping fails

2020-09-11 Thread wangyunjian
From: Yunjian Wang Currently, only the 'vfio_dev_fd' is closed in failure path, so some resources are not released(such as 'vfio_group_fd'). The rte_vfio_release_device() should be used to avoid this problem. Fixes: 33604c31354a ("vfio: refactor PCI BAR mapping") Cc: sta...@dpdk.org Signed-off-

Re: [dpdk-dev] [PATCH] net: add a new network PMD named txgbe

2020-09-11 Thread Ferruh Yigit
On 9/11/2020 7:46 AM, jiawe...@trustnetic.com wrote: > Should the changes for the first set be sent as an additional patch(maybe > several), or replace the exist patch set? It decides me to remake the 40+ > patches or not. > Replace the existing set please, as a new version, v2 in this case. >

[dpdk-dev] [PATCH 1/3] crypto/aesni_mb: support ZUC-EEA3/EIA3

2020-09-11 Thread Pablo de Lara
Signed-off-by: Pablo de Lara --- doc/guides/cryptodevs/aesni_mb.rst| 36 ++--- doc/guides/cryptodevs/features/aesni_mb.ini | 2 + doc/guides/rel_notes/release_20_11.rst| 4 + .../crypto/aesni_mb/aesni_mb_pmd_private.h| 127 ++ drivers/crypto/aesni_mb

[dpdk-dev] [PATCH 3/3] crypto/aesni_mb: support KASUMI F8/F9

2020-09-11 Thread Pablo de Lara
Signed-off-by: Pablo de Lara --- doc/guides/cryptodevs/aesni_mb.rst| 2 + doc/guides/cryptodevs/features/aesni_mb.ini | 2 + doc/guides/rel_notes/release_20_11.rst| 1 + .../crypto/aesni_mb/aesni_mb_pmd_private.h| 13 -- drivers/crypto/aesni_mb/rte_aesni_mb_pmd.c

[dpdk-dev] [PATCH 2/3] crypto/aesni_mb: support SNOW3G-UEA2/UIA2

2020-09-11 Thread Pablo de Lara
Signed-off-by: Pablo de Lara --- doc/guides/cryptodevs/aesni_mb.rst| 2 + doc/guides/cryptodevs/features/aesni_mb.ini | 2 + doc/guides/rel_notes/release_20_11.rst| 1 + .../crypto/aesni_mb/aesni_mb_pmd_private.h| 13 +++-- drivers/crypto/aesni_mb/rte_aesni_mb_pmd.c

Re: [dpdk-dev] [PATCH v2] app/test-pmd: fix meson build failed when enabled pmd_bonded

2020-09-11 Thread David Marchand
On Fri, Sep 11, 2020 at 9:43 AM David Marchand wrote: > > On Fri, Sep 11, 2020 at 8:15 AM SteveX Yang wrote: > > > > The depended pmd bond is missing for test-pmd. Add the pmd_bond to deps, > > and replace the relative MACRO name with new RTE_LIBRTE_BOND_PMD. > > meson changed the name of the dri

[dpdk-dev] [PATCH v2 2/3] crypto/aesni_mb: support SNOW3G-UEA2/UIA2

2020-09-11 Thread Pablo de Lara
Add support for SNOW3G-UEA2/UIA2 algorithms through the intel-ipsec-mb job API, allowing the mix of these algorithms with others. Signed-off-by: Pablo de Lara --- v2: - Added commit description --- doc/guides/cryptodevs/aesni_mb.rst| 2 + doc/guides/cryptodevs/features/aesni_mb.ini

[dpdk-dev] [PATCH v2 1/3] crypto/aesni_mb: support ZUC-EEA3/EIA3

2020-09-11 Thread Pablo de Lara
Add support for ZUC-EEA3/EIA3 algorithms through the intel-ipsec-mb job API, allowing the mix of these algorithms with others. Signed-off-by: Pablo de Lara --- v2: - Added commit description - Fixed checkpatch issues --- doc/guides/cryptodevs/aesni_mb.rst| 36 ++--- doc/guides/cry

[dpdk-dev] [PATCH v2 3/3] crypto/aesni_mb: support KASUMI F8/F9

2020-09-11 Thread Pablo de Lara
Add support for KASUMI-F8/F9 algorithms through the intel-ipsec-mb job API, allowing the mix of these algorithms with others. Signed-off-by: Pablo de Lara --- v2: - Added commit description --- doc/guides/cryptodevs/aesni_mb.rst| 2 + doc/guides/cryptodevs/features/aesni_mb.ini

Re: [dpdk-dev] [PATCH 00/40] ice base code update

2020-09-11 Thread Zhang, Qi Z
> -Original Message- > From: Ferruh Yigit > Sent: Friday, September 11, 2020 7:08 PM > To: Zhang, Qi Z ; Yang, Qiming > > Cc: dev@dpdk.org > Subject: Re: [dpdk-dev] [PATCH 00/40] ice base code update > > On 9/10/2020 4:26 AM, Zhang, Qi Z wrote: > > > > > >> -Original Message- >

Re: [dpdk-dev] [PATCH v3 5/6] net/iavf: fix multiple interrupts for VF

2020-09-11 Thread Ferruh Yigit
On 9/11/2020 10:04 AM, Zhang, Qi Z wrote: > > >> -Original Message- >> From: dev On Behalf Of SteveX Yang >> Sent: Friday, September 4, 2020 3:29 PM >> To: dev@dpdk.org >> Cc: Yang, Qiming ; Wu, Jingjing >> ; Xing, Beilei ; Yang, SteveX >> >> Subject: [dpdk-dev] [PATCH v3 5/6] net/iavf:

[dpdk-dev] [PATCH 2/2] test/crypto: add SGL tests for AES-GMAC

2020-09-11 Thread Pablo de Lara
Add Scatter-Gather List tests for AES-GMAC. Signed-off-by: Pablo de Lara --- app/test/test_cryptodev.c | 220 +- 1 file changed, 218 insertions(+), 2 deletions(-) diff --git a/app/test/test_cryptodev.c b/app/test/test_cryptodev.c index 70bf6fe2c..1d61aaac7 10

[dpdk-dev] [PATCH 1/2] crypto/aesni_gcm: support SGL on AES-GMAC

2020-09-11 Thread Pablo de Lara
Add Scatter-gather list support for AES-GMAC. Signed-off-by: Pablo de Lara --- doc/guides/cryptodevs/aesni_gcm.rst | 2 - doc/guides/rel_notes/release_20_11.rst | 4 ++ drivers/crypto/aesni_gcm/aesni_gcm_ops.h | 27 drivers/crypto/aesni_gcm/aesni_gcm_pmd.c | 88

[dpdk-dev] [RFC 3/3] net/virtio: add election for packed vector Rx NEON path

2020-09-11 Thread Joyce Kong
Add NEON vectorized path selection logic. Default setting comes from vectorized devarg, then checks each criteria. Packed ring vectorized neon path need: NEON is supported by compiler and host VERSION_1 and IN_ORDER features are negotiated mergeable feature is not negotiated LRO of

[dpdk-dev] [RFC 0/3] Vectorize packed ring RX path with NEON

2020-09-11 Thread Joyce Kong
This patch set introduced vectorized RX path for packed ring with NEON. Joyce Kong (3): net/virtio: move AVX based Rx and Tx code to separate file net/virtio: add vectorized packed ring Rx NEON path net/virtio: add election for packed vector Rx NEON path doc/guides/nics/virtio.rst

[dpdk-dev] [RFC 2/3] net/virtio: add vectorized packed ring Rx NEON path

2020-09-11 Thread Joyce Kong
Optimize packed ring Rx batch path with NEON instructions. Signed-off-by: Joyce Kong --- drivers/net/virtio/meson.build | 1 + drivers/net/virtio/virtio_rxtx.c | 7 +- drivers/net/virtio/virtio_rxtx_packed.h | 16 ++ drivers/net/virtio/virtio_rxtx_packed_neon.

[dpdk-dev] [RFC 1/3] net/virtio: move AVX based Rx and Tx code to separate file

2020-09-11 Thread Joyce Kong
Split out AVX instruction based virtio packed ring Rx and Tx implementation to a separate file. Signed-off-by: Phil Yang --- drivers/net/virtio/meson.build | 1 + drivers/net/virtio/virtio_rxtx_packed.c | 37 +++ drivers/net/virtio/virtio_rxtx_packed.h | 284 +

Re: [dpdk-dev] [PATCH] kernel: remove igb_uio

2020-09-11 Thread Thomas Monjalon
08/09/2020 14:06, Ferruh Yigit: > On 9/7/2020 11:50 PM, Thomas Monjalon wrote: > > As decided in the Technical Board in November 2019, > > the kernel module igb_uio is moved to the dpdk-kmods repository > > in the /linux/igb_uio/ directory. > > > > Minutes of Technical Board meeting: > > https://m

Re: [dpdk-dev] [PATCH 00/40] ice base code update

2020-09-11 Thread Ferruh Yigit
On 9/11/2020 12:52 PM, Zhang, Qi Z wrote: > > >> -Original Message- >> From: Ferruh Yigit >> Sent: Friday, September 11, 2020 7:08 PM >> To: Zhang, Qi Z ; Yang, Qiming >> >> Cc: dev@dpdk.org >> Subject: Re: [dpdk-dev] [PATCH 00/40] ice base code update >> >> On 9/10/2020 4:26 AM, Zhang,

Re: [dpdk-dev] 18.11.10 (LTS) patches review and test

2020-09-11 Thread Stokes, Ian
> Hi all, > > Here is a list of patches targeted for LTS release 18.11.10. > > The planned date for the final release is 21 September. > > Please help with testing and validation of your use cases and report any > issues/results with reply-all to this mail. For the final release the fixes > and

Re: [dpdk-dev] [PATCH] eal/linux: fix memory allocations in containers+SELinux

2020-09-11 Thread Burakov, Anatoly
On 10-Sep-20 5:24 PM, David Marchand wrote: This is something we encountered while working in an OpenShift environment with SELinux enabled. In this environment, a DPDK application could create/write to hugepage files but removing them was refused. This resulted in dirty files being reused when s

Re: [dpdk-dev] [PATCH v5 1/4] regexdev: introduce regexdev subsystem

2020-09-11 Thread David Marchand
On Mon, Jul 6, 2020 at 7:37 PM Ori Kam wrote: > diff --git a/lib/librte_regexdev/Makefile b/lib/librte_regexdev/Makefile > new file mode 100644 > index 000..2e2925e > --- /dev/null > +++ b/lib/librte_regexdev/Makefile > @@ -0,0 +1,31 @@ > +# SPDX-License-Identifier: BSD-3-Clause > +# Copyright

Re: [dpdk-dev] [PATCH v1 2/2] net/pfe: fix misuse of if_index

2020-09-11 Thread Ferruh Yigit
On 9/11/2020 10:39 AM, Sachin Saxena (OSS) wrote: > From: Sachin Saxena > > Pfe pmd has no need to bound host interface > for which we require if_index field. > Setting it to 0 as unused. > > Signed-off-by: Sachin Saxena > --- > drivers/net/pfe/pfe_ethdev.c | 4 +--- > 1 file changed, 1 insert

Re: [dpdk-dev] [PATCH v1 1/2] net/dpaa2: fix misuse of if_index

2020-09-11 Thread Ferruh Yigit
On 9/11/2020 10:37 AM, Sachin Saxena (OSS) wrote: > From: Sachin Saxena > > Dpaa2 pmd has no need to bound host interface > for which we require if_index field. > Setting it to 0 as unused. > > Signed-off-by: Sachin Saxena > --- > drivers/net/dpaa2/dpaa2_ethdev.c | 2 +- > 1 file changed, 1 in

[dpdk-dev] [PATCH v2 03/40] net/ice/base: avoid unnecessary single-member variable-length structs

2020-09-11 Thread Qi Zhang
There are a number of structures that consist of a one-element array as the only struct member. Some of those are unused (ice_aqc_add_get_recipe_data, ice_aqc_get_port_options_data, ice_aqc_dis_txq, etc.) so remove them. Others are used to index into a buffer/array consisting of a variable number

[dpdk-dev] [PATCH v2 01/40] net/ice/base: handle error gracefully in HW table calloc

2020-09-11 Thread Qi Zhang
In the ice_init_hw_tbls API, if the ice_calloc for es->written fails, catch that error and bail out gracefully, instead of continuing with a NULL pointer. Signed-off-by: Surabhi Boob Signed-off-by: Qi Zhang Acked-by: Qiming Yang --- drivers/net/ice/base/ice_flex_pipe.c | 10 +- 1 file

[dpdk-dev] [PATCH v2 00/40] ice base code update

2020-09-11 Thread Qi Zhang
main changes: 1. Added support for outer IP filter for GTPC. 2. Added support for outer IP filter for GPTU control packet (no inner IP) 3. Added support for QinQ switch filter 4. code refactor and bug fixes v2: - fix a gcc10 build error. - fix a patch by patch build error. Qi Zhang (40): net/ic

[dpdk-dev] [PATCH v2 02/40] net/ice/base: split caps discover into two functions

2020-09-11 Thread Qi Zhang
Using the new ice_aq_list_caps and ice_parse_(dev|func)_caps functions, replace ice_discover_caps with two functions that each take a pointer to the dev_caps and func_caps structures respectively. This makes the side effect of updating the hw->dev_caps and hw->func_caps obvious from reading the im

[dpdk-dev] [PATCH v2 04/40] net/ice/base: fix issues around move nodes

2020-09-11 Thread Qi Zhang
1. Fixed the max children check when moving the last(8th) children. This allows the parent node to hold 8 children instead of 7. 2. Check whether the VSI is already part of the given aggregator subtree before moving it. Fixes: 29a0c11489ef ("net/ice/base: clean code") Cc: sta...@dpdk.org Signed-o

[dpdk-dev] [PATCH v2 05/40] net/ice/base: cleanup stack hog

2020-09-11 Thread Qi Zhang
In ice_flow_add_prof_sync(), struct ice_flow_prof_params has recently grown in size hogging stack space when allocated there. Hogging stack space should be avoided. Change allocation to be on the heap when needed. Signed-off-by: Bruce Allan Signed-off-by: Qi Zhang Acked-by: Qiming Yang --- d

[dpdk-dev] [PATCH v2 06/40] net/ice/base: clean the code wrapping

2020-09-11 Thread Qi Zhang
To make the wrapping a little cleaner, move the variables only applicable to ICE_FC_AUTO into that case. Also move caching of the value to only occur on success. Signed-off-by: Tony Nguyen Signed-off-by: Qi Zhang Acked-by: Qiming Yang --- drivers/net/ice/base/ice_common.c | 37

[dpdk-dev] [PATCH v2 07/40] net/ice/base: cleanup misleading comment

2020-09-11 Thread Qi Zhang
The maximum Admin Queue buffer size and NVM shadow RAM sector size are both 4 Kilobytes. Some comments refer to those as 4Kb which can be confused with 4 Kilobits. Update the comments to use the commonly used KB symbol instead. Signed-off-by: Bruce Allan Signed-off-by: Qi Zhang Acked-by: Qiming

[dpdk-dev] [PATCH v2 09/40] net/ice/base: replace single-element array used for C struct hack

2020-09-11 Thread Qi Zhang
Convert the pre-C90-extension "C struct hack" method (using a single- element array at the end of a structure for implementing variable-length types) to the preferred use of C99 flexible array member. Signed-off-by: Bruce Allan Signed-off-by: Qi Zhang Acked-by: Qiming Yang --- drivers/net/ice/

[dpdk-dev] [PATCH v2 10/40] net/ice/base: introduce and use bitmap set API

2020-09-11 Thread Qi Zhang
Introduce ice_bitmap_set() and use it instead of open-coding that functionality. Signed-off-by: Bruce Allan Signed-off-by: Qi Zhang Acked-by: Qiming Yang --- drivers/net/ice/base/ice_acl_ctrl.c | 4 +--- drivers/net/ice/base/ice_bitops.h| 19 +++ drivers/net/ice/base/ice_

[dpdk-dev] [PATCH v2 08/40] net/ice/base: silence static analysis warning

2020-09-11 Thread Qi Zhang
Sparse warns about these casts to/from restricted types which are not actual problems; silence the warnings. Signed-off-by: Bruce Allan Signed-off-by: Qi Zhang Acked-by: Qiming Yang --- drivers/net/ice/base/ice_nvm.c| 2 +- drivers/net/ice/base/ice_switch.c | 2 +- 2 files changed, 2 inser

[dpdk-dev] [PATCH v2 14/40] net/ice/base: correct abbreviations

2020-09-11 Thread Qi Zhang
Correct abbreviations as identified by abbrevcheck Signed-off-by: Tony Nguyen Signed-off-by: Qi Zhang Acked-by: Qiming Yang --- drivers/net/ice/base/ice_flex_pipe.c | 6 +++--- drivers/net/ice/base/ice_sched.c | 16 2 files changed, 11 insertions(+), 11 deletions(-) diff

[dpdk-dev] [PATCH v2 15/40] net/ice/base: add AQ cmd 0X0A0A LLDP fltr control

2020-09-11 Thread Qi Zhang
As of NVM ver 1.7.1 there is a new AQ command to add and remove LLDP filters for Rx flow. This patch implements the support structure to implement this functionality. Signed-off-by: Dave Ertman Signed-off-by: Qi Zhang Acked-by: Qiming Yang --- drivers/net/ice/base/ice_common.c | 47 ++

[dpdk-dev] [PATCH v2 11/40] net/ice/base: introduce and use bitmap hamming weight API

2020-09-11 Thread Qi Zhang
Introduce ice_bitmap_hweight() and use it instead of open-coding that functionality. Signed-off-by: Bruce Allan Signed-off-by: Qi Zhang Acked-by: Qiming Yang --- drivers/net/ice/base/ice_bitops.h | 23 +++ drivers/net/ice/base/ice_switch.c | 11 +-- 2 files changed,

[dpdk-dev] [PATCH v2 13/40] net/ice/base: introduce and use for each bit iterator

2020-09-11 Thread Qi Zhang
A number of code flows iterate over a block of memory to do something for every bit set in that memory. Use existing bit operations in a new iterator macro to make those code flows cleaner. Signed-off-by: Bruce Allan Signed-off-by: Qi Zhang Acked-by: Qiming Yang --- drivers/net/ice/base/ice_ac

[dpdk-dev] [PATCH v2 12/40] net/ice/base: add function header

2020-09-11 Thread Qi Zhang
Add a function header for ice_cfg_phy_fc() Signed-off-by: Tony Nguyen Signed-off-by: Qi Zhang Acked-by: Qiming Yang --- drivers/net/ice/base/ice_common.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/net/ice/base/ice_common.c b/drivers/net/ice/base/ice_common.c index d9ad3

[dpdk-dev] [PATCH v2 16/40] net/ice/base: add support for GTP-U type switch rule

2020-09-11 Thread Qi Zhang
This patch add support for GTP-U type of switch rule. It enable all GTP-U related ptype. Signed-off-by: Wei Zhao Signed-off-by: Qi Zhang Acked-by: Qiming Yang --- drivers/net/ice/base/ice_protocol_type.h | 7 + drivers/net/ice/base/ice_switch.c| 299 ++- d

[dpdk-dev] [PATCH v2 20/40] net/ice/base: refactor DCB related variables

2020-09-11 Thread Qi Zhang
In this patch, the DCB related variables will be refactored out of the ice_port_info_struct. The goal is to make the ice_port_info struct cleaner. Signed-off-by: Chinh T Cao Signed-off-by: Qi Zhang Acked-by: Qiming Yang --- drivers/net/ice/base/ice_dcb.c | 40 -

[dpdk-dev] [PATCH v2 17/40] net/ice/base: join format strings to same line

2020-09-11 Thread Qi Zhang
When printing messages with ice_debug, align the printed string to the origin line of the message in order to ease debugging and tracking messages back to their source. Signed-off-by: Jacob Keller Signed-off-by: Qi Zhang Acked-by: Qiming Yang --- drivers/net/ice/base/ice_acl_ctrl.c | 30

[dpdk-dev] [PATCH v2 19/40] net/ice/base: reduce profile to recip info get from firmware

2020-09-11 Thread Qi Zhang
Only need to get profile_to_recip info from firmware for profiles used by switch, no need for other free profile in order that we can reduce the time consumed when download a switch rule. Signed-off-by: Wei Zhao Signed-off-by: Qi Zhang Acked-by: Qiming Yang --- drivers/net/ice/base/ice_flex_pi

[dpdk-dev] [PATCH v2 18/40] net/ice/base: introduce Tx rate limiting on port level

2020-09-11 Thread Qi Zhang
The PSM Configuration has a Rate Limiter for each associated switch port based on its relative speed from the total BW of switch ports connected to LAN controller. The rate limiters will be dynamic get readjusted if switch port speeds are changed at the root node layer of the scheduler tree. Adding

[dpdk-dev] [PATCH v2 24/40] net/ice/base: clear advanced rules in reset preparation

2020-09-11 Thread Qi Zhang
Clear advanced rules from SW and HW before reset. Signed-off-by: NorbertX Ciosek Signed-off-by: Qi Zhang Acked-by: Qiming Yang --- drivers/net/ice/base/ice_switch.c | 30 +++--- 1 file changed, 19 insertions(+), 11 deletions(-) diff --git a/drivers/net/ice/base/ice_swi

[dpdk-dev] [PATCH v2 22/40] net/ice/base: support outer IP filter for GTPU without inner IP

2020-09-11 Thread Qi Zhang
Add ptype MAC_IPV4_GTPU into ice_ptypes_ipv4_ofos, ice_ptypes_ipv4_ofos_all and ice_ipv4_ofos_no_l4 Add ptype MAC_IPV6_GTPU into ice_ptypes_ipv6_ofos, ice_ptypes_ipv6_ofos_all and ice_ipv6_ofos_no_l4 Add ptype MAC_IPV4_GTPU and MAC_IPV6_GTPU into the new ice_ptypes_gtpu_no_ip So outer IP can be

[dpdk-dev] [PATCH v2 23/40] net/ice/base: move a function

2020-09-11 Thread Qi Zhang
The only caller of this function is within the file so mark it as static and move it up in the file to avoid a forward declaration. Signed-off-by: Tony Nguyen Signed-off-by: Qi Zhang Acked-by: Qiming Yang --- drivers/net/ice/base/ice_acl.h | 1 - drivers/net/ice/base/ice_acl_ctrl.c | 93

[dpdk-dev] [PATCH v2 21/40] net/ice/base: support outer IP filter for GTPC

2020-09-11 Thread Qi Zhang
Add ptype MAC_IPV4_GTPC_TEID and MAC_IPV4_GTPC into ice_ptypes_ipv4_ofos, ice_ptypes_ipv4_ofos_all and ice_ipv4_ofos_no_l4 Add ptype MAC_IPV6_GTPC_TEID and MAC_IPV6_GTPC into ice_ptypes_ipv6_ofos, ice_ptypes_ipv6_ofos_all and ice_ipv6_ofos_no_l4 So outer IP can be configured as input set for GTPC

[dpdk-dev] [PATCH v2 29/40] net/ice/base: preserve NVM capabilities in safe mode

2020-09-11 Thread Qi Zhang
If the driver initializes in safe mode, it will call ice_set_safe_mode_caps. This results in clearing the capabilities structures, in order to set them up for operating in safe mode, ensuring many features are disabled. This has a side effect of also clearing the capability bits that relate to NVM

  1   2   3   >