RE: [EXT] Re: [PATCH v2 1/3] app/testpmd: support congestion management CLIs

2022-11-28 Thread Sunil Kumar Kori
> -Original Message- > From: Singh, Aman Deep > Sent: Monday, November 7, 2022 12:42 PM > To: Andrew Rybchenko ; Yuying Zhang > ; Cristian Dumitrescu > > Cc: dev@dpdk.org; Sunil Kumar Kori > Subject: [EXT] Re: [PATCH v2 1/3] app/testpmd: support congestion > management CLIs > > External

[PATCH v1 11/12] app/mldev: enable reporting stats in mldev app

2022-11-28 Thread Srikanth Yalavarthi
Enable reporting driver xstats and inference end-to-end latency and throughput in mldev inference tests. Reporting of stats can be enabled using "--stats" option. Signed-off-by: Srikanth Yalavarthi --- app/test-mldev/ml_options.c| 22 ++-- app/test-mldev/ml_options.h

[PATCH v1 08/12] app/mldev: enable support for queue pairs and size

2022-11-28 Thread Srikanth Yalavarthi
Added support to create multiple queue-pairs per device to enqueue and dequeue inference requests. Number of queue pairs to be created can be specified through "--queue_pairs" option. Support is also enabled to control the number of descriptors per each queue pair through "--queue_size" option. Inf

[PATCH v1 10/12] app/mldev: enable support for inference validation

2022-11-28 Thread Srikanth Yalavarthi
Enabled support to validate inference output with reference output provided by the user. Validation would be successful only when the inference outputs are within the 'tolerance' specified through command line option "--tolerance". Signed-off-by: Srikanth Yalavarthi --- app/test-mldev/meson.buil

[PATCH v1 09/12] app/mldev: enable support for inference batches

2022-11-28 Thread Srikanth Yalavarthi
Enabled support to execute multiple batches of inferences per each enqueue request. Input and reference for the test should be appropriately provided for multi-batch run. Number of batches can be specified through "--batches" option. Signed-off-by: Srikanth Yalavarthi --- app/test-mldev/ml_optio

[PATCH v1 07/12] app/mldev: enable support for burst inferences

2022-11-28 Thread Srikanth Yalavarthi
Added 'burst_size' support for inference tests. Burst size controls the number of inference requests handled during the burst enqueue and dequeue operations of the test case. Signed-off-by: Srikanth Yalavarthi --- app/test-mldev/ml_options.c| 26 ++-- app/test-mldev/ml_options.h

[PATCH v1 06/12] app/mldev: add test case to interleave inferences

2022-11-28 Thread Srikanth Yalavarthi
Added test case to interleave inference requests from multiple models. Interleaving would load and start all models and launch inference requests for the models using available queue-pairs Operations sequence when testing with N models and R reps, (load + start) x N -> (enqueue + dequeue) x N x R

[PATCH v1 05/12] app/mldev: add ordered inference test case

