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

2022-09-13 Thread Kundapura, Ganapati
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] eventdev/eth_rx: sub event type gets reset > > > -Original Message- > > From:

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

2022-09-13 Thread Ganapati Kundapura
In rte_event_eth_rx_adapter_queue_add(), sub_event_type of rte_event structure is reset which can be used by the application to determine the processing function. Removed resetting of rte_event::sub_event_type Signed-off-by: Ganapati Kundapura Acked-by: Jay Jayatheerthan diff --git a/lib/event

RE: [PATCH v2 6/8] vdpa/ifc: support dynamic enable/disable queue

2022-09-13 Thread Pei, Andy
Hi Chenbo, See my reply inline. > -Original Message- > From: Huang, Wei > Sent: Wednesday, September 14, 2022 11:04 AM > To: Xia, Chenbo ; Pei, Andy ; > dev@dpdk.org > Cc: Xu, Rosen ; Cao, Gang ; > maxime.coque...@redhat.com; Huang Wei > Subject: RE: [PATCH v2 6/8] vdpa/ifc: support dy

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

2022-09-13 Thread Rongwei Liu
HI BR Rongwei > -Original Message- > From: Ivan Malov > Sent: Tuesday, September 13, 2022 22:33 > 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 > Daraw

RE: [PATCH v2 1/4] eventdev/timer: add periodic event timer support

2022-09-13 Thread Naga Harish K, S V
Hi Jerin, > -Original Message- > From: Jerin Jacob > Sent: Tuesday, September 13, 2022 5:38 PM > To: Naga Harish K, S V > Cc: Carrillo, Erik G ; jer...@marvell.com; > pbhagavat...@marvell.com; sthot...@marvell.com; dev@dpdk.org > Subject: Re: [PATCH v2 1/4] eventdev/timer: add period

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

2022-09-13 Thread Naga Harish K S V
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 --- 1 file changed, 7 deletions(-) diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst index e7583ca

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

2022-09-13 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 v5 2/4] timer: fix function to stop all timers

2022-09-13 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 v5 1/4] eventdev/timer: add periodic event timer support

2022-09-13 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

[PATCH v5 4/4] doc: remove deprication notice

2022-09-13 Thread Naga Harish K S V
This patch removes event timer expiry drop stat deprication notification. Signed-off-by: Naga Harish K S V --- doc/guides/rel_notes/deprecation.rst | 7 --- 1 file changed, 7 deletions(-) diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst index e7583ca

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

2022-09-13 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 v5 2/4] timer: fix function to stop all timers

2022-09-13 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 v5 1/4] eventdev/timer: add periodic event timer support

2022-09-13 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 v2 3/8] vdpa/ifc: set max queues according to HW spec

2022-09-13 Thread Pei, Andy
Hi Chenbo, Thanks for your reply. My reply is inline. > -Original Message- > From: Xia, Chenbo > Sent: Friday, September 9, 2022 1:56 PM > To: Pei, Andy ; dev@dpdk.org > Cc: Xu, Rosen ; Huang, Wei ; Cao, > Gang ; maxime.coque...@redhat.com > Subject: RE: [PATCH v2 3/8] vdpa/ifc: set max

RE: [PATCH v2 6/8] vdpa/ifc: support dynamic enable/disable queue

2022-09-13 Thread Xia, Chenbo
> -Original Message- > From: Huang, Wei > Sent: Wednesday, September 14, 2022 11:04 AM > To: Xia, Chenbo ; Pei, Andy ; > dev@dpdk.org > Cc: Xu, Rosen ; Cao, Gang ; > maxime.coque...@redhat.com; Huang Wei > Subject: RE: [PATCH v2 6/8] vdpa/ifc: support dynamic enable/disable queue > > >

RE: [PATCH v2 6/8] vdpa/ifc: support dynamic enable/disable queue

