Re: [PATCH] doc: avoid meson deprecation in setup

2022-11-16 Thread David Marchand
On Tue, Nov 15, 2022 at 6:39 PM Bruce Richardson wrote: > > On Tue, Nov 15, 2022 at 09:35:16AM -0800, Stephen Hemminger wrote: > > The command "meson build" causes a deprecation warning with meson 0.64.0. > > > > WARN

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

2022-11-16 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=1030 Thomas Monjalon (tho...@monjalon.net) changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resoluti

[PATCH] net/mlx5: fix GENEVE resource management

2022-11-16 Thread Suanming Mou
The item translation split causes GENEVE TLV option resource register function flow_dev_geneve_tlv_option_resource_register() to be called twice incorrectly both in spec and mask translation. In SWS mode the refcnt will only be decreased by 1 in flow release. The refcnt will never be 0 again, it c

[PATCH] net/failsafe: Fix crash due to in-valid sub-device port id

2022-11-16 Thread madhuker . mythri
From: Madhuker Mythri Crash occuring while the DPDK secondary processes trying to probe the tap-device, where tap-device is a sub-device of Fail-safe device. Some-times we get in-valid sub-devices(with the in-valid port-id’s and device-names), due to which the IPC communication does not get res

[PATCH] mempool: micro-optimize put function

2022-11-16 Thread Morten Brørup
Micro-optimization: Reduced the most likely code path in the generic put function by moving an unlikely check out of the most likely code path and further down. Also updated the comments in the function. Signed-off-by: Morten Brørup --- lib/mempool/rte_mempool.h | 35 ++-

Re: [PATCH] maintainers: update for gve

2022-11-16 Thread Jordan Kimbrough
I've also registered On Tue, Nov 15, 2022 at 12:04 PM Rushil Gupta wrote: > Done. Thanks Junfeng! > > > > On Tue, Nov 15, 2022 at 1:22 AM Guo, Junfeng > wrote: > > > > > > > > > -Original Message- > > > From: Thomas Monjalon > > > Sent: Tuesday, November 15, 2022 16:33 > > > To: Guo, J

[PATCH v2] mempool: fix rte_mempool_avail_count may segment fault when used in multiprocess

2022-11-16 Thread Fengnan Chang
rte_mempool_create put tailq entry into rte_mempool_tailq list before populate, and pool_data set when populate. So in multi process, if process A create mempool, and process B can get mempool through rte_mempool_lookup before pool_data set, if B call rte_mempool_avail_count, it will cause segment

Reminder - DPDK DTS Working Group - Tomorrow Morning 11/16/22 @ 9am EST/'6am PST/2pm UTC

