RE: [dpdk-dev] [PATCH] ring: fix use after free in ring release

2023-04-19 Thread wangyunjian
> -Original Message- > From: Honnappa Nagarahalli [mailto:honnappa.nagaraha...@arm.com] > Sent: Wednesday, April 19, 2023 7:53 AM > To: wangyunjian ; dev@dpdk.org > Cc: konstantin.v.anan...@yandex.ru; luyicai ; > sta...@dpdk.org; nd ; Honnappa Nagarahalli > ; nd > Subject: RE: [dpdk-dev

[RFC] lib: set/get max memzone segments

2023-04-19 Thread Ophir Munk
In current DPDK the RTE_MAX_MEMZONE definition is unconditionally hard coded as 2560. For applications requiring different values of this parameter – it is more convenient to set the max value via an rte API - rather than changing the dpdk source code per application. In many organizations, the p

RE: 20.11.8 patches review and test

2023-04-19 Thread Ali Alnubani
> -Original Message- > From: Ali Alnubani > Sent: Wednesday, April 12, 2023 6:15 PM > To: luca.bocca...@gmail.com; sta...@dpdk.org > Cc: dev@dpdk.org; Abhishek Marathe ; > benjamin.wal...@intel.com; David Christensen ; > Hemant Agrawal ; Ian Stokes > ; Jerin Jacob ; John McNamara > ; Ju-Hy

Re: [RFC 05/27] vhost: add helper for IOTLB entries shared page check

2023-04-19 Thread Maxime Coquelin
Hi Mike, On 4/17/23 21:39, Mike Pattrick wrote: Hi Maxime, On Fri, Mar 31, 2023 at 11:43 AM Maxime Coquelin wrote: This patch introduces a helper to check whether two IOTLB entries share a page. Signed-off-by: Maxime Coquelin --- lib/vhost/iotlb.c | 25 - 1 file

[RFC PATCH 1/5] eventdev: add power monitoring API on event port

2023-04-19 Thread Sivaprasad Tummala
A new API to allow power monitoring condition on event port to optimize power when no events are arriving on an event port for the worker core to process in an eventdev based pipelined application. Signed-off-by: Sivaprasad Tummala --- lib/eventdev/eventdev_pmd.h | 23 +++ li

[RFC PATCH 2/5] event/sw: support power monitor

2023-04-19 Thread Sivaprasad Tummala
Currently sw eventdev pmd does not support ``rte_power_monitor`` api. This patch adds support by adding monitor callback that is called whenever we enter sleep state and need to check if it is time to wake up. Signed-off-by: Sivaprasad Tummala --- drivers/event/sw/sw_evdev.c| 2 ++ driv

[RFC PATCH 3/5] eventdev: support optional dequeue callbacks

2023-04-19 Thread Sivaprasad Tummala
Add optional support for inline event processing within dequeue call. For a dequeue callback, events dequeued from the event port were passed them to a callback function if configured, to allow additional processing. e.g. unpack batch of packets from each event on dequeue, before passing back to th

[RFC PATCH 4/5] power: add eventdev support for power management

2023-04-19 Thread Sivaprasad Tummala
Add eventdev support to enable power saving when no events are arriving. It is based on counting the number of empty polls and, when the number reaches a certain threshold, entering an architecture-defined optimized power state that will either wait until a TSC timestamp expires, or when events arr

[RFC PATCH 5/5] examples/eventdev_p: add eventdev power management

2023-04-19 Thread Sivaprasad Tummala
From: Sivaprasad Tummala Add power management feature support to eventdev_pipeline sample app. Signed-off-by: Sivaprasad Tummala --- examples/eventdev_pipeline/main.c | 15 ++- examples/eventdev_pipeline/pipeline_common.h | 1 + .../eventdev_pipeline/pipeline_

Re: [RFC PATCH 1/5] eventdev: add power monitoring API on event port

2023-04-19 Thread Jerin Jacob
On Wed, Apr 19, 2023 at 3:24 PM Sivaprasad Tummala wrote: > > A new API to allow power monitoring condition on event port to > optimize power when no events are arriving on an event port for > the worker core to process in an eventdev based pipelined application. > > Signed-off-by: Sivaprasad Tumm

[PATCH] net/ice: CVL support double vlan

2023-04-19 Thread Mingjin Ye
Aligned with kernel driver, optimized for inner and outer VLAN handling in DPDK, and implemented double vlan insertion and stripping support. 1.adjust vlan stripping Remove the judgment on dvm, vlan stripping only operates inner vlan. 2.support QinQ stripping This patch support ice outer vlan str

Re: 21.11.4 patches review and test

2023-04-19 Thread YangHang Liu
Hi, Kevin RedHat QE does not find new issues about the v21.11.4-rc1 dpdk during the tests. We tested below 18 scenarios and all got PASS on RHEL9: - Guest with device assignment(PF) throughput testing(1G hugepage size): PASS - Guest with device assignment(PF) throughput testing(2M hugep

Re: Event device early back-pressure indication

2023-04-19 Thread Jerin Jacob
On Mon, Apr 17, 2023 at 9:06 PM Mattias Rönnblom wrote: > > On 2023-04-17 14:52, Jerin Jacob wrote: > > On Thu, Apr 13, 2023 at 12:24 PM Mattias Rönnblom > > wrote: > >> > >> > >> void > >> rte_event_return_new_credits(...); > >> > >> Thoughts? > > > > I see the following cons on this approach. >

Re: Consult the official release version of dpdk-kmod

2023-04-19 Thread Thomas Monjalon
Hello, I don't know what should be a release of dpdk-kmod. When to have a new tag? About your need for Linux, there is only igb_uio which is considered as deprecated. It is better replaced with VFIO (note there is a no-iommu option). Why do you really need igb_uio? 13/04/2023 15:14, wangzengyu

Re: [PATCH v5] enhance NUMA affinity heuristic

2023-04-19 Thread Thomas Monjalon
13/04/2023 02:56, You, KaisenX: > From: You, KaisenX > > From: Thomas Monjalon > > > > > > I'm not comfortable with this patch. > > > > > > First, there is no comment in the code which helps to understand the > > > logic. > > > Second, I'm afraid changing the value of the per-core variable > > >

Re: [PATCH v4] app/testpmd: txonly multiflow port change support

2023-04-19 Thread Singh, Aman Deep
On 4/12/2023 11:46 PM, Joshua Washington wrote: Google cloud routes traffic using IP addresses without the support of MAC addresses, so changing source IP address for txonly-multi-flow can have negative performance implications for net/gve when using testpmd. This patch updates txonly multiflow

Re: 20.11.8 patches review and test

2023-04-19 Thread Luca Boccassi
On Wed, 19 Apr 2023 at 10:22, Ali Alnubani wrote: > > > -Original Message- > > From: Ali Alnubani > > Sent: Wednesday, April 12, 2023 6:15 PM > > To: luca.bocca...@gmail.com; sta...@dpdk.org > > Cc: dev@dpdk.org; Abhishek Marathe ; > > benjamin.wal...@intel.com; David Christensen ; > > He

RE: 20.11.8 patches review and test

2023-04-19 Thread Ali Alnubani
> -Original Message- > From: Luca Boccassi > Sent: Wednesday, April 19, 2023 4:02 PM > To: Ali Alnubani > Cc: sta...@dpdk.org; dev@dpdk.org; John McNamara > ; Kevin Traynor ; > Raslan Darawsheh ; NBU-Contact-Thomas Monjalon > (EXTERNAL) > Subject: Re: 20.11.8 patches review and test > >

Re: 20.11.8 patches review and test

2023-04-19 Thread David Marchand
Hello Ali, On Wed, Apr 19, 2023 at 11:22 AM Ali Alnubani wrote: > I see this documentation build failure on Fedora 37: > > $ ninja-build -C build doc > [..] > [2/4] Generating doc/api/doxygen with a custom command > FAILED: doc/api/html > /root/dpdk/doc/api/generate_doxygen.sh doc/api/doxy-api.co

RE: 20.11.8 patches review and test

2023-04-19 Thread Ali Alnubani
> -Original Message- > From: David Marchand > Sent: Wednesday, April 19, 2023 4:12 PM > To: Ali Alnubani > Cc: luca.bocca...@gmail.com; sta...@dpdk.org; dev@dpdk.org; Abhishek > Marathe ; > benjamin.wal...@intel.com; David Christensen ; > Hemant Agrawal ; Ian Stokes > ; Jerin Jacob ; John

RE: 21.11.4 patches review and test

2023-04-19 Thread Ali Alnubani
> -Original Message- > From: Kevin Traynor > Sent: Thursday, April 6, 2023 2:38 PM > To: sta...@dpdk.org > Cc: dev@dpdk.org; Abhishek Marathe ; > Ali Alnubani ; benjamin.wal...@intel.com; David > Christensen ; Hemant Agrawal > ; Ian Stokes ; Jerin > Jacob ; John McNamara ; > Ju-Hyoung Lee

Re: 20.11.8 patches review and test

2023-04-19 Thread David Marchand
On Wed, Apr 19, 2023 at 3:14 PM Ali Alnubani wrote: > > > > I don't think this function prototype is really different in the 20.11 > > stable branch (putting the __rte_internal tag aside). > > Can you trigger this issue on the main branch? > > > > The main branch doesn't reproduce on the same envi

RE: [PATCH] test/crypto: add cryptodev reconfig test

2023-04-19 Thread O'Donovan, Saoirse
Hi Aakash, > -Original Message- > From: Aakash Sasidharan > Sent: Wednesday 5 April 2023 08:41 > To: Akhil Goyal ; Fan Zhang > > Cc: jer...@marvell.com; ano...@marvell.com; dev@dpdk.org; > asasidha...@marvell.com > Subject: [PATCH] test/crypto: add cryptodev reconfig test > > Add crypto

RE: [EXT] [RFC] lib: set/get max memzone segments

2023-04-19 Thread Devendra Singh Rawat
>diff --git a/drivers/net/qede/base/bcm_osal.c >b/drivers/net/qede/base/bcm_osal.c >index 2c59397..f195f2c 100644 >--- a/drivers/net/qede/base/bcm_osal.c >+++ b/drivers/net/qede/base/bcm_osal.c >@@ -47,10 +47,26 @@ void osal_poll_mode_dpc(osal_int_ptr_t >hwfn_cookie) } > > /* Array of memzone poi

Re: 20.11.8 patches review and test

2023-04-19 Thread Luca Boccassi
On Wed, 19 Apr 2023 at 14:25, David Marchand wrote: > > On Wed, Apr 19, 2023 at 3:14 PM Ali Alnubani wrote: > > > > > > I don't think this function prototype is really different in the 20.11 > > > stable branch (putting the __rte_internal tag aside). > > > Can you trigger this issue on the main b

Re: 21.11.4 patches review and test

2023-04-19 Thread Kevin Traynor
On 19/04/2023 14:24, Ali Alnubani wrote: -Original Message- From: Kevin Traynor Sent: Thursday, April 6, 2023 2:38 PM To: sta...@dpdk.org Cc: dev@dpdk.org; Abhishek Marathe ; Ali Alnubani ; benjamin.wal...@intel.com; David Christensen ; Hemant Agrawal ; Ian Stokes ; Jerin Jacob ; John Mc

RE: 20.11.8 patches review and test

2023-04-19 Thread Ali Alnubani
> -Original Message- > From: Luca Boccassi > Sent: Wednesday, April 19, 2023 5:15 PM > To: David Marchand > Cc: Ali Alnubani ; sta...@dpdk.org; dev@dpdk.org; > Abhishek Marathe ; > benjamin.wal...@intel.com; David Christensen ; > Hemant Agrawal ; Ian Stokes > ; Jerin Jacob ; John McNamara

Re: 20.11.8 patches review and test

2023-04-19 Thread Kevin Traynor
On 19/04/2023 15:23, Ali Alnubani wrote: -Original Message- From: Luca Boccassi Sent: Wednesday, April 19, 2023 5:15 PM To: David Marchand Cc: Ali Alnubani ; sta...@dpdk.org; dev@dpdk.org; Abhishek Marathe ; benjamin.wal...@intel.com; David Christensen ; Hemant Agrawal ; Ian Stokes ; Je

Re: 20.11.8 patches review and test

2023-04-19 Thread Luca Boccassi
On Wed, 19 Apr 2023 at 15:26, Kevin Traynor wrote: > > On 19/04/2023 15:23, Ali Alnubani wrote: > >> -Original Message- > >> From: Luca Boccassi > >> Sent: Wednesday, April 19, 2023 5:15 PM > >> To: David Marchand > >> Cc: Ali Alnubani ; sta...@dpdk.org; dev@dpdk.org; > >> Abhishek Marat

RE: 20.11.8 patches review and test

2023-04-19 Thread Ali Alnubani
> -Original Message- > From: Luca Boccassi > Sent: Wednesday, April 19, 2023 5:30 PM > To: Kevin Traynor > Cc: Ali Alnubani ; David Marchand > ; sta...@dpdk.org; dev@dpdk.org; > Abhishek Marathe ; > benjamin.wal...@intel.com; David Christensen ; > Hemant Agrawal ; Ian Stokes > ; Jerin Jac

Re: 20.11.8 patches review and test

2023-04-19 Thread David Marchand
On Wed, Apr 19, 2023 at 4:30 PM Luca Boccassi wrote: > > On Wed, 19 Apr 2023 at 15:26, Kevin Traynor wrote: > > > > On 19/04/2023 15:23, Ali Alnubani wrote: > > >> -Original Message- > > >> From: Luca Boccassi > > >> Sent: Wednesday, April 19, 2023 5:15 PM > > >> To: David Marchand > >

Re: 20.11.8 patches review and test

2023-04-19 Thread Luca Boccassi
On Wed, 19 Apr 2023 at 15:36, David Marchand wrote: > > On Wed, Apr 19, 2023 at 4:30 PM Luca Boccassi wrote: > > > > On Wed, 19 Apr 2023 at 15:26, Kevin Traynor wrote: > > > > > > On 19/04/2023 15:23, Ali Alnubani wrote: > > > >> -Original Message- > > > >> From: Luca Boccassi > > > >>

Re: [PATCH v4] app/testpmd: txonly multiflow port change support

2023-04-19 Thread Stephen Hemminger
On Wed, 19 Apr 2023 17:51:18 +0530 "Singh, Aman Deep" wrote: > On 4/12/2023 11:46 PM, Joshua Washington wrote: > > Google cloud routes traffic using IP addresses without the support of MAC > > addresses, so changing source IP address for txonly-multi-flow can have > > negative performance implica

Re: [PATCH v2] kni: fix build with Linux 6.3

2023-04-19 Thread David Marchand
> On Fri, Apr 14, 2023 at 5:25 PM Ferruh Yigit wrote: > > > > KNI calls `get_user_pages_remote()` API which is using `FOLL_TOUCH` > > flag, but `FOLL_TOUCH` is no more in public headers since v6.3, > > causing a build error. > > > > `FOLL_*` defines in Linux kernel first moved to another header [1

Re: [RFC] lib: set/get max memzone segments

2023-04-19 Thread Stephen Hemminger
On Wed, 19 Apr 2023 11:36:34 +0300 Ophir Munk wrote: > +int ecore_mz_mapping_alloc(void) > +{ > + ecore_mz_mapping = rte_malloc("ecore_mz_map", 0, > + rte_memzone_max_get() * sizeof(struct rte_memzone *)); Why not use rte_calloc(), and devices should be using NUMA aware allocatio

Re: [PATCH v5 3/3] net/ixgbe: implement recycle buffer mode

2023-04-19 Thread Ferruh Yigit
On 3/30/2023 7:29 AM, Feifei Wang wrote: > Define specific function implementation for ixgbe driver. > Currently, recycle buffer mode can support 128bit > vector path. And can be enabled both in fast free and > no fast free mode. > > Suggested-by: Honnappa Nagarahalli > Signed-off-by: Feifei Wang

Re: [PATCH v5 1/3] ethdev: add API for buffer recycle mode

2023-04-19 Thread Ferruh Yigit
On 3/30/2023 7:29 AM, Feifei Wang wrote: > There are 4 upper APIs for buffer recycle mode: > 1. 'rte_eth_rx_queue_buf_recycle_info_get' > This is to retrieve buffer ring information about given ports's Rx > queue in buffer recycle mode. And due to this, buffer recycle can > be no longer limited to

Re: [RFC] lib: set/get max memzone segments

2023-04-19 Thread Tyler Retzlaff
On Wed, Apr 19, 2023 at 11:36:34AM +0300, Ophir Munk wrote: > In current DPDK the RTE_MAX_MEMZONE definition is unconditionally hard > coded as 2560. For applications requiring different values of this > parameter – it is more convenient to set the max value via an rte API - > rather than changing

Re: [RFC 05/27] vhost: add helper for IOTLB entries shared page check

2023-04-19 Thread Mike Pattrick
On Wed, Apr 19, 2023 at 5:35 AM Maxime Coquelin wrote: > > Hi Mike, > > On 4/17/23 21:39, Mike Pattrick wrote: > > Hi Maxime, > > > > On Fri, Mar 31, 2023 at 11:43 AM Maxime Coquelin > > wrote: > >> > >> This patch introduces a helper to check whether two IOTLB > >> entries share a page. > >> > >

Re: [PATCH v5 0/3] Recycle buffers from Tx to Rx

2023-04-19 Thread Ferruh Yigit
On 3/30/2023 7:29 AM, Feifei Wang wrote: > Currently, the transmit side frees the buffers into the lcore cache and > the receive side allocates buffers from the lcore cache. The transmit > side typically frees 32 buffers resulting in 32*8=256B of stores to > lcore cache. The receive side allocates

[PATCH] devtools: add script to check for non inclusive naming

2023-04-19 Thread Stephen Hemminger
Script to find words that should not be used. Really just a wrapper around git grep command. By default it prints matches. Uses the word lists from Inclusive Naming Initiative see https://inclusivenaming.org/word-lists/ Examples: $ ./devtools/check-naming-policy.sh -c app/test-compress-perf/comp_

Re: [dpdk-web] [RFC PATCH] process: new library approval in principle

2023-04-19 Thread Kevin Traynor
On 13/02/2023 09:26, jer...@marvell.com wrote: From: Jerin Jacob Based on TB meeting[1] action item, defining the process for new library approval in principle. [1] https://mails.dpdk.org/archives/dev/2023-January/260035.html Signed-off-by: Jerin Jacob --- content/process/_index.md | 33 ++

RE: [EXT] [PATCH 1/2] lib/cryptodev/: Add SM3_HMAC/SM4_CFB/SM4_OFB support in DPDK

2023-04-19 Thread Kusztal, ArkadiuszX
> -Original Message- > From: Sunyang Wu > Sent: Saturday, March 18, 2023 2:00 PM > To: Akhil Goyal ; dev@dpdk.org > Cc: Ji, Kai > Subject: 回复: [EXT] [PATCH 1/2] lib/cryptodev/: Add > SM3_HMAC/SM4_CFB/SM4_OFB support in DPDK > > Hi all: > SM3 and SM4 are widely used in China, and they a

[PATCH 1/2] crypto/qat: add hash mode 2

2023-04-19 Thread Arek Kusztal
This commit adds hash mode 2 to the Intel QuickAssist Technology symmetric crypto PMD. Signed-off-by: Arek Kusztal --- drivers/common/qat/qat_adf/icp_qat_fw_la.h | 10 ++ drivers/crypto/qat/qat_sym_session.h | 2 ++ 2 files changed, 12 insertions(+) diff --git a/drivers/common/qa

[PATCH 2/2] crypto/qat: add sm3 hmac

2023-04-19 Thread Arek Kusztal
This commit adds SM3-HMAC algorithm to the Intel QuickAssist Technology symmetric crypto PMD. Signed-off-by: Arek Kusztal --- drivers/crypto/qat/qat_sym_session.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/crypto/qat/qat_sym_session.c b/drivers/crypto/qat/qat_sym_session.c i

[PATCH 1/3] event/cnxk: use LMTST for enqueue new burst

2023-04-19 Thread pbhagavatula
From: Pavan Nikhilesh Use LMTST when all events in the burst are enqueue with rte_event:op as RTE_EVENT_OP_NEW i.e. events are enqueued with the `rte_event_enqueue_new_burst` API. Signed-off-by: Pavan Nikhilesh --- drivers/common/cnxk/hw/sso.h| 1 + drivers/common/cnxk/roc_sso.c

[PATCH 2/3] app/eventdev: use enqueue new event burst routine

2023-04-19 Thread pbhagavatula
From: Pavan Nikhilesh Use the `rte_event_enqueue_new_burst` routine to enqueue events with rte_event::op as RTE_EVENT_OP_NEW. This allows PMDs to use optimized enqueue routines. Signed-off-by: Pavan Nikhilesh --- app/test-eventdev/evt_options.c | 2 +- app/test-eventdev/test_perf_common.

[PATCH 3/3] app/eventdev: prevent mempool exhaustion

2023-04-19 Thread pbhagavatula
From: Pavan Nikhilesh Prevent mempool exhaustion due to elements being stuck in lcore local caches. Signed-off-by: Pavan Nikhilesh --- app/test-eventdev/test_perf_common.c | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/app/test-eventdev/test_perf_common.c b/ap

[PATCH 00/11] sync Truflow support with latest release

2023-04-19 Thread Randy Schacher
Update Truflow support to latest release, deprecating code, updating the copyright date and hsi structure, syncing the truflow core, adding ULP shared session support, RSS action support, Queue action support, rte meter support, and more. Kishore Padmanabha (1): net/bnxt: fix multi-root card sup

[PATCH 01/11] net/bnxt: remove deprecated features

2023-04-19 Thread Randy Schacher
- Deprecate shadow identifier - Deprecate shadow tcam Signed-off-by: Kishore Padmanabha Reviewed-by: Peter Spreadborough --- drivers/net/bnxt/bnxt_hwrm.c | 53 -- drivers/net/bnxt/bnxt_hwrm.h | 10 - drivers/net/bnxt/tf_core/meson.build | 2 - driv

[PATCH 03/11] net/bnxt: update copyright date and cleanup whitespace

2023-04-19 Thread Randy Schacher
Update the Copyright to 2023 Clean up extra blank lines Clean up other whitespace issues Signed-off-by: Michael Baucom Reviewed-by: Kishore Padmanabha --- drivers/net/bnxt/bnxt_cpr.c| 2 +- drivers/net/bnxt/bnxt_cpr.h| 2 +- drivers/net/bnxt/bnxt_filter.c

[PATCH 07/11] net/bnxt: add ulp support for rte meter

2023-04-19 Thread Randy Schacher
Add RTE meter support into the ULP layer Signed-off-by: Kishore Padmanabha Reviewed-by: Jay Ding --- drivers/net/bnxt/bnxt.h | 2 + drivers/net/bnxt/bnxt_ethdev.c| 1 + drivers/net/bnxt/tf_ulp/bnxt_ulp.c| 8 + drivers/net/bnxt/tf_ulp/bnxt_

[PATCH 08/11] net/bnxt: update PTP support on Thor

2023-04-19 Thread Randy Schacher
add locking and time stamp checks to ptp feature Signed-off-by: Shahaji Bhosle Reviewed-by: Ajit Khaparde --- drivers/net/bnxt/bnxt.h| 5 ++ drivers/net/bnxt/bnxt_ethdev.c | 11 + drivers/net/bnxt/bnxt_hwrm.c | 11 - drivers/net/bnxt/bnxt_ring.c | 3 ++ drivers/net/bnxt/bn

[PATCH 09/11] net/bnxt: fix multi-root card support

2023-04-19 Thread Randy Schacher
From: Kishore Padmanabha Changed the logic to use device serial number to identify that different ports belong to same physical card instead of the PCI domain address. Signed-off-by: Kishore Padmanabha Reviewed-by: Shahaji Bhosle --- drivers/net/bnxt/bnxt.h| 3 +++ drivers/net/bn

[PATCH 10/11] net/bnxt: add ulp support for ecpri

2023-04-19 Thread Randy Schacher
Add RTE ECPRI support into the ULP layer Signed-off-by: Shahaji Bhosle Reviewed-by: Manish Kurup --- drivers/net/bnxt/bnxt.h | 4 + drivers/net/bnxt/bnxt_ethdev.c| 35 + drivers/net/bnxt/bnxt_hwrm.c | 17 +++ drivers/net/bnxt/bnxt_t

[PATCH 11/11] net/bnxt: Avoid submitting hwrm rss request when rss mode disabled

2023-04-19 Thread Randy Schacher
From: Shuanglin Wang On WH+, if rss mode isn't enabled, then there is no rss context. Submitting HWRM_VNIC_RSS_CFG request to firmware would hit a failure. The fix is to check the rss context. If no rss context, then don't submit the hwrm request. Signed-off-by: Kishore Padmanabha Reviewed-by:

RE: [dpdk-dev] [PATCH] ring: fix use after free in ring release

2023-04-19 Thread Honnappa Nagarahalli
> > > > > -Original Message- > > > From: Yunjian Wang > > > Sent: Monday, April 17, 2023 8:12 AM > > > To: dev@dpdk.org > > > Cc: Honnappa Nagarahalli ; > > > konstantin.v.anan...@yandex.ru; luyi...@huawei.com; Yunjian Wang > > > ; sta...@dpdk.org > > > Subject: [dpdk-dev] [PATCH] ring:

Re: [PATCH 1/2] config/arm: Do not require processor information

2023-04-19 Thread Akihiko Odaki
On 2023/04/17 16:41, Ruifeng Wang wrote: -Original Message- From: Akihiko Odaki Sent: Friday, April 14, 2023 8:42 PM To: Ruifeng Wang ; Bruce Richardson Cc: dev@dpdk.org; Akihiko Odaki Subject: [PATCH 1/2] config/arm: Do not require processor information DPDK can be built even withou

RE: [GRO] check whether ip_id continuity needs to be checked when two TCP packets are merged.

2023-04-19 Thread Hu, Jiayu
Hi Cheng, > -Original Message- > From: jiangheng (G) > Sent: Saturday, April 15, 2023 10:46 PM > To: us...@dpdk.org; Hu, Jiayu ; dev@dpdk.org > Subject: [GRO] check whether ip_id continuity needs to be checked when > two TCP packets are merged. > > Hi jiayu.hu > > It cannot be guarantee

RE: 21.11.4 patches review and test

2023-04-19 Thread Xu, HailinX
> -Original Message- > From: Xu, HailinX > Sent: Thursday, April 13, 2023 2:13 PM > To: Kevin Traynor ; sta...@dpdk.org > Cc: dev@dpdk.org; Abhishek Marathe ; > Ali Alnubani ; Walker, Benjamin > ; David Christensen ; > Hemant Agrawal ; Stokes, Ian > ; Jerin Jacob ; Mcnamara, John > ; Ju-Hy

Re: [GRO] check whether ip_id continuity needs to be checked when two TCP packets are merged.

2023-04-19 Thread Stephen Hemminger
On Thu, 20 Apr 2023 02:30:41 + "Hu, Jiayu" wrote: > Hi Cheng, > > > -Original Message- > > From: jiangheng (G) > > Sent: Saturday, April 15, 2023 10:46 PM > > To: us...@dpdk.org; Hu, Jiayu ; dev@dpdk.org > > Subject: [GRO] check whether ip_id continuity needs to be checked when > >

[dpdk-dev][PATCH] ethdev: add send queue flow matching item

2023-04-19 Thread kirankumark
From: Kiran Kumar K Adding support for send queue flow matching item. This item is valid only for egress rules. An example use case would be that application can set different vlan insert rules with different PCP values based on tx queue number. Signed-off-by: Kiran Kumar K --- app/test-pmd/cm

[PATCH] doc: add PMD known issue

2023-04-19 Thread Mingjin Ye
Add a known issue: ASLR feature causes core dump. Signed-off-by: Mingjin Ye --- doc/guides/nics/ixgbe.rst | 15 +++ 1 file changed, 15 insertions(+) diff --git a/doc/guides/nics/ixgbe.rst b/doc/guides/nics/ixgbe.rst index b1d77ab7ab..c346e377e2 100644 --- a/doc/guides/nics/ixgbe.rst

[PATCH] net/ice: CVL support double vlan

2023-04-19 Thread Mingjin Ye
Aligned with kernel driver, optimized for inner and outer VLAN handling in DPDK, and implemented double vlan insertion and stripping support. 1.adjust vlan stripping Remove the judgment on dvm, vlan stripping only operates inner vlan. 2.support QinQ stripping This patch support ice outer vlan str

[dpdk-dev] [PATCH v2] ring: fix use after free in ring release

2023-04-19 Thread Yunjian Wang
After the memzone is freed, it is not removed from the 'rte_ring_tailq'. If rte_ring_lookup is called at this time, it will cause a use-after-free problem. This change prevents that from happening. Fixes: 4e32101f9b01 ("ring: support freeing") Cc: sta...@dpdk.org Suggested-by: Honnappa Nagarahall

RE: [dpdk-dev] [PATCH] ring: fix use after free in ring release

2023-04-19 Thread wangyunjian
> -Original Message- > From: Honnappa Nagarahalli [mailto:honnappa.nagaraha...@arm.com] > Sent: Thursday, April 20, 2023 5:44 AM > To: wangyunjian ; dev@dpdk.org > Cc: konstantin.v.anan...@yandex.ru; luyicai ; > sta...@dpdk.org; nd ; nd > Subject: RE: [dpdk-dev] [PATCH] ring: fix use after

[PATCH] doc: add PMD known issue

2023-04-19 Thread Mingjin Ye
Add a known issue: ASLR feature causes core dump. Signed-off-by: Mingjin Ye --- doc/guides/nics/ixgbe.rst | 15 +++ 1 file changed, 15 insertions(+) diff --git a/doc/guides/nics/ixgbe.rst b/doc/guides/nics/ixgbe.rst index b1d77ab7ab..459d0d8380 100644 --- a/doc/guides/nics/ixgbe.rst

[PATCH] crypto/uadk: set queue pair in dev_configure

2023-04-19 Thread Zhangfei Gao
By default, uadk only alloc two queues for each algorithm, which will impact performance. Set queue pair number as required in dev_configure. The default max queue pair number is 8, which can be modified via para: max_nb_queue_pairs Example: sudo dpdk-test-crypto-perf -l 0-10 --vdev crypto_uadk,ma