2022-09-13 Thread Huang, Wei
> -Original Message- > From: Xia, Chenbo > Sent: Wednesday, September 14, 2022 10:23 > To: Pei, Andy ; dev@dpdk.org > Cc: Xu, Rosen ; Huang, Wei ; Cao, > Gang ; maxime.coque...@redhat.com; Huang Wei > > Subject: RE: [PATCH v2 6/8] vdpa/ifc: support dynamic enable/disable queue > > > -

RE: [PATCH v2 5/8] vdpa/ifc: only configure enabled queue

2022-09-13 Thread Huang, Wei
> -Original Message- > From: Xia, Chenbo > Sent: Wednesday, September 14, 2022 09:59 > To: Pei, Andy ; dev@dpdk.org > Cc: Xu, Rosen ; Huang, Wei ; Cao, > Gang ; maxime.coque...@redhat.com; Huang Wei > > Subject: RE: [PATCH v2 5/8] vdpa/ifc: only configure enabled queue > > > -Orig

RE: [PATCH v2 7/8] vhost: configure device when any queue is ready for BLK device

2022-09-13 Thread Xia, Chenbo
> -Original Message- > From: Pei, Andy > Sent: Thursday, September 8, 2022 1:54 PM > To: dev@dpdk.org > Cc: Xia, Chenbo ; Xu, Rosen ; > Huang, Wei ; Cao, Gang ; > maxime.coque...@redhat.com; Huang Wei > Subject: [PATCH v2 7/8] vhost: configure device when any queue is ready > for BLK devi

RE: [PATCH v2 6/8] vdpa/ifc: support dynamic enable/disable queue

2022-09-13 Thread Xia, Chenbo
> -Original Message- > From: Pei, Andy > Sent: Thursday, September 8, 2022 1:54 PM > To: dev@dpdk.org > Cc: Xia, Chenbo ; Xu, Rosen ; > Huang, Wei ; Cao, Gang ; > maxime.coque...@redhat.com; Huang Wei > Subject: [PATCH v2 6/8] vdpa/ifc: support dynamic enable/disable queue > > From: Huan

RE: [PATCH v2 5/8] vdpa/ifc: only configure enabled queue

2022-09-13 Thread Xia, Chenbo
> -Original Message- > From: Pei, Andy > Sent: Thursday, September 8, 2022 1:54 PM > To: dev@dpdk.org > Cc: Xia, Chenbo ; Xu, Rosen ; > Huang, Wei ; Cao, Gang ; > maxime.coque...@redhat.com; Huang Wei > Subject: [PATCH v2 5/8] vdpa/ifc: only configure enabled queue > > when configure the

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

2022-09-13 Thread 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 the purposes of fallback > > traffic in

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

2022-09-13 Thread Xia, Chenbo
Hi Maxime, > -Original Message- > From: Maxime Coquelin > Sent: Tuesday, September 13, 2022 11:03 PM > To: David Marchand ; Xia, Chenbo > ; Thomas Monjalon > Cc: sta...@dpdk.org; dev@dpdk.org > Subject: Re: [PATCH v3 1/4] vhost: fix vq use after free on NUMA > reallocation > > Hi, > >

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

2022-09-13 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, > +self.password, > +

[Bug 1081] DPDK libraries (rib, lpm, ...) can't safely be used by shared libraries in application that are unloaded

2022-09-13 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=1081 Bug ID: 1081 Summary: DPDK libraries (rib, lpm, ...) can't safely be used by shared libraries in application that are unloaded Product: DPDK Version: 22.03 Hardware: All

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

2022-09-13 Thread Honnappa Nagarahalli
> > > > > --- > > > dts/framework/__init__.py | 3 + > > > dts/framework/logger.py | 124 > > ++ > > > 2 files changed, 127 insertions(+) > > > create mode 100644 dts/framework/__init__.py create mode 100644 > > > dts/framework/logger.py > > > > > > diff

Re: [PATCH v2] usertools: rewrite pmdinfo