2022-11-16 Thread Nathan Southern
Good evening, Tomorrow morning, Wed. 11/16/22, we will hold our DPDK DTS Working Group at 9am EST/6am PST/2pm UTC. Zoom information to follow. We hope to see you there. Thanks, Nathan Nathan C. Southern, Project Coordinator Data Plane Development Kit The Linux Foundation 248.835.4812 (mobile

Reminder - DPDK Techboard Meeting Tomorrow Wed. 11/16/22 @ 11am EST/8am PST/4pm UTC

2022-11-16 Thread Nathan Southern
Dear DPDK Community, Tomorrow we will hold our biweekly techboard meeting for DPDK. Read-only agenda will be posted here: https://annuel.framapad.org/p/r.0c3cc4d1e011214183872a98f6b5c7db And you can join the call via Jitsi here: https://meet.jit.si/dpdk Hope to see you there. Thanks, Nathan

Re: [PATCH] mempool: micro-optimize put function

2022-11-16 Thread Andrew Rybchenko
On 11/16/22 13:18, Morten Brørup wrote: Micro-optimization: Reduced the most likely code path in the generic put function by moving an unlikely check out of the most likely code path and further down. Also updated the comments in the function. Signed-off-by: Morten Brørup --- lib/mempool/rte

RE: [PATCH] mempool: micro-optimize put function

2022-11-16 Thread Morten Brørup
> From: Andrew Rybchenko [mailto:andrew.rybche...@oktetlabs.ru] > Sent: Wednesday, 16 November 2022 12.05 > > On 11/16/22 13:18, Morten Brørup wrote: > > Micro-optimization: > > Reduced the most likely code path in the generic put function by > moving an > > unlikely check out of the most likely c

Re: [PATCH] mempool: micro-optimize put function

2022-11-16 Thread Andrew Rybchenko
On 11/16/22 14:10, Morten Brørup wrote: From: Andrew Rybchenko [mailto:andrew.rybche...@oktetlabs.ru] Sent: Wednesday, 16 November 2022 12.05 On 11/16/22 13:18, Morten Brørup wrote: Micro-optimization: Reduced the most likely code path in the generic put function by moving an unlikely check o

[Bug 1126] i40e: Rx interrupt behaviour is possibly wrong

2022-11-16 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=1126 Bug ID: 1126 Summary: i40e: Rx interrupt behaviour is possibly wrong Product: DPDK Version: unspecified Hardware: All OS: All Status: UNCONFIRMED Severity: normal

[dpdk-dev v6] doc: support IPsec Multi-buffer lib v1.3

2022-11-16 Thread Kai Ji
From: Pablo de Lara Updated AESNI MB and AESNI GCM, KASUMI, ZUC, SNOW3G and CHACHA20_POLY1305 PMD documentation guides with information about the latest Intel IPSec Multi-buffer library supported. Signed-off-by: Pablo de Lara Acked-by: Ciara Power Acked-by: Brian Dooley Signed-off-by: Kai Ji

[PATCH] net/failsafe: Fix crash due to in-valid sub-device port id

2022-11-16 Thread madhuker . mythri
From: Madhuker Mythri Crash occurring while the DPDK secondary processes trying to probe the tap-device, where tap-device is a sub-device of Fail-safe device. Some-times we get in-valid sub-devices(with the in-valid port-id's), due to which the IPC communication does not get response and causes t

[PATCH v2] mempool: micro-optimize put function

2022-11-16 Thread Morten Brørup
Micro-optimization: Reduced the most likely code path in the generic put function by moving an unlikely check out of the most likely code path and further down. Also updated the comments in the function. v2 (feedback from Andrew Rybchenko): * Modified comparison to prevent overflow if n is really

[PATCH v2 0/6] doc: some fixes

2022-11-16 Thread Michael Baum
Some doc fixes in testpmd doc and release notes. The first 3 were splited from commit [1] after discussion. [1] https://patchwork.dpdk.org/project/dpdk/patch/20221019144904.2543586-3-michae...@nvidia.com/ v2: - rebase. - add "Reviewed-by" and "Acked-by" lables. - add detailes to cover letter. M

[PATCH v2 1/6] doc: fix underlines too long in testpmd documentation

2022-11-16 Thread Michael Baum
In testpmd documentation, there are two underlines which should not match the length of the text above. This patch update them to be align with the guideline [1]. [1] https://doc.dpdk.org/guides/contributing/documentation.html#section-headers Fixes: a69c335d56b5 ("doc: add flow dump command in t

[PATCH v2 2/6] doc: fix the colon type in listing aged flow rules

2022-11-16 Thread Michael Baum
In testpmd documentation, for listing aged-out flow rules there is some boxes of examples. In Sphinx syntax, those boxes are achieved by "::" before. However, in two places it uses ":" instead and the example looks like a regular text. This patch replace the ":" with "::" to get code box. Fixes:

[PATCH v2 3/6] doc: fix miss blank line in testpmd flow syntax doc

2022-11-16 Thread Michael Baum
In flow syntax documentation, there is example for create pattern template. Before the example, miss a blank line causing it to look regular bold text. In addition, inside the example, it uses tab instead of spaces which expand the indentation in one line. This patch adds the blank line and repla

[PATCH v2 4/6] doc: fix miss blank line in release notes

2022-11-16 Thread Michael Baum
The NVIDIA mlx5 driver inside 22.11 release notes, lists all features support for queue-based async HW steering. Before the list, miss a blank line causing it to look regular text line. This patch adds the blank line as well. Fixes: ddb68e47331e ("net/mlx5: add extended metadata mode for HWS") F

[PATCH v2 5/6] doc: add mlx5 HWS aging support to release notes

2022-11-16 Thread Michael Baum
Add to 22.11 release note the NVIDIA mlx5 HWS aging support. Fixes: 04a4de756e14 ("net/mlx5: support flow age action with HWS") Cc: michae...@nvidia.com Signed-off-by: Michael Baum Reviewed-by: Thomas Monjalon --- doc/guides/rel_notes/release_22_11.rst | 1 + 1 file changed, 1 insertion(+) di

[PATCH v2 6/6] doc: add ethdev pre-config flags to release notes

2022-11-16 Thread Michael Baum
Add to release notes: 1. Flags field in pre-configuration structure and strict-queue flag. Fixes: dcc9a80c20b8 ("ethdev: add strict queue to pre-configuration flow hints") Cc: michae...@nvidia.com Signed-off-by: Michael Baum Reviewed-by: Thomas Monjalon --- doc/guides/rel_notes/release_22_11.r

[RFC PATCH v2] net/memif: change socket listener owner uid/gid

2022-11-16 Thread Junxiao Shi
This allows a DPDK application running with root privilege to create a memif socket listener with non-root owner uid and gid, which can be connected from client applications running without root privilege. Signed-off-by: Junxiao Shi --- doc/guides/nics/memif.rst | 2 ++ drivers/net/memi

Re: [RFC PATCH v2 03/10] dts: add dpdk build on sut

2022-11-16 Thread Owen Hilyard
On Mon, Nov 14, 2022 at 11:54 AM Juraj Linkeš wrote: > Add the ability to build DPDK and apps, using a configured target. > > Signed-off-by: Juraj Linkeš > --- > dts/framework/exception.py| 17 +++ > dts/framework/remote_session/os/os_session.py | 90 +++- > .../re

RE: [PATCH] net/mlx5: fix wrong error log in async flow destruction

2022-11-16 Thread Raslan Darawsheh
Hi, > -Original Message- > From: Michael Baum > Sent: Sunday, November 13, 2022 1:07 PM > To: dev@dpdk.org > Cc: Matan Azrad ; Raslan Darawsheh > ; Slava Ovsiienko ; > Suanming Mou ; sta...@dpdk.org > Subject: [PATCH] net/mlx5: fix wrong error log in async flow destruction > > The flow_h

Re: [RFC PATCH v2 04/10] dts: add dpdk execution handling

2022-11-16 Thread Owen Hilyard
On Mon, Nov 14, 2022 at 11:54 AM Juraj Linkeš wrote: > Add methods for setting up and shutting down DPDK apps and for > constructing EAL parameters. > > Signed-off-by: Juraj Linkeš > --- > dts/conf.yaml | 4 + > dts/framework/config/__init__.py |

Re: [RFC PATCH v2 05/10] dts: add node memory setup

2022-11-16 Thread Owen Hilyard
On Mon, Nov 14, 2022 at 11:54 AM Juraj Linkeš wrote: > Setup hugepages on nodes. This is useful not only on SUT nodes, but > also on TG nodes which use TGs that utilize hugepages. > > Signed-off-by: Juraj Linkeš > --- > dts/framework/remote_session/__init__.py | 1 + > dts/framework/remot

Re: [RFC PATCH v2 07/10] dts: add simple stats report

2022-11-16 Thread Owen Hilyard
You are missing type annotations throughout this. On Mon, Nov 14, 2022 at 11:54 AM Juraj Linkeš wrote: > Provide a summary of testcase passed/failed/blocked counts. > > Signed-off-by: Juraj Linkeš > --- > dts/framework/dts.py| 3 ++ > dts/framework/stats_reporter.py | 65 +

Re: [RFC PATCH v2 08/10] dts: add testsuite class

2022-11-16 Thread Owen Hilyard
On Mon, Nov 14, 2022 at 11:54 AM Juraj Linkeš wrote: > This is the base class that all test suites inherit from. The base class > implements methods common to all test suites. The derived test suites > implement tests and any particular setup needed for the suite or tests. > > Signed-off-by: Jura

RE: [PATCH v2] mempool: micro-optimize put function

2022-11-16 Thread Honnappa Nagarahalli
> > Micro-optimization: > Reduced the most likely code path in the generic put function by moving an > unlikely check out of the most likely code path and further down. > > Also updated the comments in the function. > > v2 (feedback from Andrew Rybchenko): > * Modified comparison to prevent ove

RE: [PATCH v2] mempool: micro-optimize put function

2022-11-16 Thread Morten Brørup
> From: Honnappa Nagarahalli [mailto:honnappa.nagaraha...@arm.com] > Sent: Wednesday, 16 November 2022 16.51 > > > > > > Micro-optimization: > > Reduced the most likely code path in the generic put function by > moving an > > unlikely check out of the most likely code path and further down. > > >

RE: [PATCH v2] mempool: micro-optimize put function

2022-11-16 Thread Honnappa Nagarahalli
> > > > > > Micro-optimization: > > > Reduced the most likely code path in the generic put function by > > moving an > > > unlikely check out of the most likely code path and further down. > > > > > > Also updated the comments in the function. > > > > > > v2 (feedback from Andrew Rybchenko): > >

[RFC PATCH v3] net/memif: change socket listener owner uid/gid

2022-11-16 Thread Junxiao Shi
This allows a DPDK application running with root privilege to create a memif socket listener with non-root owner uid and gid, which can be connected from client applications running without root privilege. Signed-off-by: Junxiao Shi --- doc/guides/nics/memif.rst | 2 ++ drivers/net/memi

[RFC v2] mempool: add API to return pointer to free space on per-core cache

2022-11-16 Thread Kamalakshitha Aligeri
Expose the pointer to free space in per core cache in PMD, so that the objects can be directly copied to cache without any temporary storage Signed-off-by: Kamalakshitha Aligeri --- v2: Integration of API in vector PMD v1: API to return pointer to free space on per-core cache and integration of

RE: [PATCH] failsafe: fix segfault on hotplug event

2022-11-16 Thread Konstantin Ananyev
> When the failsafe PMD encounters a hotplug event, it switches its rx/tx > functions to "safe" ones that validate the sub-device's rx/tx functions > before calling them. It switches the rx/tx functions by changing the > function pointers in the rte_eth_dev structure. > > Following commit 7a0

RE: [PATCH v2] mempool: micro-optimize put function

2022-11-16 Thread Morten Brørup
> From: Honnappa Nagarahalli [mailto:honnappa.nagaraha...@arm.com] > Sent: Wednesday, 16 November 2022 17.27 > > > > > > > > > > > Micro-optimization: > > > > Reduced the most likely code path in the generic put function by > > > moving an > > > > unlikely check out of the most likely code path

Re: [PATCH] net/failsafe: Fix crash due to in-valid sub-device port id

2022-11-16 Thread Stephen Hemminger
On Wed, 16 Nov 2022 15:22:24 +0530 madhuker.myt...@oracle.com wrote: > > + if (!rte_eth_dev_is_valid_port(PORT_ID(sdev))) { > + continue; > + } > + Looks ok but DPDK follows kernel style {} is unnecessary on single statement. C

Re: [RFC PATCH v3] net/memif: change socket listener owner uid/gid

2022-11-16 Thread Stephen Hemminger
On Wed, 16 Nov 2022 17:14:13 + Junxiao Shi wrote: > This allows a DPDK application running with root privilege to create a > memif socket listener with non-root owner uid and gid, which can be > connected from client applications running without root privilege. > > Signed-off-by: Junxiao Shi

[PATCH v2] mempool cache: add zero-copy get and put functions

2022-11-16 Thread Morten Brørup
Zero-copy access to mempool caches is beneficial for PMD performance, and must be provided by the mempool library to fix [Bug 1052] without a performance regression. [Bug 1052]: https://bugs.dpdk.org/show_bug.cgi?id=1052 v2: * Fix checkpatch warnings. * Fix missing registration of trace points. *

Re: [PATCH] failsafe: fix segfault on hotplug event

2022-11-16 Thread Luc Pelletier
Hi Konstantin, > It is not recommended way to update rte_eth_fp_ops[] contents directly. > There are eth_dev_fp_ops_setup()/ eth_dev_fp_ops_reset() that supposed > to be used for that. Good to know. I see another fix that was made in a different PMD that does exactly the same thing: https://gith

net_af_xdp pmd memory leak

2022-11-16 Thread Lei Kong
My test reports memory leaks for receive path, looking at the code, it seems the following allocations were never released, should they? Thanks. https://github.com/DPDK/dpdk/blob/903ec2b1b49e496815c016b0104fd655cd972661/drivers/net/af_xdp/rte_eth_af_xdp.c#L312

Re: [PATCH] failsafe: fix segfault on hotplug event

2022-11-16 Thread Stephen Hemminger
On Wed, 16 Nov 2022 16:51:59 -0500 Luc Pelletier wrote: > Hi Konstantin, > > > It is not recommended way to update rte_eth_fp_ops[] contents directly. > > There are eth_dev_fp_ops_setup()/ eth_dev_fp_ops_reset() that supposed > > to be used for that. > > Good to know. I see another fix that w

[PATCH] net/idpf: fix port start

2022-11-16 Thread beilei . xing
From: Beilei Xing Port can't start successfully if stopping port and starting port again. This patch fixes port start by initialization. Fixes: e9ff6df15b9a ("net/idpf: stop before closing device") Signed-off-by: Beilei Xing --- drivers/net/idpf/idpf_ethdev.c | 2 ++ 1 file changed, 2 inserti

[PATCH] net/iavf: support vxlan gpe tunnel offload

2022-11-16 Thread Zhichao Zeng
Add support for Vxlan-GPE tunnel packet checksum offloading by adding the VXLAN_GPE flag during processing of Tx context descriptor. Signed-off-by: Zhichao Zeng --- drivers/net/iavf/iavf_rxtx.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/iavf/iavf_rxtx.c b/drivers/net/iavf/ia

RE: [PATCH] net/iavf: support vxlan gpe tunnel offload

2022-11-16 Thread Xu, Ke1
> -Original Message- > From: Zhichao Zeng > Sent: Thursday, November 17, 2022 11:30 AM > To: dev@dpdk.org > Cc: Zhou, YidingX ; Zhang, Qi Z > ; Zeng, ZhichaoX ; Wu, > Jingjing ; Xing, Beilei > Subject: [PATCH] net/iavf: support vxlan gpe tunnel offload > > Add support for Vxlan-GPE tun

RE: [PATCH] net/iavf: support vxlan gpe tunnel offload

2022-11-16 Thread Zhang, Qi Z
> -Original Message- > From: Xu, Ke1 > Sent: Thursday, November 17, 2022 11:31 AM > To: Zeng, ZhichaoX ; dev@dpdk.org > Cc: Zhou, YidingX ; Zhang, Qi Z > ; Zeng, ZhichaoX ; Wu, > Jingjing ; Xing, Beilei > Subject: RE: [PATCH] net/iavf: support vxlan gpe tunnel offload > > > > -Or

RE: [PATCH] net/ixgbevf: fix promiscuous and allmulti

2022-11-16 Thread Zhang, Qi Z
> -Original Message- > From: Wu, Wenjun1 > Sent: Friday, October 14, 2022 9:14 AM > To: Matz, Olivier > Cc: dev@dpdk.org; Yang, Qiming ; Zhao1, Wei > > Subject: RE: [PATCH] net/ixgbevf: fix promiscuous and allmulti > > > > > -Original Message- > > From: Olivier Matz > > Se

RE: [PATCH] net/idpf: fix port start

2022-11-16 Thread Zhang, Qi Z
> -Original Message- > From: beilei.x...@intel.com > Sent: Thursday, November 17, 2022 11:08 AM > To: Wu, Jingjing > Cc: dev@dpdk.org; Peng, Yuan ; Xing, Beilei > > Subject: [PATCH] net/idpf: fix port start > > From: Beilei Xing > > Port can't start successfully if stopping port an

[PATCH v1 00/13] graph enhancement for multi-core dispatch

2022-11-16 Thread Zhirun Yan
Currently, rte_graph supports RTC (Run-To-Completion) model within each of a single core. RTC is one of the typical model of packet processing. Others like Pipeline or Hybrid are lack of support. The patch set introduces a 'generic' model selection which is a self-reacting scheme according to the

[PATCH v1 01/13] graph: split graph worker into common and default model

2022-11-16 Thread Zhirun Yan
To support multiple graph worker model, split graph into common and default. Naming the current walk function as rte_graph_model_rtc cause the default model is RTC(Run-to-completion). Signed-off-by: Haiyue Wang Signed-off-by: Cunming Liang Signed-off-by: Zhirun Yan --- lib/graph/rte_graph_mode

[PATCH v1 02/13] graph: move node process into inline function

2022-11-16 Thread Zhirun Yan
Node process is a single and reusable block, move the code into an inline function. Signed-off-by: Haiyue Wang Signed-off-by: Cunming Liang Signed-off-by: Zhirun Yan --- lib/graph/rte_graph_model_rtc.h | 18 +--- lib/graph/rte_graph_worker_common.h | 33

[PATCH v1 03/13] graph: add macro to walk on graph circular buffer

2022-11-16 Thread Zhirun Yan
It is common to walk on graph circular buffer and use macro to make it reusable for other worker models. Signed-off-by: Haiyue Wang Signed-off-by: Cunming Liang Signed-off-by: Zhirun Yan --- lib/graph/rte_graph_model_rtc.h | 23 ++- lib/graph/rte_graph_worker_common.h |

[PATCH v1 04/13] graph: add get/set graph worker model APIs

2022-11-16 Thread Zhirun Yan
Add new get/set APIs to configure graph worker model which is used to determine which model will be chosen. Signed-off-by: Haiyue Wang Signed-off-by: Cunming Liang Signed-off-by: Zhirun Yan --- lib/graph/rte_graph_worker.h| 51 + lib/graph/rte_graph_worker_c

[PATCH v1 05/13] graph: introduce core affinity API

2022-11-16 Thread Zhirun Yan
1. add lcore_id for node to hold affinity core id. 2. impl rte_node_model_generic_set_lcore_affinity to affinity node with one lcore. 3. update version map for graph public API. Signed-off-by: Haiyue Wang Signed-off-by: Cunming Liang Signed-off-by: Zhirun Yan --- lib/graph/graph_private.h

[PATCH v1 06/13] graph: introduce graph affinity API

2022-11-16 Thread Zhirun Yan
Add lcore_id for graph to hold affinity core id where graph would run on. Add bind/unbind API to set/unset graph affinity attribute. lcore_id will be set as MAX by default, it means not enable this attribute. Signed-off-by: Zhirun Yan --- lib/graph/graph.c | 59 ++

[PATCH v1 07/13] graph: introduce graph clone API for other worker core

2022-11-16 Thread Zhirun Yan
This patch adds graph API for supporting to clone the graph object for a specified worker core. The new graph will also clone all nodes. Signed-off-by: Haiyue Wang Signed-off-by: Cunming Liang Signed-off-by: Zhirun Yan --- lib/graph/graph.c | 110 ++

[PATCH v1 09/13] graph: enable create and destroy graph scheduling workqueue

2022-11-16 Thread Zhirun Yan
This patch enables to create and destroy scheduling workqueue into common graph operations. Signed-off-by: Haiyue Wang Signed-off-by: Cunming Liang Signed-off-by: Zhirun Yan --- lib/graph/graph.c | 9 + 1 file changed, 9 insertions(+) diff --git a/lib/graph/graph.c b/lib/graph/graph.c

[PATCH v1 08/13] graph: introduce stream moving cross cores

2022-11-16 Thread Zhirun Yan
This patch introduces key functions to allow a worker thread to enable enqueue and move streams of objects to the next nodes over different cores. 1. add graph_sched_wq_node to hold graph scheduling workqueue node stream 2. add workqueue help functions to create/destroy/enqueue/dequeue Signed-off

[PATCH v1 10/13] graph: introduce graph walk by cross-core dispatch

2022-11-16 Thread Zhirun Yan
This patch introduces the task scheduler mechanism to enable dispatching tasks to another worker cores. Currently, there is only a local work queue for one graph to walk. We introduce a scheduler worker queue in each worker core for dispatching tasks. It will perform the walk on scheduler work queu

[PATCH v1 11/13] graph: enable graph generic scheduler model

2022-11-16 Thread Zhirun Yan
This patch enables to chose new scheduler model. Signed-off-by: Haiyue Wang Signed-off-by: Cunming Liang Signed-off-by: Zhirun Yan --- lib/graph/rte_graph_worker.h | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/lib/graph/rte_graph_worker.h b/lib/graph/rte_graph_wor

[PATCH v1 12/13] graph: add stats for corss-core dispatching

2022-11-16 Thread Zhirun Yan
Add stats for cross-core dispatching scheduler if stats collection is enabled. Signed-off-by: Haiyue Wang Signed-off-by: Cunming Liang Signed-off-by: Zhirun Yan --- lib/graph/graph_debug.c | 6 +++ lib/graph/graph_stats.c | 74 + lib/graph/r

[PATCH v1 13/13] examples/l3fwd-graph: introduce generic worker model

2022-11-16 Thread Zhirun Yan
Add new parameter "model" to choose generic or rtc worker model. And in generic model, the node will affinity to worker core successively. Note: only support one RX node for remote model in current implementation. ./dpdk-l3fwd-graph -l 8,9,10,11 -n 4 -- -p 0x1 --config="(0,0,9)" -P --model="gene

[PATCH V1] doc: add tested Intel platforms with Intel NICs

2022-11-16 Thread Lingli Chen
Add tested Intel platforms with Intel NICs to v22.11 release note. Signed-off-by: Lingli Chen --- doc/guides/rel_notes/release_22_11.rst | 108 + 1 file changed, 108 insertions(+) diff --git a/doc/guides/rel_notes/release_22_11.rst b/doc/guides/rel_notes/release_22_11.r

RE: [PATCH V1] doc: add tested Intel platforms with Intel NICs

2022-11-16 Thread Peng, Yuan
Acked-by: Peng, Yuan > -Original Message- > From: Chen, LingliX > Sent: Thursday, November 17, 2022 12:36 PM > To: Zhang, Qi Z ; dev@dpdk.org > Cc: Peng, Yuan ; Chen, LingliX > > Subject: [PATCH V1] doc: add tested Intel platforms with Intel NICs > > Add tested Intel platforms with Int

compile failed with t3.c

2022-11-16 Thread Yi Li
Hi list, When i try to compile examples/bpf/t3.c with command annotated in that source file, got this error: [root@server bpf]# clang -O2 -U __GNUC__ -target bpf -Wno-int-to-void-pointer-cast -c t3.c In file included from t3.c:27: In file included from /usr/local/include/rte_mbuf_core.h:22: /usr

[PATCH v1 2/3] net/cnxk: add sg2 descriptor support

2022-11-16 Thread Ashwin Sekhar T K
Add support for creating packets with segments from different pools. This is enabled by using the SG2 descriptors. SG2 descriptors are only used when the segment is to be freed by the HW. Signed-off-by: Ashwin Sekhar T K --- drivers/net/cnxk/cn10k_tx.h | 161 +++-

[PATCH v1 1/3] net/cnxk: rework no-fast-free offload handling

2022-11-16 Thread Ashwin Sekhar T K
Add a separate routine to handle no-fast-free offload in vector Tx path for multisegmented packets. Signed-off-by: Ashwin Sekhar T K --- drivers/net/cnxk/cn10k_tx.h | 124 +--- 1 file changed, 59 insertions(+), 65 deletions(-) diff --git a/drivers/net/cnxk/cn10k_

[PATCH v1 3/3] net/cnxk: add debug check for number of Tx descriptors

2022-11-16 Thread Ashwin Sekhar T K
When SG2 descriptors are used and more than 5 segments are present, in certain combination of segments the number of descriptors required will be greater than 16. In debug builds, add an assert to capture this scenario. Signed-off-by: Ashwin Sekhar T K --- drivers/net/cnxk/cn10k_tx.h | 20 +

[PATCH] net/iavf:fix slow memory allocation

2022-11-16 Thread Kaisen You
In some cases, the DPDK does not allocate hugepage heap memory to some sockets due to the user setting parameters (e.g. -l 40-79, SOCKET 0 has no memory). When the interrupt thread runs on the corresponding core of this socket, each allocation/release will execute a whole set of heap allocation/rel