[PATCH v4 2/2] net/memif: add a Tx fast path

2022-09-14 Thread Joyce Kong
For memif non-zero-copy mode, there is a branch to compare the mbuf and memif buffer size during memory copying. If all mbufs come from the same mempool, and memif buf size >= mbuf size, add a fast Tx memory copy path without the comparing branch and with mbuf bulk free, otherwise still run the ori

[PATCH v4 1/2] net/memif: add a Rx fast path

2022-09-14 Thread Joyce Kong
For memif non-zero-copy mode, there is a branch to compare the mbuf and memif buffer size during memory copying. Mbuf and memif buffer size is defined at compile time. If memif buf size <= mbuf size, add a fast Rx memory copy path by removing this branch and mbuf bulk alloc. The removal of the bra

[PATCH v4 0/2] add a fast path for memif Rx/Tx

2022-09-14 Thread Joyce Kong
For memif non-zero-copy mode, there is a branch to compare the mbuf and memif buffer size during memory copy. Add a fast memcpy path by removing this branch with mbuf and memif buffer size defined at compile time. For Rx fast path, bulk allocating mbufs to get additional speedup. For Tx fast path,

Re: [PATCH v7 3/3] test/event: update periodic event timer tests

2022-09-14 Thread Jerin Jacob
On Wed, Sep 14, 2022 at 9:03 PM Naga Harish K S V wrote: > > This patch updates the software timer adapter tests to > configure and use periodic event timers. > > Signed-off-by: Naga Harish K S V > --- > app/test/test_event_timer_adapter.c | 41 ++--- Applied 1/3 and 3/3

Re: [PATCH v7 2/3] timer: fix function to stop all timers

2022-09-14 Thread Jerin Jacob
On Wed, Sep 14, 2022 at 9:03 PM Naga Harish K S V wrote: > > There is a possibility of deadlock in this API, > as same spinlock is tried to be acquired in nested manner. > > If the lcore that is stopping the timer is different from the lcore > that owns the timer, the timer list lock is acquired i

Re: [PATCH v7 1/3] eventdev/timer: add periodic event timer support

2022-09-14 Thread Jerin Jacob
On Wed, Sep 14, 2022 at 9:03 PM Naga Harish K S V wrote: > > This patch adds support to configure and use periodic event > timers in software timer adapter. > > The structure ``rte_event_timer_adapter_stats`` is extended > by adding a new field, ``evtim_drop_count``. This stat > represents the num

[PATCH v2] pci: read amd iommu virtual address width

2022-09-14 Thread Michael Piszczek
Add code to read the virtual address width for AMD processors. Signed-off-by: Michael Piszczek --- drivers/bus/pci/linux/pci.c | 43 + 1 file changed, 43 insertions(+) diff --git a/drivers/bus/pci/linux/pci.c b/drivers/bus/pci/linux/pci.c index e521459870..0c

[PATCH] eal: make eal_parse_coremask external

2022-09-14 Thread Abdullah Sevincer
DLB2 has a need to parse a user supplied coremask as part of an optimization that associates optimal core/resource pairs. Therefore eal_parse_coremask has been renamed to rte_eal_parse_coremask and exported. Signed-off-by: Abdullah Sevincer --- lib/eal/common/eal_common_options.c | 6 +++--- li

Re: [Acc] [PATCH 0/5] crypto/uadk: introduce uadk crypto driver

2022-09-14 Thread Zhangfei Gao
On 2022/9/13 下午3:08, liulongfang wrote: On 2022/9/11 13:23, Zhangfei Gao wrote: Introduce a new crypto PMD for UADK, which relies on UADK library [1]. This should be "a new crypto PMD for DPDK" Sorry for the misunderstanding. Will change to this Introduce a new crypto PMD for hardware ac

[PATCH v3 2/2] test/member: add functional and perf tests for sketch

2022-09-14 Thread Leyi Rong
This patch adds functional and performance tests for sketch mode of membership library. Signed-off-by: Yipeng Wang Signed-off-by: Leyi Rong --- app/test/test_member.c | 272 app/test/test_member_perf.c | 153 +++- 2 files changed, 421 in

[PATCH v3 1/2] member: implement NitroSketch mode

2022-09-14 Thread Leyi Rong
Sketching algorithm provide high-fidelity approximate measurements and appears as a promising alternative to traditional approaches such as packet sampling. NitroSketch [1] is a software sketching framework that optimizes performance, provides accuracy guarantees, and supports a variety of sketche

[PATCH v3 0/2] introduce NitroSketch Mode into membership library

2022-09-14 Thread Leyi Rong
This patchset introduce a brand new NitroSketch Mode into membership library. This algorithm provides high-fidelity approximate measurements and appears as a promissing alternative to triditional approches such as packet sampling. --- v3: - mark below new added APIs as "experimental": rte_

RE: [EXT] [RFC, v1 4/6] graph: enhance graph walk by cross-core dispatch

2022-09-14 Thread Yan, Zhirun
> -Original Message- > From: Pavan Nikhilesh Bhagavatula > Sent: Thursday, September 8, 2022 1:27 PM > To: Yan, Zhirun ; dev@dpdk.org; Jerin Jacob > Kollanukkaran ; Kiran Kumar Kokkilagadda > > Cc: Liang, Cunming ; Wang, Haiyue > > Subject: RE: [EXT] [RFC, v1 4/6] graph: enhance graph

RE: [PATCH v1] ethdev: add direction info when creating the transfer table

2022-09-14 Thread Rongwei Liu
HI Ivan: BR Rongwei > -Original Message- > From: Ivan Malov > Sent: Wednesday, September 14, 2022 23:18 > To: Rongwei Liu > Cc: Matan Azrad ; Slava Ovsiienko > ; Ori Kam ; NBU-Contact- > Thomas Monjalon (EXTERNAL) ; Aman Singh > ; Yuying Zhang ; > Andrew Rybchenko ; dev@dpdk.org; Raslan