2022-09-13 Thread Robin Jarry
Ferruh Yigit, Sep 13, 2022 at 22:54: > Some of the drivers doesn't provide PCI ids, but script is listing > them empty, like [1], is it better to omit the output for that case, > as done to 'params' & 'kmod'? [snip] > [1] >{ > "name": "net_enetfec", > "pci_ids": [] >}, I could in

Re: [PATCH v2] usertools: rewrite pmdinfo

2022-09-13 Thread Ferruh Yigit
On 9/13/2022 8:42 PM, Robin Jarry wrote: dpdk-pmdinfo.py does not produce any parseable output. The -r/--raw flag merely prints multiple independent JSON lines which cannot be fed directly to any JSON parser. Moreover, the script complexity is rather high for such a simple task: extracting PMD_

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

2022-09-13 Thread Honnappa Nagarahalli
(I have lost the original patch emails due to quarantine policy, apologies for using this thread for my comments) > > > > On Fri, Jul 29, 2022 at 10:55:43AM +, Juraj Linkeš wrote: > > > The Dockerfile contains basic image for CI and developers. There's > > > also an integration of the Docke

[PATCH v2] usertools: rewrite pmdinfo

2022-09-13 Thread Robin Jarry
dpdk-pmdinfo.py does not produce any parseable output. The -r/--raw flag merely prints multiple independent JSON lines which cannot be fed directly to any JSON parser. Moreover, the script complexity is rather high for such a simple task: extracting PMD_INFO_STRING from .rodata ELF sections. Rewrit

RE: Egress RTE flow rule rule with mark in matching pattern on mlx5

2022-09-13 Thread Asaf Penso
Hello David, Can we first understand what you would like to achieve? Accordingly, we can suggest a way to do so. Regards, Asaf Penso >-Original Message- >From: David Vodak >Sent: Tuesday, September 13, 2022 5:29 PM >To: Matan Azrad ; Slava Ovsiienko > >Cc: dev@dpdk.org >Subject: Egress

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

2022-09-13 Thread Honnappa Nagarahalli
> > > > > > > > > > diff --git a/dts/.editorconfig b/dts/.editorconfig new file mode > > > > > 100644 index 00..657f959030 > > > > > --- /dev/null > > > > > +++ b/dts/.editorconfig > > > > > @@ -0,0 +1,7 @@ > > > > > +# SPDX-License-Identifier: BSD-3-Clause # Copyright(c) 2022 > > > > > +

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

2022-09-13 Thread Honnappa Nagarahalli
> > > > On Fri, Jul 29, 2022 at 10:55:42AM +, Juraj Linkeš wrote: > > > .gitignore contains standard Python-related files. > > > > > > Apart from that, add configuration for Python tools used in DTS: > > > Poetry, dependency and package manager Black, formatter Pylama, > > > static analysis I

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

2022-09-13 Thread Honnappa Nagarahalli
> > On Mon, Sep 12, 2022 at 10:06:03AM -0400, Owen Hilyard wrote: > >> E203 - whitespace before ‘,’, ‘;’, or ‘:’ > >> E266 - too many leading ‘#’ for block comment > >> E501 - line too long > >> E731 - do not assign a lambda expression, use a def > >> C0111 - Missing %s docst

Re: [PATCH v4 6/9] dts: add config parser module

2022-09-13 Thread Owen Hilyard
> > +# Frozen makes the object immutable. This enables further optimizations, > > +# and makes it thread safe should we every want to move in that > direction. > > +@dataclass(slots=True, frozen=True) > > +class NodeConfiguration: > > +name: str > > +hostname: str > > +user: str > > +

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

2022-09-13 Thread Owen Hilyard
> > 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 Hilyard > > Signed-off-by: Juraj Linkeš > > --- > > dts/framework/ssh_connection.py | 70 + > >

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

2022-09-13 Thread Owen Hilyard
> > 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, > > +self.password, > > +

Re: [PATCH v4 6/9] dts: add config parser module