2022-11-28 Thread Srikanth Yalavarthi
Added an ordered test case to execute inferences with single or multiple models. In this test case inference requests for a model are enqueued after completion of all requests for the previous model. Test supports inference repetitions. Operations sequence when testing with N models and R reps, (

[PATCH v1 04/12] app/mldev: add test case to validate model ops

2022-11-28 Thread Srikanth Yalavarthi
Added test case to validate model operations. Model ops test is a collection of sub-tests. Each sub-test invokes the model operations in a specific order. Sub-test A: (load -> start -> stop -> unload) x n Sub-test B: load x n -> start x n -> stop x n -> unload x n Sub-test C: load x n + (start +

[PATCH v1 03/12] app/mldev: add test case to validate device ops

2022-11-28 Thread Srikanth Yalavarthi
Added test case to validate device handling operations. Device ops test is a collection of multiple sub-tests. Enabled sub-test to validate device reconfiguration. Set device_ops as the default test. Signed-off-by: Srikanth Yalavarthi --- app/test-mldev/meson.build | 1 + app/test-mldev/

[PATCH v1 02/12] app/mldev: add common test functions

2022-11-28 Thread Srikanth Yalavarthi
Added common functions used by all tests. Common code includes functions to check capabilities, options, and handle ML devices. Signed-off-by: Srikanth Yalavarthi --- app/test-mldev/meson.build | 1 + app/test-mldev/test_common.c | 139 +++ app/test-mldev/test

[PATCH v1 01/12] app/mldev: implement test framework for mldev

2022-11-28 Thread Srikanth Yalavarthi
Implemented framework for mldev test application. New test cases can be added using the framework. Support is also enabled to add options specific to the test cases. User can launch the tests by specifying the name of test as part of launch arguments. Code to parse command line arguments is import

[PATCH v1 00/12] implement mldev test application

2022-11-28 Thread Srikanth Yalavarthi
Machine learning device APIs test application = This series of patches introduces a test application for machine learning device APIs. A test framework is implemented with multiple test enabled, to validate the device, model and fast-path functions. New

[PATCH v1 10/12] app/mldev: enable support for inference validation

2022-11-28 Thread Srikanth Yalavarthi
Enabled support to validate inference output with reference output provided by the user. Validation would be successful only when the inference outputs are within the 'tolerance' specified through command line option "--tolerance". Signed-off-by: Srikanth Yalavarthi Change-Id: I3776cf37a434079862

[PATCH v1 11/12] app/mldev: enable reporting stats in mldev app

2022-11-28 Thread Srikanth Yalavarthi
Enable reporting driver xstats and inference end-to-end latency and throughput in mldev inference tests. Reporting of stats can be enabled using "--stats" option. Signed-off-by: Srikanth Yalavarthi Change-Id: I1af73ce1e361e88d2ccf2a4ff9916f0d5d8ca6f2 --- app/test-mldev/ml_options.c

[PATCH v1 09/12] app/mldev: enable support for inference batches

2022-11-28 Thread Srikanth Yalavarthi
Enabled support to execute multiple batches of inferences per each enqueue request. Input and reference for the test should be appropriately provided for multi-batch run. Number of batches can be specified through "--batches" option. Signed-off-by: Srikanth Yalavarthi Change-Id: I03860f39e43762cd

[PATCH v1 08/12] app/mldev: enable support for queue pairs and size

2022-11-28 Thread Srikanth Yalavarthi
Added support to create multiple queue-pairs per device to enqueue and dequeue inference requests. Number of queue pairs to be created can be specified through "--queue_pairs" option. Support is also enabled to control the number of descriptors per each queue pair through "--queue_size" option. Inf

[PATCH v1 07/12] app/mldev: enable support for burst inferences

2022-11-28 Thread Srikanth Yalavarthi
Added 'burst_size' support for inference tests. Burst size controls the number of inference requests handled during the burst enqueue and dequeue operations of the test case. Signed-off-by: Srikanth Yalavarthi Change-Id: I086c5d966b754d21c22d971d19780fa096b1e61c --- app/test-mldev/ml_options.c

[PATCH v1 06/12] app/mldev: add test case to interleave inferences

2022-11-28 Thread Srikanth Yalavarthi
Added test case to interleave inference requests from multiple models. Interleaving would load and start all models and launch inference requests for the models using available queue-pairs Operations sequence when testing with N models and R reps, (load + start) x N -> (enqueue + dequeue) x N x R

[PATCH v1 05/12] app/mldev: add ordered inference test case

2022-11-28 Thread Srikanth Yalavarthi
Added an ordered test case to execute inferences with single or multiple models. In this test case inference requests for a model are enqueued after completion of all requests for the previous model. Test supports inference repetitions. Operations sequence when testing with N models and R reps, (

[PATCH v1 04/12] app/mldev: add test case to validate model ops

2022-11-28 Thread Srikanth Yalavarthi
Added test case to validate model operations. Model ops test is a collection of sub-tests. Each sub-test invokes the model operations in a specific order. Sub-test A: (load -> start -> stop -> unload) x n Sub-test B: load x n -> start x n -> stop x n -> unload x n Sub-test C: load x n + (start +

[PATCH v1 03/12] app/mldev: add test case to validate device ops

2022-11-28 Thread Srikanth Yalavarthi
Added test case to validate device handling operations. Device ops test is a collection of multiple sub-tests. Enabled sub-test to validate device reconfiguration. Set device_ops as the default test. Signed-off-by: Srikanth Yalavarthi Change-Id: I4e9e4ac0e04df25b99df91330a566d963dcfc686 --- app/

[PATCH v1 02/12] app/mldev: add common test functions

2022-11-28 Thread Srikanth Yalavarthi
Added common functions used by all tests. Common code includes functions to check capabilities, options, and handle ML devices. Signed-off-by: Srikanth Yalavarthi Change-Id: I5f99b57f97ca5b317450b63bff86ff9fdadf388f --- app/test-mldev/meson.build | 1 + app/test-mldev/test_common.c | 139 +++

[PATCH v1 01/12] app/mldev: implement test framework for mldev

2022-11-28 Thread Srikanth Yalavarthi
Implemented framework for mldev test application. New test cases can be added using the framework. Support is also enabled to add options specific to the test cases. User can launch the tests by specifying the name of test as part of launch arguments. Code to parse command line arguments is import

[PATCH v1 00/12] *** implement mldev test application ***

2022-11-28 Thread Srikanth Yalavarthi
Machine learning device APIs test application = This series of patches introduces a test application for machine learning device APIs. A test framework is implemented with multiple test enabled, to validate the device, model and fast-path functions. New

RE: [PATCH] net/gve: add support for basic stats

2022-11-28 Thread Guo, Junfeng
> -Original Message- > From: Stephen Hemminger > Sent: Tuesday, November 29, 2022 01:24 > To: Ferruh Yigit > Cc: Rushil Gupta ; Guo, Junfeng > ; Zhang, Qi Z ; Wu, > Jingjing ; Xing, Beilei ; > dev@dpdk.org; jeroe...@google.com; jr...@google.com; Li, Xiaoyun > > Subject: Re: [PATCH] ne

[PATCH v2] net/nfp: fix issue of data len exceeds descriptor limitation

2022-11-28 Thread Chaoyong He
From: Long Wu If dma_len is larger than NFDK_DESC_TX_DMA_LEN_HEAD, the value of dma_len bitwise and NFDK_DESC_TX_DMA_LEN_HEAD maybe less than packet head length and the packet will be dropped. Fill maximum dma_len in first tx descriptor to make sure the whole head is included in the first descrip

[PATCH v4 3/3] doc: simplify and clarify the configuration steps

2022-11-28 Thread Nicolas Chautru
Simplification of the device configuration steps which had become a bit stale over time. Next level of details captured in pf_bb_config if required for maintanability. Signed-off-by: Nicolas Chautru --- doc/guides/bbdevs/acc100.rst| 13 ++--- doc/guides/bbdevs/acc200.rst| 19

[PATCH v4 2/3] doc: simplify the binding steps

2022-11-28 Thread Nicolas Chautru
The steps for binding to kernel modules which are generic are now only implicit and pointing towards common documentation. Signed-off-by: Nicolas Chautru --- doc/guides/bbdevs/acc100.rst| 78 - doc/guides/bbdevs/acc200.rst| 74 -

[PATCH v4 0/3] doc: simplify bbdev PMD steps

2022-11-28 Thread Nicolas Chautru
Hi Thomas, v4: Typo in previous version email. v3: Further split recommended by Thomas. v2: Split the doc update into 2 as suggested by Thomas. Documentation update suggested by Thomas to point towards the common kernel modules steps. Nicolas Chautru (3): doc: make the Linux drivers doc more g

[PATCH v4 1/3] doc: make the Linux drivers doc more generic

2022-11-28 Thread Nicolas Chautru
Minor change so that for the documentation to be less NIC centric, as these steps can apply more generally to PCIe devices. Signed-off-by: Nicolas Chautru --- doc/guides/linux_gsg/linux_drivers.rst | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/doc/guides/linu

[PATCH v1 2/3] doc: simplify the binding steps

2022-11-28 Thread Nicolas Chautru
The steps for binding to kernel modules which are generic are now only implicit and pointing towards common documentation. Signed-off-by: Nicolas Chautru --- doc/guides/bbdevs/acc100.rst| 78 - doc/guides/bbdevs/acc200.rst| 74 -

[PATCH v1 3/3] doc: simplify and clarify the configuration steps

2022-11-28 Thread Nicolas Chautru
Simplification of the device configuration steps which had become a bit stale over time. Next level of details captured in pf_bb_config if required for maintanability. Signed-off-by: Nicolas Chautru --- doc/guides/bbdevs/acc100.rst| 13 ++--- doc/guides/bbdevs/acc200.rst| 19

[PATCH v1 1/3] doc: make the Linux drivers doc more generic

2022-11-28 Thread Nicolas Chautru
Minor change so that for the documentation to be less NIC centric, as these steps can apply more generally to PCIe devices. Signed-off-by: Nicolas Chautru --- doc/guides/linux_gsg/linux_drivers.rst | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/doc/guides/linu

[PATCH v1 0/3] doc: simplify bbdev PMD steps

2022-11-28 Thread Nicolas Chautru
v3: Further split recommended by Thomas. v2: Split the doc update into 2 as suggested by Thomas. Documentation update suggested by Thomas to point towards the common kernel modules steps. Nicolas Chautru (3): doc: make the Linux drivers doc more generic doc: simplify the binding steps doc:

Re: [PATCH v2 1/2] eal: provide leading and trailing zero bit count abstraction

2022-11-28 Thread Tyler Retzlaff
On Mon, Nov 28, 2022 at 06:22:10PM +0100, Morten Brørup wrote: > > From: Tyler Retzlaff [mailto:roret...@linux.microsoft.com] > > Sent: Monday, 28 November 2022 18.14 > > > > On Thu, Nov 24, 2022 at 11:17:23AM +0100, Morten Brørup wrote: > > > > From: Tyler Retzlaff [mailto:roret...@linux.microsof

Re: [PATCH] net/gve: add support for basic stats

2022-11-28 Thread Stephen Hemminger
On Mon, 28 Nov 2022 11:12:38 + Ferruh Yigit wrote: > On 11/26/2022 5:34 PM, Stephen Hemminger wrote: > > On Fri, 25 Nov 2022 19:16:00 -0800 > > Rushil Gupta wrote: > > > > The driver should be filling in the per-queue stats as well. > q_ipackets, q_opackets, q_ibytes, q_oby

RE: [PATCH v2 1/2] eal: provide leading and trailing zero bit count abstraction

2022-11-28 Thread Morten Brørup
> From: Tyler Retzlaff [mailto:roret...@linux.microsoft.com] > Sent: Monday, 28 November 2022 18.14 > > On Thu, Nov 24, 2022 at 11:17:23AM +0100, Morten Brørup wrote: > > > From: Tyler Retzlaff [mailto:roret...@linux.microsoft.com] > > > Sent: Thursday, 24 November 2022 00.43 > > > > > > Provide a

Re: [PATCH v4] mailmap: add file to DPDK

2022-11-28 Thread Tyler Retzlaff
On Thu, Nov 24, 2022 at 06:19:57PM +0100, Thomas Monjalon wrote: > 24/11/2022 17:51, Stephen Hemminger: > > On Thu, 24 Nov 2022 13:43:07 + > > Bruce Richardson wrote: > > > > > On Thu, Nov 24, 2022 at 01:13:20PM +0100, David Marchand wrote: > > > > From: Bruce Richardson > > > > > > > > Sin

Re: [PATCH v2 1/2] eal: provide leading and trailing zero bit count abstraction

2022-11-28 Thread Tyler Retzlaff
On Thu, Nov 24, 2022 at 11:17:23AM +0100, Morten Brørup wrote: > > From: Tyler Retzlaff [mailto:roret...@linux.microsoft.com] > > Sent: Thursday, 24 November 2022 00.43 > > > > Provide an abstraction for leading and trailing zero bit counting > > functions to hide compiler specific intrinsics and

19.11.14 patches review and test

2022-11-28 Thread christian . ehrhardt
Hi all, Here is a list of patches targeted for stable release 19.11.14. The planned date for the final release is Tue 12th December 2022. Please help with testing and validation of your use cases and report any issues/results with reply-all to this mail. For the final release the fixes and repor

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

2022-11-28 Thread Owen Hilyard
On Wed, Nov 23, 2022 at 8:03 AM Juraj Linkeš wrote: > Again, apologies for removing recipients in my earlier reply. > > > > *From:* Owen Hilyard > *Sent:* Monday, November 21, 2022 1:40 PM > *To:* Juraj Linkeš > *Subject:* Re: [RFC PATCH v2 04/10] dts: add dpdk execution handling > > > > On Fri

RE: 20.11.7 patches review and test

2022-11-28 Thread Morten Brørup
> From: Luca Boccassi [mailto:luca.bocca...@gmail.com] > Sent: Monday, 28 November 2022 12.55 > > On Mon, 28 Nov 2022 at 11:35, Morten Brørup > wrote: > > > > +CC Andrew Rybchenko as co-signer on the mempool patch in mainline. > > > > > From: luca.bocca...@gmail.com [mailto:luca.bocca...@gmail.co

Re: 20.11.7 patches review and test

2022-11-28 Thread Luca Boccassi
On Mon, 28 Nov 2022 at 11:35, Morten Brørup wrote: > > +CC Andrew Rybchenko as co-signer on the mempool patch in mainline. > > > From: luca.bocca...@gmail.com [mailto:luca.bocca...@gmail.com] > > Sent: Monday, 28 November 2022 11.53 > > > > Hi all, > > > > Here is a list of patches targeted for st

RE: 20.11.7 patches review and test

2022-11-28 Thread Morten Brørup
+CC Andrew Rybchenko as co-signer on the mempool patch in mainline. > From: luca.bocca...@gmail.com [mailto:luca.bocca...@gmail.com] > Sent: Monday, 28 November 2022 11.53 > > Hi all, > > Here is a list of patches targeted for stable release 20.11.7. > > The planned date for the final release i

Re: [PATCH] net/gve: add support for basic stats

2022-11-28 Thread Ferruh Yigit
On 11/26/2022 5:34 PM, Stephen Hemminger wrote: > On Fri, 25 Nov 2022 19:16:00 -0800 > Rushil Gupta wrote: > The driver should be filling in the per-queue stats as well. q_ipackets, q_opackets, q_ibytes, q_obytes, q_errors >>> >>> >>> Hi Stephen, >>> >>> Queue stats moved to xsta

RE: [PATCH v2 2/4] eal: allow applications to report their cpu cycles utilization

2022-11-28 Thread Morten Brørup
> From: Robin Jarry [mailto:rja...@redhat.com] > Sent: Monday, 28 November 2022 10.00 > > Allow applications to register a callback that will be invoked in > rte_lcore_dump() and when requesting lcore info in the telemetry API. > > The callback is expected to return the number of CPU cycles that

20.11.7 patches review and test

2022-11-28 Thread luca . boccassi
Hi all, Here is a list of patches targeted for stable release 20.11.7. The planned date for the final release is the 12th of December. Please help with testing and validation of your use cases and report any issues/results with reply-all to this mail. For the final release the fixes and reported

[PATCH 11/11] common/cnxk: disable drop re in A1 chip revision

2022-11-28 Thread Nithin Dabilpuram
From: Pavan Nikhilesh Disable drop re in CN10KA A1 as enabling it would leak event vector buffers. Signed-off-by: Pavan Nikhilesh --- drivers/common/cnxk/roc_errata.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/common/cnxk/roc_errata.h b/drivers/common/cnxk/roc_

[PATCH 10/11] net/cnxk: mark HW errors as bad checksum

2022-11-28 Thread Nithin Dabilpuram
From: Pavan Nikhilesh Mark NIX packet parsing errors due to NPC/NPA errors as bad packets by setting L3/L4 checksum as BAD in olflags. Application can decide the fate of these packets. Signed-off-by: Pavan Nikhilesh --- drivers/net/cnxk/cnxk_lookup.c | 4 ++-- 1 file changed, 2 insertions(+),

[PATCH 09/11] common/cnxk: convert aura handle to aura

2022-11-28 Thread Nithin Dabilpuram
From: Kommula Shiva Shankar This patch converts aura handle to aura id while initialising inline dev sso xaq aura Signed-off-by: Kommula Shiva Shankar --- drivers/common/cnxk/roc_nix_inl_dev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/common/cnxk/roc_nix_inl_d

[PATCH 08/11] common/cnxk: use lcore LMT line for CPT context write

2022-11-28 Thread Nithin Dabilpuram
Use lcore LMT line for CPT context write as no one else is using it. Signed-off-by: Nithin Dabilpuram --- drivers/common/cnxk/roc_cpt.c | 3 ++- drivers/common/cnxk/roc_io.h | 5 + 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/drivers/common/cnxk/roc_cpt.c b/drivers/common/c

[PATCH 06/11] net/cnxk: fix packet type for IPv6 packets post decryption

2022-11-28 Thread Nithin Dabilpuram
Update ptype properly for IPv6 packets post inline decryption. Fixes: 4440eb88ddfc ("net/cnxk: use full context IPsec structures") Signed-off-by: Nithin Dabilpuram --- drivers/net/cnxk/cn9k_rx.h | 17 +++-- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/drivers/net/cn

[PATCH 07/11] net/cnxk: add late backpressure support for cn10kb

2022-11-28 Thread Nithin Dabilpuram
Add late backpressure support for cn10kb and set it up to backpressure CPT. Signed-off-by: Nithin Dabilpuram --- drivers/common/cnxk/hw/nix.h| 18 -- drivers/common/cnxk/roc_model.h | 6 ++ drivers/common/cnxk/roc_nix_debug.c | 10 -- drivers/common/cnxk/

[PATCH 05/11] event/cnxk: net/cnxk: support transmit completion

2022-11-28 Thread Nithin Dabilpuram
From: Rakesh Kudurumalla added support to call callback handler provided by user when external buffer is attached to mbuf and transmit completion is enabled.Added support to enable transmit completion as device args Signed-off-by: Rakesh Kudurumalla --- doc/guides/nics/cnxk.rst |

[PATCH 04/11] common/cnxk: split NIX TM hierarchy enable API

2022-11-28 Thread Nithin Dabilpuram
From: Satha Rao roc_nix_tm_hierarchy_enable() API will do two things internally, 1) Creation of all TM nodes, allocate HW resources and connect them as requested. 2) Enable transmit by XON SMQ and start SQs In test cases where both steps called independently. In order to support this, patch s

[PATCH 02/11] net/cnxk: register callback to get queue errors

2022-11-28 Thread Nithin Dabilpuram
From: Satha Rao Register a callback mechanism to get SQ error interrupts, add call ethdev event RTE_ETH_EVENT_INTR_RESET. Signed-off-by: Satha Rao --- drivers/net/cnxk/cnxk_ethdev.c | 13 + drivers/net/cnxk/cnxk_ethdev.h | 1 + 2 files changed, 14 insertions(+) diff --git a/drive

[PATCH 03/11] common/cnxk: set default SQ TC value

2022-11-28 Thread Nithin Dabilpuram
From: Satha Rao Zero is valid TC, initialize SQ TC value to ROC_NIX_PFC_CLASS_INVALID. Signed-off-by: Satha Rao --- drivers/common/cnxk/roc_nix_queue.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/common/cnxk/roc_nix_queue.c b/drivers/common/cnxk/roc_nix_queue.c index 8a84a34be

[PATCH 01/11] common/cnxk: free pending sqe buffers

2022-11-28 Thread Nithin Dabilpuram
From: Satha Rao This patch provides a callback mechanism when SQ receives MNQ_ERR. Even when SQ got MNQ_ERR interrupt application still enqueue packets for sending they will be struck at SQ, so we are freeing all these pending packets when we called SQ finish. Signed-off-by: Satha Rao --- Depe

Re: [PATCH 5/7] net/mlx5: allow hairpin Rx queue in locked memory

2022-11-28 Thread Kenneth Klette Jonassen
This series adds support for using device-managed MEMIC buffers on hairpin RQ instead of NIM. Was it ever considered as an alternative that the UMEM interface be extended to support MEMIC buffers instead? I'm thinking that could simplify the hairpin-specific firmware bits being added in this serie

[PATCH v2 2/4] eal: allow applications to report their cpu cycles utilization

2022-11-28 Thread Robin Jarry
Allow applications to register a callback that will be invoked in rte_lcore_dump() and when requesting lcore info in the telemetry API. The callback is expected to return the number of CPU cycles that have passed since application start and the number of these cycles that were spent doing busy wor

[PATCH v2 3/4] testpmd: add dump_lcores command

2022-11-28 Thread Robin Jarry
Add a simple command that calls rte_lcore_dump(). Cc: Chengwen Feng Signed-off-by: Robin Jarry --- v1 -> v2: renamed show lcores -> dump_lcores app/test-pmd/cmdline.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c index b32dc8bfd445..9647

[PATCH v2 4/4] testpmd: report lcore usage

2022-11-28 Thread Robin Jarry
Reuse the --record-core-cycles option to account for busy cycles. One turn of packet_fwd_t is considered "busy" if there was at least one received or transmitted packet. Add a new busy_cycles field in struct fwd_stream. Update get_end_cycles to accept an additional argument for the number of proce

[PATCH v2 1/4] eal: add lcore info in telemetry

2022-11-28 Thread Robin Jarry
Report the same information than rte_lcore_dump() in the telemetry API into /eal/lcore/list and /eal/lcore/info,ID. Example: --> /eal/lcore/info,3 { "/eal/lcore/info": { "lcore_id": 3, "socket": 0, "role": "RTE", "cpuset": [ 3 ] } } Cc: Stephen

[PATCH v2 0/4] lcore telemetry improvements

2022-11-28 Thread Robin Jarry
This is a follow up on previous work by Kevin Laatz: http://patches.dpdk.org/project/dpdk/list/?series=24658&state=* This series is aimed at allowing DPDK applications to expose their CPU usage stats in the DPDK telemetry under /eal/lcore/info. This is a much more basic and naive approach which l

[PATCH] version: 23.03-rc0

2022-11-28 Thread David Marchand
Start a new release cycle with empty release notes. Bump version and ABI minor. libabigail 2.0 had some issues that have been fixed in 2.1, let's bump to this version and enable ABI checks. Signed-off-by: David Marchand --- For CI guys: it is time to enable ABI checks again. --- .github/workflo