[PATCH] doc: relate bifurcated driver and flow isolated mode

2022-09-14 Thread Thomas Monjalon
The relation between the isolated mode in ethdev flow API and bifurcated driver behaviour was not clearly explained. It is made clear in the how-to guide that isolated mode is required for flow bifurcation to the kernel. On the other side, the impact of the isolated mode on a bifurcated driver is

[RFC v2] eal/linux: add support for fast virt/iova translation

2022-09-14 Thread Don Wallwork
This patch maps hugepage memory such that address translation from virtual to iova or vice versa can be done by simple addition/ subtraction of a constant value without any page table walks. A new '--const-translate' EAL option is added to enable this mode. The following example describes how thi

[RFC v2] eal/linux: add support for fast virt/iova translation

2022-09-14 Thread Don Wallwork
This patch maps hugepage memory such that address translation from virtual to iova or vice versa can be done by simple addition/ subtraction of a constant value without any page table walks. A new '--const-translate' EAL option is added to enable this mode. The following example describes how thi

Re: [PATCH v1] ethdev: add direction info when creating the transfer table

2022-09-14 Thread Thomas Monjalon
14/09/2022 17:18, Ivan Malov: > So, it's always better to expand on such specifics so that the reader > has full picture in their head and doesn't need to look elsewhere. > Not all readers of the commit message will be happy to delve > into our discussions on the mailing list to get the gist. Yes

Re: [PATCH v2 12/37] baseband/acc100: add LDPC transport block support

2022-09-14 Thread Maxime Coquelin
On 8/20/22 04:31, Hernan Vargas wrote: Add LDPC enqueue functions to handle transport blocks. Signed-off-by: Hernan Vargas --- drivers/baseband/acc100/rte_acc100_pmd.c | 197 ++- 1 file changed, 195 insertions(+), 2 deletions(-) diff --git a/drivers/baseband/acc100/rt

Re: [PATCH v2 11/37] baseband/acc100: separate validation functions from debug

2022-09-14 Thread Maxime Coquelin
On 8/20/22 04:31, Hernan Vargas wrote: Use new flag RTE_LIBRTE_BBDEV_SKIP_VALIDATE enable/disable validation functions. The validation API will be enabled by default. Signed-off-by: Hernan Vargas --- drivers/baseband/acc100/rte_acc100_pmd.c | 37 1 file changed, 1

Re: [PATCH v2 10/37] baseband/acc100: avoid mux for small inbound frames

2022-09-14 Thread Maxime Coquelin
On 8/20/22 04:31, Hernan Vargas wrote: Update check_mux to avoid multiplexing small inbound frames. Preventing to multiplex code blocks when K < 512B per specs. It looks like a fix, and so should Fixes tag be added an stable cc'ed. Signed-off-by: Hernan Vargas --- drivers/baseband/acc10

Re: [PATCH v2 09/37] baseband/acc100: add HARQ index helper function

2022-09-14 Thread Maxime Coquelin
On 8/20/22 04:31, Hernan Vargas wrote: Refactor code to use the HARQ index helper function and make harq_idx uint32. Signed-off-by: Hernan Vargas --- drivers/baseband/acc100/rte_acc100_pmd.c | 32 +++- 1 file changed, 14 insertions(+), 18 deletions(-) diff --git a/dri

Re: [EXT] Re: [PATCH v1 00/10] baseband/acc200

2022-09-14 Thread Maxime Coquelin
On 9/14/22 21:57, Chautru, Nicolas wrote: Hi Thomas, Akhil, Bruce, Maxime, -Original Message- From: Thomas Monjalon Sent: Wednesday, September 14, 2022 7:23 AM To: Richardson, Bruce ; Maxime Coquelin ; Akhil Goyal ; Chautru, Nicolas Cc: dev@dpdk.org; hemant.agra...@nxp.com; Vargas,

Re: [PATCH v2 08/37] baseband/acc100: add scatter-gather support

2022-09-14 Thread Maxime Coquelin
On 8/20/22 04:31, Hernan Vargas wrote: Add flag to support scatter-gather for the mbuf Signed-off-by: Hernan Vargas --- drivers/baseband/acc100/rte_acc100_pmd.c | 45 1 file changed, 31 insertions(+), 14 deletions(-) diff --git a/drivers/baseband/acc100/rte_acc10

RE: [PATCH v4 4/9] dts: add ssh pexpect library