2022-09-13 Thread Bruce Richardson
On Fri, Jul 29, 2022 at 10:55:47AM +, Juraj Linkeš wrote: > From: Owen Hilyard > > The configuration is split into two parts, one defining the parameters > of the test run and the other defining the topology to be used. > > The format of the configuration is YAML. It is validated according t

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

2022-09-13 Thread Bruce Richardson
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 Hilyard > Signed-off-by: Juraj Linkeš > --- > dts/framework/ssh_connection.py | 70 + > 1 file changed,

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

2022-09-13 Thread Jayatheerthan, Jay
> -Original Message- > From: Kundapura, Ganapati > Sent: Tuesday, September 13, 2022 12:32 PM > To: dev@dpdk.org; jer...@marvell.com > Cc: Jayatheerthan, Jay ; Naga Harish K, S V > > Subject: [PATCH v1] eventdev/eth_rx: sub event type gets reset > > In rte_event_eth_rx_adapter_queue_add

Re: [PATCH 1/2] eventdev/eth_tx: add spinlock for adapter start/stop

2022-09-13 Thread Jerin Jacob
On Fri, Sep 9, 2022 at 11:09 AM Naga Harish K, S V wrote: > > Hi Jerin, >This patch set is acked by maintainers. > Please review and do the needful. Series applied to dpdk-next-net-eventdev/for-main. Thanks > > -Harish > > > -Original Message- > > From: Jayatheerthan, Jay > > Sen

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

