Re: [PATCH] app/test-eventdev: wait for workers before cryptodev destroy

2022-06-13 Thread Jerin Jacob
On Mon, Jun 13, 2022 at 12:08 PM Pavan Nikhilesh Bhagavatula wrote: > > > > > -Original Message- > > From: Shijith Thotton > > Sent: Thursday, June 2, 2022 5:15 PM > > To: Jerin Jacob Kollanukkaran > > Cc: Shijith Thotton ; dev@dpdk.org; Pavan > > Nikhilesh Bhagavatula > > Subject: [PAT

RE: [PATCH v2 1/2] raw/ifpga/base: add pmci driver

2022-06-13 Thread Zhang, Tianfei
> -Original Message- > From: Huang, Wei > Sent: Friday, June 10, 2022 10:25 AM > To: dev@dpdk.org; tho...@monjalon.net; nipun.gu...@nxp.com; > hemant.agra...@nxp.com > Cc: sta...@dpdk.org; Xu, Rosen ; Zhang, Tianfei > ; Zhang, Qi Z ; Huang, Wei > > Subject: [PATCH v2 1/2] raw/ifpga/bas

[PATCH] drivers: rename octeon ep PMD

2022-06-13 Thread Sathesh B Edara
This patch renames octeon end point driver from octeontx_ep to octeon_ep Signed-off-by: Sathesh B Edara --- MAINTAINERS | 6 +- .../{octeontx_ep.ini => octeon_ep.ini}| 2 +- doc/guides/nics/index.rst | 2 +- .../nics/{octeontx_ep.r

RE: [EXT] Re: [PATCH] drivers: rename octeon ep PMD

2022-06-13 Thread Veerasenareddy Burru
> -Original Message- > From: Thomas Monjalon > Sent: Tuesday, June 7, 2022 8:06 AM > To: Sathesh B Edara > Cc: Ray Kinsella ; Satananda Burla ; > Jerin Jacob Kollanukkaran ; Pradeep Kumar Nalla > ; Radha Chintakuntla ; > Veerasenareddy Burru ; dev@dpdk.org > Subject: [EXT] Re: [PATCH]

RE: [EXT] Re: [PATCH] drivers: rename octeon ep PMD

2022-06-13 Thread Veerasenareddy Burru
> -Original Message- > From: Thomas Monjalon > Sent: Tuesday, June 7, 2022 9:56 AM > To: Sathesh B Edara ; Veerasenareddy Burru > > Cc: Ray Kinsella ; Satananda Burla ; > Jerin Jacob Kollanukkaran ; Pradeep Kumar Nalla > ; Radha Chintakuntla ; > dev@dpdk.org; david.march...@redhat.com

pipeline port in /port out error (swx)

2022-06-13 Thread Pilar Manzanares
Hello, I'm using dpdk-22.03 in an Ubuntu 20.04 Virtual Machine using VirtualBox. Two network devices are binded. ./usertools/dpdk-devbind.py --status Nework devices using DPDK-compatible driver :00:08.0 "8254EM Gigabit" drv=uio_pci_generic unused=e1000,vfio-pci :00:09.0 "8254EM G

[PATCH] config/arm: add PHYTIUM ft2000plus

2022-06-13 Thread luzhipeng
Here adds configs for PHYTIUM server. Signed-off-by: luzhipeng --- config/arm/arm64_ft2000plus_linux_gcc | 16 config/arm/meson.build| 26 +- 2 files changed, 41 insertions(+), 1 deletion(-) create mode 100644 config/arm/arm64_ft2000plus_

[PATCH] config/arm: add PHYTIUM ft2000plus

2022-06-13 Thread luzhipeng
Here adds configs for PHYTIUM server. Signed-off-by: luzhipeng --- config/arm/arm64_ft2000plus_linux_gcc | 16 config/arm/meson.build| 26 +- 2 files changed, 41 insertions(+), 1 deletion(-) create mode 100644 config/arm/arm64_ft2000plus_

Re: [PATCH] config/arm: add PHYTIUM ft2000plus

2022-06-13 Thread luzhipeng
Thanks 在 2022/6/13 11:39, Ruifeng Wang 写道: -Original Message- From: luzhipeng Sent: Friday, June 10, 2022 1:47 PM To: dev@dpdk.org Cc: Jan Viktorin ; Ruifeng Wang ; Bruce Richardson ; luzhipeng Subject: [PATCH] config/arm: add PHYTIUM ft2000plus Here adds configs for PHYTIUM server.

Re: [PATCH] common/cnxk: alloc link map array if HWS is available

2022-06-13 Thread Jerin Jacob
On Fri, Jun 3, 2022 at 10:41 AM Shijith Thotton wrote: > > Link map array is required only if work slots are available. > > Signed-off-by: Shijith Thotton > --- > drivers/common/cnxk/roc_sso.c | 45 +++ Applied to dpdk-next-net-eventdev/for-main. Thanks > 1 fil

Re: [dpdk-dev] [PATCH] common/cnxk: fix channel number setting in MCAM entries

2022-06-13 Thread Jerin Jacob
On Mon, May 2, 2022 at 2:17 PM wrote: > > From: Satheesh Paul > > Adding changes to accommodate the following requirements > while masking the channel number. > 1. For CN10K device, channel number should not be masked >for first pass rules with RTE_FLOW_ACTION_TYPE_SECURITY >action. And c

RE: [PATCH v2 1/2] raw/ifpga/base: add pmci driver

2022-06-13 Thread Huang, Wei
> -Original Message- > From: Zhang, Tianfei > Sent: Monday, June 13, 2022 15:01 > To: Huang, Wei ; dev@dpdk.org; > tho...@monjalon.net; nipun.gu...@nxp.com; hemant.agra...@nxp.com > Cc: sta...@dpdk.org; Xu, Rosen ; Zhang, Qi Z > > Subject: RE: [PATCH v2 1/2] raw/ifpga/base: add pmci dr

Re: [PATCH] common/cnxk: add cnf10kb support

2022-06-13 Thread Jerin Jacob
On Wed, May 11, 2022 at 2:37 PM Harman Kalra wrote: > > Support for cnf10kb soc by adding its PCI device ID > > Signed-off-by: Harman Kalra Please rebase [for-next-net]dell[dpdk-next-net-mrvl] $ git pw series apply 22888 Failed to apply patch: Applying: common/cnxk: add cnf10kb support Using i

[PATCH] test: drop reference to removed tests

2022-06-13 Thread David Marchand
cycles_autotest and delay_us_sleep_autotest tests were removed in the commit ee00af60170b ("test: remove strict timing requirements some tests") and were wrongly reintroduced later. Bugzilla ID: 1021 Fixes: 74822233bdc2 ("test: create a list of extra tests") Cc: sta...@dpdk.org Signed-off-by: Dav

Re: [PATCH 1/1] doc: add author name on cc to git fixline alias

2022-06-13 Thread Ferruh Yigit
On 6/12/2022 12:40 PM, Heinrich Schuchardt wrote: We should add both the author name and the author email address to the Cc: line of a blamed patch. Fixes: f9ef083c6cfe ("doc: add author on cc to git fixline alias") Cc: Harry van Haaren Signed-off-by: Heinrich Schuchardt --- doc/guides/contr

RE: [PATCH 11/12] app/flow-perf: fix build with GCC 12

2022-06-13 Thread Wisam Monther
Hi, > > > -Original Message- > > > From: David Marchand > > > Sent: Wednesday, May 18, 2022 1:17 PM > > > To: dev@dpdk.org > > > Cc: NBU-Contact-Thomas Monjalon (EXTERNAL) > ; > > > ferruh.yi...@xilinx.com; sta...@dpdk.org; Wisam Monther > > > > > > Subject: [PATCH 11/12] app/flow-perf:

Re: [PATCH v2 1/1] common/cnxk: added new macros to platform layer

2022-06-13 Thread Jerin Jacob
On Mon, May 16, 2022 at 10:57 PM Srikanth Yalavarthi wrote: > > Added new platform layer macros for pointer operations, > bitwise operations, spinlocks and 32 bit read and write. > > Signed-off-by: Srikanth Yalavarthi Acked-by: Jerin Jacob Applied to dpdk-next-net-mrvl/for-next-net. Thanks > -

dev@dpdk.org

2022-06-13 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=1032 Bug ID: 1032 Summary: [dpdk 22.07-rc1] app/test/test_cryptodev meson build failed with cflag param optimization=1 on Ubuntu22.04 &&RHEL8.6 with gcc11.2.0&&8.5.0 Product: DPDK

dev@dpdk.org

2022-06-13 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=1033 Bug ID: 1033 Summary: [dpdk 22.07-rc1] app/test-flow-perf meson build failed with cflag param optimization=1 on Ubuntu22.04 &&RHEL8.6 with gcc11.2.0&&8.5.0 Product: DPDK

[PATCH] maintainers: update for testpmd

2022-06-13 Thread Xiaoyun Li
From: "Li, Xiaoyun" Resigning my maintainership for testpmd. Signed-off-by: Li, Xiaoyun --- MAINTAINERS | 1 - 1 file changed, 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 17a0559ee7..4b527291be 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1688,7 +1688,6 @@ F: app/test/sample_

[PATCH] add support for async vhost packed ring dequeue

2022-06-13 Thread Cheng Jiang
This patch implements packed ring dequeue data path for asynchronous vhost. Signed-off-by: Cheng Jiang Reviewed-by: Maxime Coquelin --- lib/vhost/virtio_net.c | 218 - 1 file changed, 192 insertions(+), 26 deletions(-) diff --git a/lib/vhost/virtio_net.c

RE: [PATCH] maintainers: update for testpmd

2022-06-13 Thread Zhang, Yuying
Hi Xiaoyun, > -Original Message- > From: Li, Xiaoyun > Sent: Monday, June 13, 2022 4:37 PM > To: dev@dpdk.org; Zhang, Yuying ; Singh, Aman > Deep > Cc: Li, Xiaoyun ; Li > Subject: [PATCH] maintainers: update for testpmd > > From: "Li, Xiaoyun" > > Resigning my maintainership for testp

[PATCH v4] sched: enable CMAN at runtime

2022-06-13 Thread Marcin Danilewicz
Added changes to enable CMAN (RED or PIE) at init from profile configuration file. By default CMAN code is enable but not in use, when there is no RED or PIE profile configured. Signed-off-by: Marcin Danilewicz --- Log: v2 change in rte_sched.h to avoid ABI breakage. v3 changes from comment

Re: [PATCH v3 0/2] fix uncallable unit tests (Bugzilla 1002)

2022-06-13 Thread David Marchand
On Fri, Jun 10, 2022 at 4:24 PM Bruce Richardson wrote: > > The dump* unit tests are uncallable from our test framework because the > command > validation in the unit test binary is incorrect. Rather than trying to fix > this > directly in the binary, a better approach is to add command validati

Re: [PATCH 3/3] ci: use crossbuild-essential-riscv64 for compiling

2022-06-13 Thread David Marchand
On Thu, Jun 9, 2022 at 2:17 PM Stanislaw Kardach wrote: > > The current packages installed for RISC-V build check do not contain a > C++ compiler, which hid an issue with C++ type conversion in the > rte_vect.h header on RISC-V or in the scalar implementation of the LPM > x4 lookup. Now that this

Re: [PATCH 2/3] lpm: fix xmm_t casting for C++ in scalar version

2022-06-13 Thread David Marchand
On Thu, Jun 9, 2022 at 2:17 PM Stanislaw Kardach wrote: > > rte_xmm_t is a union type which wraps around xmm_t and maps its contents > to scalar structures. Since C++ has stricter type conversion rules than > C, the rte_xmm_t::x has to be used instead of C-casting. > > The generated assembly is id

Re: [PATCH 1/3] eal/riscv: fix xmm_t casting for C++

2022-06-13 Thread David Marchand
On Thu, Jun 9, 2022 at 2:17 PM Stanislaw Kardach wrote: > > rte_xmm_t is a union type which wraps around xmm_t and maps its contents > to scalar structures. Since C++ has stricter type conversion rules than > C, the rte_xmm_t::x has to be used instead of C-casting. > Fixes: f22e705ebf12 ("eal/ris

Re: [PATCH 1/1] doc: expand description of no-huge and PMD issue

2022-06-13 Thread David Marchand
On Thu, Jun 9, 2022 at 3:40 PM Stanislaw Kardach wrote: > > Add more details to the description of a known issue of PMDs not being > usable when --no-huge EAL command line parameter is used. The issue > actually happens whenever there is a need for physical addresses, even > when there is no PMD a

Re: [Bug 1030] rte_malloc() and rte_free() get stuck when used with signal handler

2022-06-13 Thread Sarosh Arif
Thank you for help, I'll do it this way. On Sat, Jun 11, 2022 at 9:25 PM Mattias Rönnblom wrote: > > On 2022-06-10 08:04, Sarosh Arif wrote: > > On Thu, Jun 9, 2022 at 8:26 PM Stephen Hemminger > > wrote: > >> > >> On Thu, 09 Jun 2022 12:47:43 + > >> bugzi...@dpdk.org wrote: > >> > >>> https

[PATCH] common/cnxk: update extra stats for inline device

2022-06-13 Thread Rakesh Kudurumalla
inline device NIX RX and RQ stats are updated on PKTIO extra stats Signed-off-by: Rakesh Kudurumalla --- drivers/common/cnxk/roc_nix_stats.c | 179 +-- drivers/common/cnxk/roc_nix_xstats.h | 29 - 2 files changed, 144 insertions(+), 64 deletions(-) diff --git a/dri

[PATCH v2] test/crypto: fix warnings for optimization=1 build

2022-06-13 Thread Rahul Lakkireddy
Fail IPSec ESN and antireplay cases, if there are no packets. Fixes following warning when using optimization=1 build flag with GCC 11. ../app/test/test_cryptodev.c: In function ‘test_ipsec_pkt_replay’: ../app/test/test_cryptodev.c:10074:15: warning: ‘td_outb’ may be used uninitialized [-Wmaybe-u

RE: [EXT] [PATCH v2] test/crypto: fix warnings for optimization=1 build

2022-06-13 Thread Anoob Joseph
> Fail IPSec ESN and antireplay cases, if there are no packets. Fixes following > warning when using optimization=1 build flag with GCC 11. > > ../app/test/test_cryptodev.c: In function ‘test_ipsec_pkt_replay’: > ../app/test/test_cryptodev.c:10074:15: warning: ‘td_outb’ may be used > uninitialized

Re: [PATCH] config: remove explicit undef of unset values

2022-06-13 Thread Bruce Richardson
On Thu, Dec 16, 2021 at 11:14:30AM +, Bruce Richardson wrote: > Rather than explicitly clearing any setting of undefined values in our > rte_config.h file, it's better to instead just add a comment that the > value is not set. Using a comment allows the user to set the value using > CFLAGS or s

Re: [PATCH] app/flow-perf: fix logic to add comma every three digits

2022-06-13 Thread Rahul Lakkireddy
On Friday, June 06/10/22, 2022 at 16:45:22 -0700, Stephen Hemminger wrote: > On Sat, 11 Jun 2022 03:36:43 +0530 > Rahul Lakkireddy wrote: > > > Add comma after 1 in 1000 too, like 1,000. Also, since max uint64_t is > > a 20 digit number, increase space in temporary array to hold 20 digits. > > Fi

RE: [RFC PATCH v1] net/i40e: put mempool cache out of API

2022-06-13 Thread Morten Brørup
> From: Feifei Wang [mailto:feifei.wa...@arm.com] > Sent: Monday, 13 June 2022 07.52 > > Refer to "i40e_tx_free_bufs_avx512", this patch puts mempool cache > out of API to free buffers directly. There are two changes different > with previous version: > 1. change txep from "i40e_entry" to "i40e_ve

RE: [PATCH] config: remove explicit undef of unset values

2022-06-13 Thread Morten Brørup
> From: Bruce Richardson [mailto:bruce.richard...@intel.com] > Sent: Monday, 13 June 2022 11.55 > To: dev@dpdk.org > Cc: david.march...@redhat.com; junx.d...@intel.com > Subject: Re: [PATCH] config: remove explicit undef of unset values > > On Thu, Dec 16, 2021 at 11:14:30AM +, Bruce Richardso

RE: [EXT] Re: [PATCH] devtools: ensure proper tag sequence

2022-06-13 Thread Jakub Palider
> -Original Message- > From: Thomas Monjalon > Sent: Sunday, June 12, 2022 10:29 PM > To: Jakub Palider > Cc: dev@dpdk.org; david.march...@redhat.com > Subject: [EXT] Re: [PATCH] devtools: ensure proper tag sequence > > External Email > >

[PATCH v9 0/4] add an api to support proto based buffer split

2022-06-13 Thread wenxuanx . wu
From: Wenxuan Wu Protocol type based buffer split consists of splitting a received packet into several separate segments based on the packet content. It is useful in some scenarios, such as GPU acceleration. The splitting will help to enable true zero copy and hence improve the performance signif

[PATCH v9 1/4] ethdev: introduce protocol header API

2022-06-13 Thread wenxuanx . wu
From: Wenxuan Wu This patch added new ethdev API to retrieve supported protocol header mask of a PMD, which helps to configure protocol header based buffer split. Signed-off-by: Wenxuan Wu --- doc/guides/rel_notes/release_22_07.rst | 2 ++ lib/ethdev/ethdev_driver.h | 18 +

[PATCH v9 2/4] ethdev: introduce protocol hdr based buffer split

2022-06-13 Thread wenxuanx . wu
From: Wenxuan Wu Currently, Rx buffer split supports length based split. With Rx queue offload RTE_ETH_RX_OFFLOAD_BUFFER_SPLIT enabled and Rx packet segment configured, PMD will be able to split the received packets into multiple segments. However, length based buffer split is not suitable for N

[PATCH v9 3/4] app/testpmd: add rxhdrs commands and parameters

2022-06-13 Thread wenxuanx . wu
From: Wenxuan Wu Add command line parameter: --rxhdrs=mac,[ipv4,udp] Set the protocol_hdr of segments to scatter packets on receiving if split feature is engaged. And the queues with BUFFER_SPLIT flag. Add interactive mode command: testpmd>set rxhdrs mac,ipv4,l3,tcp,udp,sctp (protocol sequence

[PATCH v9 4/4] net/ice: support buffer split in Rx path

2022-06-13 Thread wenxuanx . wu
From: Wenxuan Wu This patch adds support for protocol based buffer split in normal Rx data paths. When the Rx queue is configured with specific protocol type, packets received will be directly split into protocol header and payload parts limitation of ice pmd. And the two parts will be put into d

[PATCH] common/cnxk: update CN103XX subsystem device ID

2022-06-13 Thread Rahul Bhansali
Updates the subsystem device ID for CN103XX. Signed-off-by: Rahul Bhansali --- drivers/common/cnxk/roc_constants.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/common/cnxk/roc_constants.h b/drivers/common/cnxk/roc_constants.h index d7a8bd23e2..2553d4d8fc 100644 --

RE: [EXT] Re: [PATCH 01/12] common/cpt: fix build with GCC 12

2022-06-13 Thread Ankur Dwivedi
Hi David, >-Original Message- >From: David Marchand >Sent: Friday, June 10, 2022 6:42 PM >To: Anoob Joseph ; Ankur Dwivedi > >Cc: Thomas Monjalon ; Ferruh Yigit >; dpdk stable ; dev >; Akhil Goyal ; Jerin Jacob >Kollanukkaran >Subject: [EXT] Re: [PATCH 01/12] common/cpt: fix build with G

[PATCH v2] common/cnxk: add cnf10kb support

2022-06-13 Thread Harman Kalra
Support for cnf10kb soc by adding its PCI device ID Signed-off-by: Harman Kalra --- V2: - Rebased to fix apply conflicts. drivers/common/cnxk/roc_constants.h | 1 + drivers/event/cnxk/cn10k_eventdev.c | 2 ++ drivers/mempool/cnxk/cnxk_mempool.c | 2 ++ drivers/net/cnxk/cn10k_ethdev.c | 3 +

[PATCH] pipeline: fix comparison

2022-06-13 Thread Cristian Dumitrescu
From: Harshad Narayane Fix comparison used to check against the maximum number of learner table timeouts. Fixes: e2ecc53582fb ("pipeline: improve learner table timers") Signed-off-by: Harshad Narayane Signed-off-by: Cristian Dumitrescu --- lib/pipeline/rte_swx_pipeline.c | 2 +- 1 file chang

Re: [v9, 00/10] Add JSON vector set support to fips validation

2022-06-13 Thread David Marchand
On Tue, Jun 7, 2022 at 11:48 AM David Marchand wrote: > On Tue, May 31, 2022 at 5:23 PM Akhil Goyal wrote: > > > > > > Subject: [v9, 00/10] Add JSON vector set support to fips validation > > > > > > > > Adds a very basic introduction to JSON vector sets in > > > > the fips validation example appl

Re: [PATCH v2 1/6] Revert "app/testpmd: modify mac in csum forwarding"

2022-06-13 Thread Singh, Aman Deep
Hi Maxime, On 6/8/2022 6:19 PM, Maxime Coquelin wrote: This patch reverts commit 10f4620f02e1 ("app/testpmd: modify mac in csum forwarding"), as the checksum forwarding is expected to only perform checksum and not also overwrites the source and destination MAC addresses. Doing so, we can test

Re: [PATCH] config: remove explicit undef of unset values

2022-06-13 Thread David Marchand
On Mon, Jun 13, 2022 at 11:54 AM Bruce Richardson wrote: > On Thu, Dec 16, 2021 at 11:14:30AM +, Bruce Richardson wrote: > > Rather than explicitly clearing any setting of undefined values in our > > rte_config.h file, it's better to instead just add a comment that the > > value is not set. Us

Re: [PATCH] config: remove explicit undef of unset values

2022-06-13 Thread Bruce Richardson
On Mon, Jun 13, 2022 at 02:26:14PM +0200, David Marchand wrote: > On Mon, Jun 13, 2022 at 11:54 AM Bruce Richardson > wrote: > > On Thu, Dec 16, 2021 at 11:14:30AM +, Bruce Richardson wrote: > > > Rather than explicitly clearing any setting of undefined values in our > > > rte_config.h file, i

Re: [PATCH] net/cnxk: fix crash in IPsec telemetry

2022-06-13 Thread Jerin Jacob
On Thu, May 19, 2022 at 5:52 PM David Marchand wrote: > > Calling this telemetry callback with no argument caused a crash. > > Fixes: 41cc645c214f ("net/cnxk: add inline IPsec telemetry for CN9K") > Cc: sta...@dpdk.org > > Signed-off-by: David Marchand Applied to dpdk-next-net-mrvl/for-next-net

Re: [PATCH 3/6] eal: add basic rte thread ID equal API

2022-06-13 Thread Tyler Retzlaff
On Sat, Jun 11, 2022 at 01:25:56PM +0100, Konstantin Ananyev wrote: > > >>>Add rte_thread_equal() that tests if two rte_thread_id are equal. > >>> > >>>Signed-off-by: Narcisa Vasile > >>>Signed-off-by: Tyler Retzlaff > >>>--- > >>> lib/eal/common/rte_thread.c | 6 ++ > >>> lib/eal/include

Re: [EXT] Re: [PATCH] devtools: ensure proper tag sequence

2022-06-13 Thread Thomas Monjalon
13/06/2022 12:35, Jakub Palider: > > -Original Message- > > From: Thomas Monjalon > > Sent: Sunday, June 12, 2022 10:29 PM > > To: Jakub Palider > > Cc: dev@dpdk.org; david.march...@redhat.com > > Subject: [EXT] Re: [PATCH] devtools: ensure proper tag sequence > > > > External Email > >

Re: [PATCH] eal: fix segment fault when exit trace

2022-06-13 Thread David Marchand
On Tue, Jun 7, 2022 at 2:26 PM fengchengwen wrote: > Hi Bruce, > > Could you please test freebsd platform? I think it also have > the same problem, but I hasn't freebsd enviorment. I can reproduce a crash with FreeBSD 13. Moving rte_trace_save() and co earlier (as is done for Linux in this pro

Re: [PATCH] config: remove explicit undef of unset values

2022-06-13 Thread David Marchand
On Mon, Jun 13, 2022 at 2:37 PM Bruce Richardson wrote: > > I'd like a check like (below), to avoid new additions: > > > > diff --git a/devtools/checkpatches.sh b/devtools/checkpatches.sh > > index 34a2e43845..8dae47165e 100755 > > --- a/devtools/checkpatches.sh > > +++ b/devtools/checkpatches.sh

Re: [PATCH] config: remove explicit undef of unset values

2022-06-13 Thread Tyler Retzlaff
On Mon, Jun 13, 2022 at 10:54:33AM +0100, Bruce Richardson wrote: > On Thu, Dec 16, 2021 at 11:14:30AM +, Bruce Richardson wrote: > > Rather than explicitly clearing any setting of undefined values in our > > rte_config.h file, it's better to instead just add a comment that the > > value is not

Re: [PATCH] config: remove explicit undef of unset values

2022-06-13 Thread Bruce Richardson
On Mon, Jun 13, 2022 at 04:20:04PM +0200, David Marchand wrote: > On Mon, Jun 13, 2022 at 2:37 PM Bruce Richardson > wrote: > > > I'd like a check like (below), to avoid new additions: > > > > > > diff --git a/devtools/checkpatches.sh b/devtools/checkpatches.sh > > > index 34a2e43845..8dae47165e 1

Re: [PATCH v7] net/i40e: add outer VLAN processing

2022-06-13 Thread Ben Magistro
Thanks for the information on 8.4. Unfortunately most of NICs are from Dell so will need to push them to produce another update package and would prefer to wait till we know what is required to fix our issue. I loaded 8.6 and 8.7 on one of our test hosts and our issue still exists so will continu

[PATCH] net/af_xdp: allow using copy mode in XSK

2022-06-13 Thread Xiaoyun Li
DPDK assumes that users only want AF_XDP socket (XSK) into zero copy mode when the kernel supports it. However, sometimes kernel driver doesn't support it well and copy mode is more stable and preferred. This patch allows using devarg "-a xx:xx.x,no_zerocopy=1" to force the AF_XDP socket into copy

[PATCH 2/2] lib/power:fix comparision to bool warning

2022-06-13 Thread 835703180
From: newsky647 <835703...@qq.com> expr "if ([expr] == true)" can be simplified to "if ([expr])". Therefore, simplify it, no functional change. Fixes: 450f0791312 ("lib/power: power: add traffic pattern aware power control" Signed-off-by: newsky647 <835703...@qq.com> --- lib/power/rte_power_emp

Re: [PATCH v7] eal: add bus cleanup to eal cleanup

2022-06-13 Thread Bruce Richardson
On Tue, Jun 07, 2022 at 05:12:02PM +0200, David Marchand wrote: > On Tue, Jun 7, 2022 at 1:09 PM Thomas Monjalon wrote: > > > > 03/06/2022 16:36, Kevin Laatz: > > > During EAL init, all buses are probed and the devices found are > > > initialized. On eal_cleanup(), the inverse does not happen, mea

[dpdk-dev v3 0/4] crypto/openssl: EVP api update for 3.0 lib

2022-06-13 Thread Kai Ji
This patch set update openssl pmd deprecated APIs to EVP APIs where supported in openssl 3.0 lib --- v3: - rebase to 22.07 rc1 v2: - addin DSA routine Kai Ji (4): crypto/openssl: 3.0 EVP update on HMAC routine crypto/openssl: 3.0 EVP update on RSA routine crypto/openssl: 3.0 EVP update on

[dpdk-dev v3 1/4] crypto/openssl: 3.0 EVP update on HMAC routine

2022-06-13 Thread Kai Ji
This patch update the symmetric HMAC routine in crypto openssl pmd to adopt openssl 3.0 EVP apis. Signed-off-by: Kai Ji --- drivers/crypto/openssl/openssl_pmd_private.h | 4 + drivers/crypto/openssl/rte_openssl_pmd.c | 187 ++- 2 files changed, 181 insertions(+), 10 deletio

[dpdk-dev v3 3/4] crypto/openssl: 3.0 EVP update on DH routine

2022-06-13 Thread Kai Ji
This patch updates asymmetric DH routine in crypto openssl pmd to adopt openssl 3.0 EVP apis. Signed-off-by: Kai Ji --- drivers/crypto/openssl/openssl_pmd_private.h | 4 + drivers/crypto/openssl/rte_openssl_pmd.c | 185 +++ drivers/crypto/openssl/rte_openssl_pmd_ops.c | 47

[dpdk-dev v3 2/4] crypto/openssl: 3.0 EVP update on RSA routine

2022-06-13 Thread Kai Ji
This patch updates asymmetric RSA routine in crypto openssl pmd to adopt openssl 3.0 EVP apis. Signed-off-by: Kai Ji --- drivers/crypto/openssl/openssl_pmd_private.h | 7 + drivers/crypto/openssl/rte_openssl_pmd.c | 149 +++ drivers/crypto/openssl/rte_openssl_pmd_ops.c | 11

[dpdk-dev v3 4/4] crypto/openssl: 3.0 EVP update on DSA routine

2022-06-13 Thread Kai Ji
This patch updates asymmetric DSA routine in crypto openssl pmd to adopt openssl 3.0 EVP apis. Divide the single combined dsa sign test to two indiviual dsa sign and dsa verfiy tests. Signed-off-by: Kai Ji --- app/test/test_cryptodev_asym.c | 90 -- drivers/crypto/openssl/

[dpdk-dev v7] crypto/qat: use intel-ipsec-mb for partial hash & aes

2022-06-13 Thread Kai Ji
Since openssl 3.0 now deprecates the low level API QAT required to perform partial hash & aes operation when creating the session. This patch add in qat_ipsec_mb_lib driver parameter to allow QAT PMD to switch APIs between openssl and intel ipsec-mb library. Signed-off-by: Kai Ji Signed-off-by: F

[PATCH] pipeline: fix packet mirroring configuration

2022-06-13 Thread Cristian Dumitrescu
Fix segmentation fault due to null pointer dereferencing inside the "mirror" instruction when number of mirroring slots is set to 0. This was taking place when the "mirror" instruction was used without the mirror feature being properly configured, i.e. the API function rte_swx_pipeline_mirroring_co

[PATCH V2] pipeline: fix packet mirroring configuration

2022-06-13 Thread Cristian Dumitrescu
Fix segmentation fault due to null pointer dereferencing inside the "mirror" instruction when number of mirroring slots is set to 0. This was taking place when the "mirror" instruction was used without the mirror feature being properly configured, i.e. the API function rte_swx_pipeline_mirroring_co

[PATCH v3] event/dlb2: fix advertized capabilities

2022-06-13 Thread Timothy McDaniel
This commit corrects the advertized capabilities reported by the DLB2 PMD. Previously DLB2 reported supporting RTE_EVENT_DEV_CAP_QUEUE_QOS, but the DLB2 hardware does not support such capability. This commit removes that feature from the reported capabilities feature set. Additionally, two capabi

[PATCH v1] bbdev: allow operation type enum for growth

2022-06-13 Thread Nicolas Chautru
Hi Thomas, I would like to get your view on this topic and best recommendation moving forward. This is related to the general intent to remove using MAX value for enums. There is consensus that we should avoid this for a while notably for future-proofed ABI concerns https://patches.dpdk.org/

[PATCH v1] bbdev: allow operation type enum for growth

2022-06-13 Thread Nicolas Chautru
Updating the last enum for rte_bbdev_op_type to allow for enum insertion. Signed-off-by: Nicolas Chautru --- lib/bbdev/rte_bbdev.c| 5 - lib/bbdev/rte_bbdev_op.h | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/lib/bbdev/rte_bbdev.c b/lib/bbdev/rte_bbdev.c index aae

Re: [PATCH v1] bbdev: allow operation type enum for growth

2022-06-13 Thread Stephen Hemminger
On Mon, 13 Jun 2022 11:24:35 -0700 Nicolas Chautru wrote: > Updating the last enum for rte_bbdev_op_type > to allow for enum insertion. > > Signed-off-by: Nicolas Chautru Only allowed if you check now for the any of the reserved types and fail.

RE: [PATCH v1] bbdev: allow operation type enum for growth

2022-06-13 Thread Chautru, Nicolas
Hi Stephen, > -Original Message- > From: Stephen Hemminger > Sent: Monday, June 13, 2022 12:48 PM > To: Chautru, Nicolas > Cc: dev@dpdk.org; tho...@monjalon.net; maxime.coque...@redhat.com; > t...@redhat.com; m...@ashroe.eu; Richardson, Bruce > ; hemant.agra...@nxp.com; > david.march...

[PATCH v9] event/dlb2: add support for single 512B write of 4 QEs

2022-06-13 Thread Timothy McDaniel
On Xeon, 512b accesses are available, so movdir64 instruction is able to perform 512b read and write to DLB producer port. In order for movdir64 to be able to pull its data from store buffers (store-buffer-forwarding) (before actual write), data should be in single 512b write format. This commit ad

[PATCH v2] devtools: ensure proper tag sequence

2022-06-13 Thread jpalider
From: Jakub Palider This change to log checking procedure ensures that certain tags are in proper order. The order of tags is as follows: * Coverity issue * Bugzilla ID * Fixes * Cc * * Suggested-by * Reported-by + Signed-off-by where: * => 0 or more than one instance possible + => mor

RE: [PATCH] net/af_xdp: allow using copy mode in XSK

2022-06-13 Thread Zhang, Qi Z
> -Original Message- > From: Li, Xiaoyun > Sent: Monday, June 13, 2022 11:13 PM > To: Loftus, Ciara ; Zhang, Qi Z > ; dev@dpdk.org > Cc: Li, Xiaoyun > Subject: [PATCH] net/af_xdp: allow using copy mode in XSK > > DPDK assumes that users only want AF_XDP socket (XSK) into zero copy mod

RE: [PATCH v7] net/i40e: add outer VLAN processing

2022-06-13 Thread Zhang, Yuying
Hi Kevin, > -Original Message- > From: Liu, KevinX > Sent: Saturday, June 11, 2022 12:30 AM > To: dev@dpdk.org > Cc: Zhang, Yuying ; Xing, Beilei > ; Yang, SteveX ; Zhang, > RobinX ; Liu, KevinX > Subject: [PATCH v7] net/i40e: add outer VLAN processing > > From: Robin Zhang > > Outer

RE: [PATCH v7] net/i40e: add outer VLAN processing

2022-06-13 Thread Liu, KevinX
Hi, Yuying > -Original Message- > From: Zhang, Yuying > Sent: 2022年6月14日 10:44 > To: Liu, KevinX ; dev@dpdk.org > Cc: Xing, Beilei ; Yang, SteveX > ; Zhang, RobinX > Subject: RE: [PATCH v7] net/i40e: add outer VLAN processing > > Hi Kevin, > > > -Original Message- > > From: Liu

[RFC] net/ice: support represented port flow action

2022-06-13 Thread zhichaox . zeng
From: Zhichao Zeng Add support for action REPRESENTED_PORT, which send traffic to the VF represented by the given ethdev. Signed-off-by: Zhichao Zeng --- doc/guides/nics/features/ice.ini| 1 + drivers/net/ice/ice_switch_filter.c | 43 + 2 files changed, 44 inse