2022-09-14 Thread Honnappa Nagarahalli
> > > > On Fri, Jul 29, 2022 at 10:55:45AM +, Juraj Linkeš wrote: > > > > > +self.session = pxssh.pxssh(encoding="utf-8") > > > +self.session.login( > > > +self.node, > > > +self.username, >

RE: [EXT] Re: [PATCH v1 00/10] baseband/acc200

2022-09-14 Thread Chautru, Nicolas
Hi Thomas, Akhil, Bruce, Maxime, > -Original Message- > From: Thomas Monjalon > Sent: Wednesday, September 14, 2022 7:23 AM > To: Richardson, Bruce ; Maxime Coquelin > ; Akhil Goyal ; > Chautru, Nicolas > Cc: dev@dpdk.org; hemant.agra...@nxp.com; Vargas, Hernan > ; Tom Rix ; m...@ashroe

Re: [PATCH v2 07/37] baseband/acc100: add LDPC encoder padding function

2022-09-14 Thread Maxime Coquelin
On 8/20/22 04:31, Hernan Vargas wrote: LDPC Encoder input may need to be padded to avoid small beat for ACC100. Padding 5GDL input buffer length (BLEN) to avoid case (BLEN % 64) <= 8. Adding protection for corner case to avoid for 5GDL occurrence of last beat within the ACC100 fabric with <= 8

Re: [PATCH v2 06/37] baseband/acc100: add default e value for FCW

2022-09-14 Thread Maxime Coquelin
On 8/20/22 04:31, Hernan Vargas wrote: Refactor frame control word LDPC encoder fill function to take a default e value as a parameter. No functional impact. Signed-off-by: Hernan Vargas --- drivers/baseband/acc100/rte_acc100_pmd.c | 8 1 file changed, 4 insertions(+), 4 deletion

Re: [PATCH v2 04/37] baseband/acc100: free SW ring mem for reconfiguration

2022-09-14 Thread Maxime Coquelin
On 8/20/22 04:31, Hernan Vargas wrote: Free base address of unaligned memory for SW rings to manage the missed corner case when there is a reconfiguration. Fixes: 060e7672930 ("baseband/acc100: add queue configuration") Cc: sta...@dpdk.org Signed-off-by: Hernan Vargas --- drivers/baseband

RE: [PATCH v4 2/9] dts: add developer tools

2022-09-14 Thread Honnappa Nagarahalli
> > 14/09/2022 15:13, Bruce Richardson: > > On Wed, Sep 14, 2022 at 12:45:00PM +, Juraj Linkeš wrote: > > > From: Honnappa Nagarahalli > > > > > > On Fri, Jul 29, 2022 at 10:55:43AM +, Juraj Linkeš wrote: > > > > > > > > > diff --git a/dts/format.sh b/dts/format.sh new file mode > > > >

Re: [PATCH v2 03/37] baseband/acc100: add function to check AQ availability

2022-09-14 Thread Maxime Coquelin
On 8/20/22 04:31, Hernan Vargas wrote: It is possible for some corner case to run more batch enqueue than supported. A protection is required to avoid that corner case. Enhance all ACC100 enqueue operations with check to see if there is room in the atomic queue for enqueueing batches into the

Re: [PATCH v2 1/3] net/bonding: support Tx prepare

2022-09-14 Thread Chas Williams
On 9/13/22 20:46, fengchengwen wrote: The main problem is hard to design a tx_prepare for bonding device: 1. as Chas Williams said, there maybe twice hash calc to get target slave devices. 2. also more important, if the slave devices have changes(e.g. slave device link down or remove), a

Re: [PATCH v2 02/37] baseband/acc100: update ring availability calculation

2022-09-14 Thread Maxime Coquelin
Hi, On 8/20/22 04:31, Hernan Vargas wrote: Refactor of the queue availability computation to prevent the application to dequeue more than what may have been enqueued. That sounds like a fix, is it? If so, it should have the Fixes tag, so that existing application can get the fix without havi

RE: [PATCH v6 1/3] eventdev/timer: add periodic event timer support

2022-09-14 Thread Naga Harish K, S V
> -Original Message- > From: Jerin Jacob > Sent: Wednesday, September 14, 2022 8:54 PM > To: Naga Harish K, S V > Cc: jer...@marvell.com; dev@dpdk.org; Carrillo, Erik G > ; pbhagavat...@marvell.com; > sthot...@marvell.com > Subject: Re: [PATCH v6 1/3] eventdev/timer: add periodic event

Re: [PATCH v2 01/37] baseband/acc100: add enqueue status

2022-09-14 Thread Maxime Coquelin
On 8/20/22 04:31, Hernan Vargas wrote: Add enqueue status as part of rte_bbdev_queue_data. This is a new feature to update queue status and indicate the reason why a previous enqueue may or may not have consumed all requested operations. Signed-off-by: Hernan Vargas --- drivers/baseband/ac

[PATCH v2] net/ice: add nic blinking support

2022-09-14 Thread Markus Theil
From: Markus Theil Signed-off-by: Markus Theil --- v2: add LED feature in ice.ini doc/guides/nics/features/ice.ini | 1 + drivers/net/ice/ice_ethdev.c | 22 ++ 2 files changed, 23 insertions(+) diff --git a/doc/guides/nics/features/ice.ini b/doc/guides/nics/features/i

Re: [PATCH 1/2] net/ice: add nic blinking support

2022-09-14 Thread Markus Theil
Thanks for the hint/advice. I will resend the led patch and drop the fc patch for now (see another reply). On 9/4/22 04:10, Zhang, Qi Z wrote: -Original Message- From: Markus Theil Sent: Friday, September 2, 2022 5:14 AM To: dev@dpdk.org Cc: Yang, Qiming ; Zhang, Qi Z ; Theil, Markus

Re: [PATCH 2/2] net/ice: add basic flow ctrl support for enable/disable/get

2022-09-14 Thread Markus Theil
On 9/4/22 04:06, Zhang, Qi Z wrote: -Original Message- From: Markus Theil Sent: Friday, September 2, 2022 5:14 AM To: dev@dpdk.org Cc: Yang, Qiming ; Zhang, Qi Z ; Theil, Markus Subject: [PATCH 2/2] net/ice: add basic flow ctrl support for enable/disable/get From: Markus Theil Than

[PATCH v7 3/3] test/event: update periodic event timer tests

2022-09-14 Thread Naga Harish K S V
This patch updates the software timer adapter tests to configure and use periodic event timers. Signed-off-by: Naga Harish K S V --- app/test/test_event_timer_adapter.c | 41 ++--- 1 file changed, 37 insertions(+), 4 deletions(-) diff --git a/app/test/test_event_timer_ad

[PATCH v7 2/3] timer: fix function to stop all timers

2022-09-14 Thread Naga Harish K S V
There is a possibility of deadlock in this API, as same spinlock is tried to be acquired in nested manner. If the lcore that is stopping the timer is different from the lcore that owns the timer, the timer list lock is acquired in timer_del(), even if local_is_locked is true. Because the same lock

[PATCH v7 1/3] eventdev/timer: add periodic event timer support

2022-09-14 Thread Naga Harish K S V
This patch adds support to configure and use periodic event timers in software timer adapter. The structure ``rte_event_timer_adapter_stats`` is extended by adding a new field, ``evtim_drop_count``. This stat represents the number of times an event_timer expiry event is dropped by the event timer

Re: [PATCH v6 1/3] eventdev/timer: add periodic event timer support

2022-09-14 Thread Jerin Jacob
On Wed, Sep 14, 2022 at 7:21 PM Naga Harish K S V wrote: > > This patch adds support to configure and use periodic event > timers in software timer adapter. > > The structure ``rte_event_timer_adapter_stats`` is extended > by adding a new field, ``evtim_drop_count``. This stat > represents the num

Re: [PATCH 1/3] eventdev/eth_tx: add queue start stop API

2022-09-14 Thread Jerin Jacob
On Fri, Sep 9, 2022 at 9:12 AM Naga Harish K S V wrote: > > This patch adds support to start or stop a particular queue > that is associated with the adapter. > > Start function enables the Tx Adapter to start enqueueing > packets to the Tx queue. > > Stop function stops the Tx Adapter from transm

RE: [PATCH v1] ethdev: add direction info when creating the transfer table

2022-09-14 Thread Ivan Malov
Hi Rongwei, On Wed, 14 Sep 2022, Rongwei Liu wrote: HI BR Rongwei -Original Message- From: Ivan Malov Sent: Wednesday, September 14, 2022 15:32 To: Rongwei Liu Cc: Matan Azrad ; Slava Ovsiienko ; Ori Kam ; NBU-Contact- Thomas Monjalon (EXTERNAL) ; Aman Singh ; Yuying Zhang ; Andrew

Re: [EXT] Re: [PATCH 1/3] eventdev: add element offset to event vector

2022-09-14 Thread Mattias Rönnblom
On 2022-09-14 15:02, Jerin Jacob wrote: >> struct rte_event_vector { >>uint16_t nb_elem; >> - /**< Number of elements in this event vector. */ >> - uint16_t rsvd : 15; >> + /**< Total number of elements in this event vector. */ > > I'm not sure "total" ad

Re: [NOTICE] 0-day Robot offline for upgrades

2022-09-14 Thread Aaron Conole
David Marchand writes: > Hey Aaron, Michael, > > On Fri, Sep 9, 2022 at 5:34 PM Aaron Conole wrote: >> >> Greetings, >> >> This is to let you know that we are executing upgrades today for the open >> 0-day robot that we run for OVS and DPDK projects. We don't expect that >> the robot will be of

Re: [PATCH v7 0/4] Add lcore poll busyness telemetry

2022-09-14 Thread Stephen Hemminger
On Wed, 14 Sep 2022 10:29:25 +0100 Kevin Laatz wrote: > Currently, there is no way to measure lcore polling busyness in a passive > way, without any modifications to the application. This patchset adds a new > EAL API that will be able to passively track core polling busyness. As part > of the se

Re: [PATCH v7 1/4] eal: add lcore poll busyness telemetry

2022-09-14 Thread Stephen Hemminger
On Wed, 14 Sep 2022 10:29:26 +0100 Kevin Laatz wrote: > +struct lcore_poll_telemetry { > + int poll_busyness; > + /**< Calculated poll busyness (gets set/returned by the API) */ > + int raw_poll_busyness; > + /**< Calculated poll busyness times 100. */ > + uint64_t interval_ts

Re: [RFC PATCH 0/1] Add support for code-coverage analysis

2022-09-14 Thread Aaron Conole
Felix Moessbauer writes: > This patch has been developed as part of the DPDK Userspace Summit Hackathon. > It provides a PoC for code-coverage analysis for the DPDK project. > > To generate the report, a developer simply follows the official > meson coverage workflow, described in [1]. > In doing

Re: [PATCH v4 1/9] dts: add project tools config

2022-09-14 Thread Thomas Monjalon
14/09/2022 15:11, Bruce Richardson: > On Wed, Sep 14, 2022 at 12:55:21PM +, Juraj Linkeš wrote: > > From: Thomas Monjalon > > > 13/09/2022 21:19, Honnappa Nagarahalli: > > > > > > > > > --- /dev/null +++ b/dts/.editorconfig @@ -0,0 +1,7 @@ +# > > > > > > > > > SPDX-License-Identifier: BSD-3-Cl

Re: [PATCH v4 2/9] dts: add developer tools

2022-09-14 Thread Thomas Monjalon
14/09/2022 15:13, Bruce Richardson: > On Wed, Sep 14, 2022 at 12:45:00PM +, Juraj Linkeš wrote: > > From: Honnappa Nagarahalli > > > > > On Fri, Jul 29, 2022 at 10:55:43AM +, Juraj Linkeš wrote: > > > > > > > diff --git a/dts/format.sh b/dts/format.sh new file mode 100755 > > > Should this

Re: [EXT] Re: [PATCH v1 00/10] baseband/acc200

2022-09-14 Thread Thomas Monjalon
14/09/2022 15:44, Akhil Goyal: > > > On 9/14/22 12:35, Thomas Monjalon wrote: > > > > 06/09/2022 14:51, Tom Rix: > > > > > On 9/1/22 1:34 PM, Chautru, Nicolas wrote: > > > > > > From: Tom Rix > > > > > > > On 8/31/22 6:26 PM, Chautru, Nicolas wrote: > > > > > > > > From: Tom Rix > > > > > > > > >

RE: [PATCH v5 4/4] doc: remove deprecation notice

2022-09-14 Thread Naga Harish K, S V
> -Original Message- > From: Jerin Jacob > Sent: Wednesday, September 14, 2022 6:11 PM > To: Naga Harish K, S V > Cc: jer...@marvell.com; dev@dpdk.org; Carrillo, Erik G > ; pbhagavat...@marvell.com; > sthot...@marvell.com > Subject: Re: [PATCH v5 4/4] doc: remove deprecation notice > >

[PATCH v6 3/3] test/event: update periodic event timer tests

2022-09-14 Thread Naga Harish K S V
This patch updates the software timer adapter tests to configure and use periodic event timers. Signed-off-by: Naga Harish K S V --- app/test/test_event_timer_adapter.c | 41 ++--- 1 file changed, 37 insertions(+), 4 deletions(-) diff --git a/app/test/test_event_timer_ad

[PATCH v6 2/3] timer: fix function to stop all timers

2022-09-14 Thread Naga Harish K S V
There is a possibility of deadlock in this API, as same spinlock is tried to be acquired in nested manner. If the lcore that is stopping the timer is different from the lcore that owns the timer, the timer list lock is acquired in timer_del(), even if local_is_locked is true. Because the same lock

[PATCH v6 1/3] eventdev/timer: add periodic event timer support

2022-09-14 Thread Naga Harish K S V
This patch adds support to configure and use periodic event timers in software timer adapter. The structure ``rte_event_timer_adapter_stats`` is extended by adding a new field, ``evtim_drop_count``. This stat represents the number of times an event_timer expiry event is dropped by the event timer

RE: [EXT] Re: [PATCH v1 00/10] baseband/acc200

2022-09-14 Thread Akhil Goyal
> > > > On 9/14/22 12:35, Thomas Monjalon wrote: > > > 06/09/2022 14:51, Tom Rix: > > > > On 9/1/22 1:34 PM, Chautru, Nicolas wrote: > > > > > From: Tom Rix > > > > > > On 8/31/22 6:26 PM, Chautru, Nicolas wrote: > > > > > > > From: Tom Rix > > > > > > > > On 8/31/22 3:37 PM, Chautru, Nicolas wro

Re: [PATCH v1] eventdev/eth_rx: sub event type gets reset

2022-09-14 Thread Jerin Jacob
On Wed, Sep 14, 2022 at 11:52 AM Kundapura, Ganapati wrote: > > Hi Jay, > > > -Original Message- > > From: Jayatheerthan, Jay > > Sent: 13 September 2022 22:32 > > To: Kundapura, Ganapati ; dev@dpdk.org; > > jer...@marvell.com > > Cc: Naga Harish K, S V > > Subject: RE: [PATCH v1] eventd

Re: [PATCH v1 00/10] baseband/acc200

2022-09-14 Thread Maxime Coquelin
On 9/14/22 15:19, Bruce Richardson wrote: On Wed, Sep 14, 2022 at 01:50:05PM +0200, Maxime Coquelin wrote: On 9/14/22 12:35, Thomas Monjalon wrote: 06/09/2022 14:51, Tom Rix: On 9/1/22 1:34 PM, Chautru, Nicolas wrote: From: Tom Rix On 8/31/22 6:26 PM, Chautru, Nicolas wrote: From: Tom

Re: [PATCH] event/cnxk: reassembly function callback assignment

2022-09-14 Thread Jerin Jacob
On Mon, Aug 29, 2022 at 8:28 PM Rahul Bhansali wrote: > > This add the support of reassembly functions callback > assignment to eventdev dequeue and dequeue_burst. > > Fixes: c062f5726f61 ("net/cnxk: support IP reassembly") > > Signed-off-by: Rahul Bhansali Updated the git commit as follows and

Re: [PATCH v1 00/10] baseband/acc200

2022-09-14 Thread Bruce Richardson
On Wed, Sep 14, 2022 at 01:50:05PM +0200, Maxime Coquelin wrote: > > > On 9/14/22 12:35, Thomas Monjalon wrote: > > 06/09/2022 14:51, Tom Rix: > > > On 9/1/22 1:34 PM, Chautru, Nicolas wrote: > > > > From: Tom Rix > > > > > On 8/31/22 6:26 PM, Chautru, Nicolas wrote: > > > > > > From: Tom Rix >

Re: [PATCH v4 5/9] dts: add ssh connection extension

2022-09-14 Thread Bruce Richardson
On Wed, Sep 14, 2022 at 08:02:37AM -0400, Owen Hilyard wrote: > On Wed, Sep 14, 2022 at 3:46 AM Bruce Richardson > <[1]bruce.richard...@intel.com> wrote: > > On Fri, Jul 29, 2022 at 10:55:46AM +, Juraj Linkeš wrote: > > > The class adds logging and history records

Re: [PATCH v4 2/9] dts: add developer tools

2022-09-14 Thread Bruce Richardson
On Wed, Sep 14, 2022 at 12:45:00PM +, Juraj Linkeš wrote: > > > > -Original Message- From: Honnappa Nagarahalli > > Sent: Tuesday, September 13, 2022 10:38 > > PM To: Juraj Linkeš ; Bruce Richardson > > Cc: tho...@monjalon.net; > > david.march...@redhat.com; ronan.rand...@intel.com;

Re: [PATCH v4 1/9] dts: add project tools config

2022-09-14 Thread Bruce Richardson
On Wed, Sep 14, 2022 at 12:55:21PM +, Juraj Linkeš wrote: > > > > -Original Message- From: Thomas Monjalon > > Sent: Wednesday, September 14, 2022 11:37 AM To: Juraj Linkeš > > ; Bruce Richardson > > ; Honnappa Nagarahalli > > Cc: david.march...@redhat.com; > > ronan.rand...@intel.c

Re: [EXT] Re: [PATCH 1/3] eventdev: add element offset to event vector

2022-09-14 Thread Jerin Jacob
> > >>>struct rte_event_vector { > > >>> uint16_t nb_elem; > > >>> - /**< Number of elements in this event vector. */ > > >>> - uint16_t rsvd : 15; > > >>> + /**< Total number of elements in this event vector. */ > > >> > > >> I'm not sure "total" adds anything here. Didn't the old nb

Re: [PATCH] event/cnxk: add preliminary Tx queue depth check

2022-09-14 Thread Jerin Jacob
On Tue, Aug 16, 2022 at 9:05 PM wrote: > > From: Pavan Nikhilesh > > add preliminary Tx queue depth check and return on failure. > Once the check passes, tx_adapter_enqueue() function becomes > a blocking call till it succeeds. > > Signed-off-by: Pavan Nikhilesh Applied to dpdk-next-net-eventde

RE: [PATCH v4 1/9] dts: add project tools config

2022-09-14 Thread Juraj Linkeš
> -Original Message- > From: Thomas Monjalon > Sent: Wednesday, September 14, 2022 11:37 AM > To: Juraj Linkeš ; Bruce Richardson > ; Honnappa Nagarahalli > > Cc: david.march...@redhat.com; ronan.rand...@intel.com; > ohily...@iol.unh.edu; lijuan...@intel.com; dev@dpdk.org > Subject: Re

RE: [PATCH v4 3/9] dts: add basic logging facility

2022-09-14 Thread Juraj Linkeš
> -Original Message- > From: Honnappa Nagarahalli > Sent: Wednesday, September 14, 2022 1:31 AM > To: Juraj Linkeš ; Bruce Richardson > > Cc: tho...@monjalon.net; david.march...@redhat.com; > ronan.rand...@intel.com; ohily...@iol.unh.edu; lijuan...@intel.com; > dev@dpdk.org; nd ; nd >

RE: [PATCH v4 2/9] dts: add developer tools

2022-09-14 Thread Juraj Linkeš
> -Original Message- > From: Honnappa Nagarahalli > Sent: Tuesday, September 13, 2022 10:38 PM > To: Juraj Linkeš ; Bruce Richardson > > Cc: tho...@monjalon.net; david.march...@redhat.com; > ronan.rand...@intel.com; ohily...@iol.unh.edu; lijuan...@intel.com; > dev@dpdk.org; nd > Subjec

Re: [PATCH v5 4/4] doc: remove deprecation notice

2022-09-14 Thread Jerin Jacob
On Wed, Sep 14, 2022 at 10:46 AM Naga Harish K S V wrote: > > This patch removes event timer expiry drop stat deprecation > notification. > > Signed-off-by: Naga Harish K S V > --- > doc/guides/rel_notes/deprecation.rst | 7 --- Please squash this patch with 1/5. Also, Please update "ABI Cha

Re: [PATCH] eventdev: add weight and affinity attributes to queue conf

2022-09-14 Thread Jerin Jacob
On Wed, Aug 10, 2022 at 1:13 PM Shijith Thotton wrote: > > Added new fields to represent event queue weight and affinity in > rte_event_queue_conf structure. Internal op to get queue attribute is > removed as it is no longer needed. Updated driver to use the new field. > > Signed-off-by: Shijith T

Re: [PATCH v4 5/9] dts: add ssh connection extension

2022-09-14 Thread Owen Hilyard
> > On Wed, Sep 14, 2022 at 3:46 AM Bruce Richardson < > bruce.richard...@intel.com> wrote: > > On Fri, Jul 29, 2022 at 10:55:46AM +, Juraj Linkeš wrote: > > > The class adds logging and history records to existing pexpect > > methods. > > > > > > Signed-off-by: Owen Hi

Re: [PATCH v1 00/10] baseband/acc200

2022-09-14 Thread Maxime Coquelin
On 9/14/22 12:35, Thomas Monjalon wrote: 06/09/2022 14:51, Tom Rix: On 9/1/22 1:34 PM, Chautru, Nicolas wrote: From: Tom Rix On 8/31/22 6:26 PM, Chautru, Nicolas wrote: From: Tom Rix On 8/31/22 3:37 PM, Chautru, Nicolas wrote: Comparing ACC200 & ACC100 header files, I understand ACC200

Re: [PATCH v3 1/4] vhost: fix vq use after free on NUMA reallocation

2022-09-14 Thread Maxime Coquelin
On 9/14/22 11:45, Thomas Monjalon wrote: 14/09/2022 11:34, Maxime Coquelin: On 9/14/22 11:15, Thomas Monjalon wrote: 14/09/2022 09:14, Maxime Coquelin: On 9/14/22 03:05, Xia, Chenbo wrote: From: Maxime Coquelin On 7/26/22 09:55, Maxime Coquelin wrote: The bug this patch is fixing is bei

Re: [PATCH v2] usertools: rewrite pmdinfo

2022-09-14 Thread Ferruh Yigit
On 9/13/2022 10:22 PM, Robin Jarry wrote: CAUTION: This message has originated from an External Source. Please use proper judgment and caution when opening attachments, clicking links, or responding to this email. Ferruh Yigit, Sep 13, 2022 at 22:54: Some of the drivers doesn't provide PCI i

Re: [PATCH v2 01/10] net/gve: introduce GVE PMD base code

2022-09-14 Thread Thomas Monjalon
06/09/2022 11:31, Guo, Junfeng: > From: Thomas Monjalon > > 01/09/2022 20:23, Stephen Hemminger: > > > On Thu, 1 Sep 2022 18:19:22 +0100 > > > Ferruh Yigit wrote: > > > > > > > > > > > > > diff --git a/drivers/net/gve/gve_adminq.c > > b/drivers/net/gve/gve_adminq.c > > > > > new file mode 100644

Re: [PATCH v1 00/10] baseband/acc200

2022-09-14 Thread Thomas Monjalon
06/09/2022 14:51, Tom Rix: > On 9/1/22 1:34 PM, Chautru, Nicolas wrote: > > From: Tom Rix > >> On 8/31/22 6:26 PM, Chautru, Nicolas wrote: > >>> From: Tom Rix > On 8/31/22 3:37 PM, Chautru, Nicolas wrote: > > Comparing ACC200 & ACC100 header files, I understand ACC200 is > >

RE: [EXT] Re: [PATCH] examples/l2fwd: add check of Rx packets count

2022-09-14 Thread Rahul Bhansali
Hi Thomas, This got ack from Stephen Hemminger also. It is pending from long time, Can we consider this for RC1 ? Regards, Rahul > -Original Message- > From: Rahul Bhansali > Sent: Wednesday, July 20, 2022 10:22 PM > To: Thomas Monjalon ; dev@dpdk.org > Cc: Bruce Richardson ; ferruh.yi.

RE: [PATCH v1] ethdev: add direction info when creating the transfer table

2022-09-14 Thread Rongwei Liu
HI BR Rongwei > -Original Message- > From: Ivan Malov > Sent: Wednesday, September 14, 2022 15:32 > To: Rongwei Liu > Cc: Matan Azrad ; Slava Ovsiienko > ; Ori Kam ; NBU-Contact- > Thomas Monjalon (EXTERNAL) ; Aman Singh > ; Yuying Zhang ; > Andrew Rybchenko ; dev@dpdk.org; Raslan > Dar

Re: [RFC] ethdev: add send to kernel action

2022-09-14 Thread Thomas Monjalon
13/09/2022 14:09, Michael Savisko: > From: Andrew Rybchenko > > On 9/12/22 16:39, Michael Savisko wrote: > > > From: Thomas Monjalon > > >> 16/08/2022 11:50, Ferruh Yigit: > > >>> On 8/11/2022 12:35 PM, Michael Savisko wrote: > > > > In some cases application may receive a packet that s

Re: [PATCH v3 1/4] vhost: fix vq use after free on NUMA reallocation

2022-09-14 Thread Thomas Monjalon
14/09/2022 11:34, Maxime Coquelin: > > On 9/14/22 11:15, Thomas Monjalon wrote: > > 14/09/2022 09:14, Maxime Coquelin: > >> On 9/14/22 03:05, Xia, Chenbo wrote: > >>> From: Maxime Coquelin > On 7/26/22 09:55, Maxime Coquelin wrote: > The bug this patch is fixing is being reproduced down

RE: [PATCH v2 1/2] member: implement NitroSketch mode

2022-09-14 Thread Rong, Leyi
Hi David, > -Original Message- > From: David Marchand > Sent: Tuesday, September 13, 2022 10:56 PM > To: Rong, Leyi > Cc: ferruh.yi...@xilinx.com; suanmi...@nvidia.com; Wang, Yipeng1 > ; zaoxing...@gmail.com; Gobriel, Sameh > ; dev@dpdk.org; Richardson, Bruce > ; Aaron Conole ; Michael >

Re: [PATCH v4 4/9] dts: add ssh pexpect library

2022-09-14 Thread Stanislaw Kardach
On Fri, Jul 29, 2022 at 10:55:45AM +, Juraj Linkeš wrote: > The library uses the pexpect python library and implements connection to > a node and two ways to interact with the node: > 1. Send a string with specified prompt which will be matched after >the string has been sent to the node. >

RE: [PATCH v3] config/arm: add PHYTIUM tys2500

2022-09-14 Thread Ruifeng Wang
> -Original Message- > From: luzhipeng > Sent: Friday, September 9, 2022 4:43 PM > To: dev@dpdk.org > Cc: Jan Viktorin ; Ruifeng Wang > ; Bruce > Richardson ; luzhipeng > Subject: [PATCH v3] config/arm: add PHYTIUM tys2500 > > Here adds configs for PHYTIUM server. > > Signed-off-by: lu

Re: [dpdk-test-report] |FAILURE| pw(116298) sid(24657) job(PER_PATCH_BUILD4137)[v6,27/27] dev: hide device object

2022-09-14 Thread David Marchand
On Wed, Sep 14, 2022 at 10:21 AM wrote: > > > Test-Label: Intel-compilation > Test-Status: FAILURE > http://dpdk.org/patch/116298 > > _Compilation issues_ > > Submitter: David Marchand > Date: 2022-09-14 07:58:41 > Reply_mail: <20220914075841.51555-28-david.march...@redhat.com> > > DPDK git basel

Re: [PATCH v4 1/9] dts: add project tools config

2022-09-14 Thread Thomas Monjalon
13/09/2022 21:19, Honnappa Nagarahalli: > > > > > > --- /dev/null > > > > > > +++ b/dts/.editorconfig > > > > > > @@ -0,0 +1,7 @@ > > > > > > +# SPDX-License-Identifier: BSD-3-Clause # Copyright(c) 2022 > > > > > > +PANTHEON.tech s.r.o. > > > > > > +# See https://editorconfig.org/ for syntax refere

Re: [PATCH v3 1/4] vhost: fix vq use after free on NUMA reallocation

2022-09-14 Thread Maxime Coquelin
On 9/14/22 11:15, Thomas Monjalon wrote: 14/09/2022 09:14, Maxime Coquelin: On 9/14/22 03:05, Xia, Chenbo wrote: From: Maxime Coquelin On 7/26/22 09:55, Maxime Coquelin wrote: The bug this patch is fixing is being reproduced downstream. It would be great it gets merged in main branch rapid

[PATCH v2] ethdev: add send to kernel action

2022-09-14 Thread Michael Savisko
In some cases application may receive a packet that should have been received by the kernel. In this case application uses KNI or other means to transfer the packet to the kernel. With bifurcated driver we can have a rule to route packets matching a pattern (example: IPv4 packets) to the DPDK appl

[PATCH v7 4/4] doc: add howto guide for lcore poll busyness

2022-09-14 Thread Kevin Laatz
Add a new section to the howto guides for using the new lcore poll busyness telemetry endpoints and describe general usage. Signed-off-by: Kevin Laatz --- v6: * Add mention of perf autotest in note mentioning perf impact. v4: * Include note on perf impact when the feature is enabled * Add

[PATCH v7 3/4] app/test: add unit tests for lcore poll busyness

2022-09-14 Thread Kevin Laatz
Add API unit tests and perf unit tests for the newly added lcore poll busyness feature. Signed-off-by: Kevin Laatz --- app/test/meson.build | 4 + app/test/test_lcore_poll_busyness_api.c | 134 +++ app/test/test_lcore_poll_busyness_perf.c | 72

[PATCH v7 2/4] eal: add cpuset lcore telemetry entries

2022-09-14 Thread Kevin Laatz
From: Anatoly Burakov Expose per-lcore cpuset information to telemetry. Signed-off-by: Anatoly Burakov --- .../common/eal_common_lcore_poll_telemetry.c | 47 +++ 1 file changed, 47 insertions(+) diff --git a/lib/eal/common/eal_common_lcore_poll_telemetry.c b/lib/eal/common/e

[PATCH v7 1/4] eal: add lcore poll busyness telemetry

2022-09-14 Thread Kevin Laatz
From: Anatoly Burakov Currently, there is no way to measure lcore poll busyness in a passive way, without any modifications to the application. This patch adds a new EAL API that will be able to passively track core polling busyness. The poll busyness is calculated by relying on the fact that mo

[PATCH v7 0/4] Add lcore poll busyness telemetry

2022-09-14 Thread Kevin Laatz
Currently, there is no way to measure lcore polling busyness in a passive way, without any modifications to the application. This patchset adds a new EAL API that will be able to passively track core polling busyness. As part of the set, new telemetry endpoints are added to read the generate metric

Re: [PATCH v8 05/12] net/nfp: add flower PF setup logic

2022-09-14 Thread Thomas Monjalon
14/09/2022 03:23, Chaoyong He: > > On 9/13/2022 7:51 AM, Chaoyong He wrote: > > > > > >> On 9/9/2022 3:36 AM, Chaoyong He wrote: > > On 9/8/2022 9:44 AM, Chaoyong He wrote: > > > Adds the vNIC initialization logic for the flower PF vNIC. The > > > flower firmware exposes this vNIC for

Re: [PATCH v8 05/12] net/nfp: add flower PF setup logic

2022-09-14 Thread Thomas Monjalon
09/09/2022 14:13, Ferruh Yigit: > On 9/9/2022 3:36 AM, Chaoyong He wrote: > >> On 9/8/2022 9:44 AM, Chaoyong He wrote: > >>> Adds the vNIC initialization logic for the flower PF vNIC. The flower > >>> firmware exposes this vNIC for the purposes of fallback traffic in the > >>> switchdev use-case. >

Re: [PATCH v3 1/4] vhost: fix vq use after free on NUMA reallocation

2022-09-14 Thread Thomas Monjalon
14/09/2022 09:14, Maxime Coquelin: > On 9/14/22 03:05, Xia, Chenbo wrote: > > From: Maxime Coquelin > >> On 7/26/22 09:55, Maxime Coquelin wrote: > >> The bug this patch is fixing is being reproduced downstream. > >> It would be great it gets merged in main branch rapidly so that we can > >> perfo

Re: [PATCH v2 05/37] baseband/acc100: memory leak fix

2022-09-14 Thread Maxime Coquelin
Hi Hernan, On 8/20/22 04:31, Hernan Vargas wrote: Move check for undefined device before allocating queue data structure. Coverity issue: 375803, 375813, 375819, 375827, 375831 Fixes: 060e7672930 ("baseband/acc100: add queue configuration") Cc: sta...@dpdk.org Please add fixes at the beginnin

RE: [PATCH] net/ice: avoid out-of-bound access

2022-09-14 Thread Xu, Ke1
> -Original Message- > From: Zhichao Zeng > Sent: Tuesday, September 6, 2022 10:29 AM > To: dev@dpdk.org > Cc: Yang, Qiming ; Zhou, YidingX > ; Zeng, ZhichaoX ; > Zhang, Qi Z > Subject: [PATCH] net/ice: avoid out-of-bound access > > Add judgment on 'ethdev_port_id' to avoid out-of-boun

Re: [PATCH] usertools: rewrite pmdinfo

2022-09-14 Thread Robin Jarry
Ferruh Yigit, Sep 13, 2022 at 15:50: > I confirm warnings are gone when `LD_LIBRARY_PATH` is provided, but why > current version doesn't require `LD_LIBRARY_PATH`? It does but I assume no warning is displayed when the required libs are not found. I could silence the warnings unless a -v/--verbose

Re: [NOTICE] 0-day Robot offline for upgrades

2022-09-14 Thread David Marchand
Hey Aaron, Michael, On Fri, Sep 9, 2022 at 5:34 PM Aaron Conole wrote: > > Greetings, > > This is to let you know that we are executing upgrades today for the open > 0-day robot that we run for OVS and DPDK projects. We don't expect that > the robot will be offline for a very long time, but just

  1   2   >