2022-09-13 Thread Chas Williams
On 9/13/22 06:22, Ferruh Yigit wrote: > On 7/25/2022 5:08 AM, Chengwen Feng wrote: > > > I assume intention is to make this as transparent as possible to the > user, that is why you are using a wrapper that combines > `rte_eth_tx_prepare()` & `rte_eth_tx_burst()` APIs. But for other PMDs > `rte_eth

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

2022-09-13 Thread Maxime Coquelin
Hi, On 7/26/22 09:55, Maxime Coquelin wrote: On 7/25/22 22:32, David Marchand wrote: translate_ring_addresses (via numa_realloc) may change a virtio device and virtio queue. The virtqueue object must be refreshed before accessing the lock. Fixes: 04c27cb673b9 ("vhost: fix unsafe vring addre

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

2022-09-13 Thread Stanislaw Kardach
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, > +self.password, > +

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

2022-09-13 Thread David Marchand
On Wed, Aug 31, 2022 at 8:47 AM Leyi Rong wrote: > > 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,

Re: [PATCH] event/cnxk: fix stale data in workslots

2022-09-13 Thread Jerin Jacob
On Mon, Jul 25, 2022 at 2:05 PM wrote: > > From: Pavan Nikhilesh > > Fix stale XAQ depth check pointers in workslot memory after > XAQ pool resize. > > Fixes: bd64a963d2fc ("event/cnxk: use common XAQ pool functions") > Cc: sta...@dpdk.org > > Signed-off-by: Pavan Nikhilesh This needs to be reb

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

2022-09-13 Thread Ivan Malov
Hi Rongwei, PSB On Tue, 13 Sep 2022, Rongwei Liu wrote: Hi BR Rongwei -Original Message- From: Ivan Malov Sent: Tuesday, September 13, 2022 00:57 To: Rongwei Liu Cc: Matan Azrad ; Slava Ovsiienko ; Ori Kam ; NBU-Contact- Thomas Monjalon (EXTERNAL) ; Aman Singh ; Yuying Zhang ; And

Egress RTE flow rule rule with mark in matching pattern on mlx5

2022-09-13 Thread David Vodak
Hello, I am trying to offload egress flow rule with mark in the matching pattern to nvidia NICs ConnectX-5 and ConnectX-6, but I keep getting the same results. I am using DPDK 21.11.1. If I try to offload this rule to mlx5 NIC, without any device arguments, it says that I need to enable exte

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

2022-09-13 Thread Bruce Richardson
On Tue, Sep 13, 2022 at 01:36:42PM +, Juraj Linkeš wrote: > > > > -Original Message- > > From: Bruce Richardson > > Sent: Thursday, September 8, 2022 11:53 AM > > To: Juraj Linkeš > > Cc: tho...@monjalon.net; david.march...@redhat.com; > > ronan.rand...@intel.com; honnappa.nagaraha.

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

2022-09-13 Thread Bruce Richardson
On Tue, Sep 13, 2022 at 12:08:48PM +, Juraj Linkeš wrote: > > > > -Original Message- > > From: Bruce Richardson > > Sent: Monday, September 12, 2022 5:15 PM > > To: Owen Hilyard > > Cc: Juraj Linkeš ; tho...@monjalon.net; > > david.march...@redhat.com; ronan.rand...@intel.com; > > h

Re: [PATCH] usertools: rewrite pmdinfo

2022-09-13 Thread Bruce Richardson
On Tue, Sep 13, 2022 at 12:58:11PM +0200, Robin Jarry wrote: > dpdk-pmdinfo.py does not produce any parseable output. The -r/--raw flag > merely prints multiple independent JSON lines which cannot be fed > directly to any JSON parser. Moreover, the script complexity is rather > high for such a simp

Re: [PATCH] usertools: rewrite pmdinfo

2022-09-13 Thread Ferruh Yigit
On 9/13/2022 2:59 PM, Robin Jarry wrote: 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 s

Re: [PATCH] sw_evdev: report correct device name

2022-09-13 Thread Jerin Jacob
On Thu, Jul 14, 2022 at 1:15 PM Van Haaren, Harry wrote: > > > -Original Message- > > From: Stephen Hemminger > > Sent: Wednesday, July 13, 2022 7:25 PM > > To: dev@dpdk.org > > Cc: Stephen Hemminger ; Van Haaren, Harry > > ; Richardson, Bruce > > ; > > Hunt, David > > Subject: [PATCH]

Re: [PATCH] app/test-eventdev: remove unnecessary memset

2022-09-13 Thread Jerin Jacob
On Wed, Jul 13, 2022 at 8:59 PM Stephen Hemminger wrote: > > The function rte_event_dev_info_get already zeros the info structure. > Therefore the test code doesn't need to do it. > > Signed-off-by: Stephen Hemminger Acked-by: Jerin Jacob Applied to dpdk-next-net-eventdev/for-main. Thanks >

Re: [PATCH] usertools: rewrite pmdinfo

2022-09-13 Thread Ferruh Yigit
On 9/13/2022 12:49 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 13:29: Hi Robin, Thanks for the work. One of t

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

2022-09-13 Thread Morten Brørup
> From: Kevin Laatz [mailto:kevin.la...@intel.com] > Sent: Tuesday, 13 September 2022 15.20 > > From: Anatoly Burakov > [...] Still a few missing renames... > diff --git a/lib/eal/common/eal_common_lcore_telemetry.c > b/lib/eal/common/eal_common_lcore_telemetry.c > new file mode 100644 > ind

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

2022-09-13 Thread Rongwei Liu
Hi BR Rongwei > -Original Message- > From: Ivan Malov > Sent: Tuesday, September 13, 2022 00:57 > 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 > Dara

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

2022-09-13 Thread Juraj Linkeš
> -Original Message- > From: Bruce Richardson > Sent: Thursday, September 8, 2022 11:53 AM > To: Juraj Linkeš > Cc: tho...@monjalon.net; david.march...@redhat.com; > ronan.rand...@intel.com; honnappa.nagaraha...@arm.com; > ohily...@iol.unh.edu; lijuan...@intel.com; dev@dpdk.org > Subjec

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

2022-09-13 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 v6 3/4] app/test: add unit tests for lcore poll busyness

2022-09-13 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 v6 2/4] eal: add cpuset lcore telemetry entries

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

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

2022-09-13 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 v6 0/4] Add lcore poll busyness telemetry

2022-09-13 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] event/dsw: fix migration bug

2022-09-13 Thread Jerin Jacob
On Thu, Jul 7, 2022 at 5:13 PM Mattias Rönnblom wrote: > > From: Mattias Rönnblom > > Fix bug in flow migration, which under certain conditions causes > reordering and violation of atomicity guarantees. > > The issue occurs when the processing of a flow (on an atomic queue) > has resulted in even

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

2022-09-13 Thread Juraj Linkeš
> -Original Message- > From: Bruce Richardson > Sent: Thursday, September 8, 2022 10:31 AM > To: Juraj Linkeš > Cc: tho...@monjalon.net; david.march...@redhat.com; > ronan.rand...@intel.com; honnappa.nagaraha...@arm.com; > ohily...@iol.unh.edu; lijuan...@intel.com; dev@dpdk.org > Subjec

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

2022-09-13 Thread Juraj Linkeš
> -Original Message- > From: Bruce Richardson > Sent: Wednesday, September 7, 2022 6:37 PM > To: Juraj Linkeš > Cc: tho...@monjalon.net; david.march...@redhat.com; > ronan.rand...@intel.com; honnappa.nagaraha...@arm.com; > ohily...@iol.unh.edu; lijuan...@intel.com; dev@dpdk.org > Subjec

Re: [PATCH] examples/eventdev: Check for the NULL pointer after calling rte_zmalloc

2022-09-13 Thread Jerin Jacob
On Wed, Jul 6, 2022 at 12:54 PM <835703...@qq.com> wrote: > > From: Shiqi Liu <835703...@qq.com> > > As the possible failure of the rte_zmalloc(), the not_checked and > checked could be NULL pointer. > Therefore, it should be better to check it in order to avoid > the dereference of the NULL pointe

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

2022-09-13 Thread Michael Savisko
> -Original Message- > From: Andrew Rybchenko > Sent: Monday, 12 September 2022 17:41 > > On 9/12/22 16:39, Michael Savisko wrote: > >> -Original Message- > >> From: Thomas Monjalon > >> Sent: Monday, 12 September 2022 16:33 > >> > >> 16/08/2022 11:50, Ferruh Yigit: > >>> On 8/1

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

2022-09-13 Thread Juraj Linkeš
> -Original Message- > From: Bruce Richardson > Sent: Monday, September 12, 2022 5:15 PM > To: Owen Hilyard > Cc: Juraj Linkeš ; tho...@monjalon.net; > david.march...@redhat.com; ronan.rand...@intel.com; > honnappa.nagaraha...@arm.com; lijuan...@intel.com; dev@dpdk.org > Subject: Re: [P

Re: [PATCH v2 1/4] eventdev/timer: add periodic event timer support

2022-09-13 Thread Jerin Jacob
On Wed, Aug 10, 2022 at 12:31 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 nu

Re: [PATCH] usertools: rewrite pmdinfo

2022-09-13 Thread Robin Jarry
Ferruh Yigit, Sep 13, 2022 at 13:29: > Hi Robin, > > Thanks for the work. > > One of the major usecase of the script is to get information from binary > drivers. So intentions of the script is to run it on drivers more than > applications (dpdk-testpmd). > > When I run it on one of the .so driver

Re: [PATCH] usertools: rewrite pmdinfo

2022-09-13 Thread Ferruh Yigit
On 9/13/2022 11:58 AM, Robin Jarry wrote: dpdk-pmdinfo.py does not produce any parseable output. The -r/--raw flag merely prints multiple independent JSON lines which cannot be fed directly to any JSON parser. Moreover, the script complexity is rather high for such a simple task: extracting PMD_I

[PATCH] usertools: rewrite pmdinfo

2022-09-13 Thread Robin Jarry
dpdk-pmdinfo.py does not produce any parseable output. The -r/--raw flag merely prints multiple independent JSON lines which cannot be fed directly to any JSON parser. Moreover, the script complexity is rather high for such a simple task: extracting PMD_INFO_STRING from .rodata ELF sections. Rewrit

RE: [EXT] Re: [PATCH v3 1/3] ethdev: introduce pool sort capability

2022-09-13 Thread Hanumanth Reddy Pothula
> -Original Message- > From: Ferruh Yigit > Sent: Tuesday, September 13, 2022 3:01 PM > To: Andrew Rybchenko ; Hanumanth Reddy > Pothula ; Thomas Monjalon > Cc: dev@dpdk.org; xuan.d...@intel.com; wenxuanx...@intel.com; > xiaoyun...@intel.com; step...@networkplumber.org; yuanx.w...@intel

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

2022-09-13 Thread Ferruh Yigit
On 7/25/2022 5:08 AM, Chengwen Feng wrote: Normally, to use the HW offloads capability (e.g. checksum and TSO) in the Tx direction, the application needs to call rte_eth_dev_prepare to do some adjustment with the packets before sending them (e.g. processing pseudo headers when Tx checksum offlo

RE: [EXT] Re: [PATCH v2 1/3] ethdev: introduce pool sort capability

2022-09-13 Thread Hanumanth Reddy Pothula
> -Original Message- > From: Ferruh Yigit > Sent: Tuesday, September 13, 2022 2:59 PM > To: Hanumanth Reddy Pothula ; Ding, Xuan > ; Thomas Monjalon ; Andrew > Rybchenko > Cc: dev@dpdk.org; Wu, WenxuanX ; Li, Xiaoyun > ; step...@networkplumber.org; Wang, YuanX > ; m...@ashroe.eu; Zhang,

[PATCH] vhost: enable CONFIG feature

2022-09-13 Thread Hao Chen
Enable this feature, so that libvirt or qemu can call vdpa vendor driver's ops '.get_config' through 'vhost_net_get_config' to get the mac address of the vdpa hardware without manual configuration. Signed-off-by: Hao Chen --- lib/vhost/vhost_user.h | 3 ++- 1 file changed, 2 insertions(+), 1 del

Re: [PATCH v3 1/3] ethdev: introduce pool sort capability

2022-09-13 Thread Ferruh Yigit
On 9/13/2022 9:06 AM, Andrew Rybchenko wrote: On 9/2/22 10:00, Hanumanth Pothula wrote: This patch adds support for the pool sort capability. "Add support for serveral (?) mbuf pools per Rx queue." I dislike the word "sort" in summary and the feature description. IMHO it is too restrictive fo

Re: [EXT] Re: [PATCH v2 1/3] ethdev: introduce pool sort capability

2022-09-13 Thread Ferruh Yigit
On 9/7/2022 10:31 PM, Hanumanth Reddy Pothula wrote: -Original Message- From: Ferruh Yigit Sent: Wednesday, September 7, 2022 4:54 PM To: Hanumanth Reddy Pothula ; Ding, Xuan ; Thomas Monjalon ; Andrew Rybchenko Cc: dev@dpdk.org; Wu, WenxuanX ; Li, Xiaoyun ; step...@networkplumber.or

[PATCH v2] net/iavf: fix processing vlan tci in SSE path

2022-09-13 Thread Zhichao Zeng
The SSE RX path does not process the vlan tci correctly when it's stored in L2TAG2, so the vlan tci could not be extracted from descriptor, then would not be put into mbuf either. Add processing when vlan tci is stored in L2TAG2. Fixes: 1162f5a0ef31 ("net/iavf: support flexible Rx descriptor in S

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

2022-09-13 Thread Ferruh Yigit
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 the purposes of fallback traffic in the switchdev use-case. Adds minim

Re: [PATCH v3 1/3] ethdev: introduce pool sort capability

2022-09-13 Thread Andrew Rybchenko
On 9/2/22 10:00, Hanumanth Pothula wrote: This patch adds support for the pool sort capability. "Add support for serveral (?) mbuf pools per Rx queue." I dislike the word "sort" in summary and the feature description. IMHO it is too restrictive for intended behaviour. The key feature here is

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

2022-09-13 Thread Suanming Mou
Hi > -Original Message- > From: Yuan Wang > Sent: Saturday, September 3, 2022 3:10 AM > To: dev@dpdk.org; NBU-Contact-Thomas Monjalon (EXTERNAL) > ; Ferruh Yigit ; Andrew > Rybchenko > Cc: m...@ashroe.eu; xiaoyun...@intel.com; aman.deep.si...@intel.com; > yuying.zh...@intel.com; qi.z.zh.

RE: [PATCH] doc: refine iavf limitation or known issues

2022-09-13 Thread Xing, Beilei
> -Original Message- > From: Zhang, Qi Z > Sent: Tuesday, September 6, 2022 8:42 PM > To: Xing, Beilei ; Wu, Jingjing > Cc: Yang, Qiming ; dev@dpdk.org; Zhang, Qi Z > > Subject: [PATCH] doc: refine iavf limitation or known issues > > Move all VF related limitationi or known issues fr

Re: [PATCH v2] ethdev: remove header split Rx offload

2022-09-13 Thread Andrew Rybchenko
On 8/12/22 06:13, xuan.d...@intel.com wrote: From: Xuan Ding As announced in the deprecation note, this patch removes the Rx offload flag 'RTE_ETH_RX_OFFLOAD_HEADER_SPLIT' and 'split_hdr_size' field from the structure 'rte_eth_rxmode'. Meanwhile, the place where the examples and apps initialize

RE: [RFC] ethdev: add async flow connection tracking configuration

2022-09-13 Thread Ori Kam
Hi Suanming > -Original Message- > From: Suanming Mou > Cc: dev@dpdk.org; Ori Kam > Subject: RE: [RFC] ethdev: add async flow connection tracking configuration > > Ping... > > > -Original Message- > > From: Suanming Mou > > Sent: Tuesday, August 9, 2022 9:26 PM > > To: dev@dpd

RE: [RFC] ethdev: add async flow connection tracking configuration

2022-09-13 Thread Suanming Mou
Ping... > -Original Message- > From: Suanming Mou > Sent: Tuesday, August 9, 2022 9:26 PM > To: dev@dpdk.org > Cc: Ori Kam ; Xiaoyun Li ; Aman > Singh ; Yuying Zhang ; > NBU-Contact-Thomas Monjalon (EXTERNAL) ; Ferruh > Yigit ; Andrew Rybchenko > > Subject: [RFC] ethdev: add async flow c

Re: [EXT] Re: [PATCH 1/6] ethdev: add trace points

2022-09-13 Thread Andrew Rybchenko
On 9/13/22 09:48, Ankur Dwivedi wrote: Hi Andrew, -Original Message- From: Andrew Rybchenko Sent: Monday, September 12, 2022 4:30 PM To: Ankur Dwivedi ; dev@dpdk.org Cc: tho...@monjalon.net; m...@ashroe.eu; or...@nvidia.com; ferruh.yi...@xilinx.com; ch...@att.com; humi...@huawei.com; l

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

2022-09-13 Thread Ganapati Kundapura
In rte_event_eth_rx_adapter_queue_add(), sub_event_type of rte_event structure is reset which is used by the application to determine the processing function. Removed resetting of rte_event::sub_event_type Signed-off-by: Ganapati Kundapura diff --git a/lib/eventdev/rte_event_eth_rx_adapter.c b

[PATCH 1/1] pci: read amd iommu virtual address width

2022-09-13 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 | 42 + 1 file changed, 42 insertions(+) diff --git a/drivers/bus/pci/linux/pci.c b/drivers/bus/pci/linux/pci.c index e521459870..df

[PATCH 0/1] pci: read amd iommu virtual address width

2022-09-13 Thread Michael Piszczek
Add code to read the virtual address width for AMD processors. Michael Piszczek (1): pci: read amd iommu virtual address width drivers/bus/pci/linux/pci.c | 42 + 1 file changed, 42 insertions(+) -- 2.34.1