From: Sunil Kumar Kori
Support congestion management CLIs.
Signed-off-by: Sunil Kumar Kori
Acked-by: Aman Singh
---
v2..v3:
- Move Congestion management document section near TM section
- Rebase on top of the dpdk/main
v1..v2:
- Rebase on top of the dpdk-next-net-mrvl/for-next-net
app/tes
Morten Brørup, Nov 28, 2022 at 11:52:
> Consider adding the percentage here, for easy human consumption:
>
> ", busy cycles %"PRIu64"/%"PRIu64" (%.02f%%)",
> busy_cycles, total_cycles,
> busy_cycles ? (float)busy_cycles / (float)total_cycles * (float)100);
>
> On the other hand, it is the average o
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/
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
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
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
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 +
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,
(
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
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
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
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
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
This series adds self monitoring support i.e allows to configure and
read performance measurement unit (PMU) counters in runtime without
using perf utility. This has certain adventages when application runs on
isolated cores with nohz_full kernel parameter.
Events can be read directly using rte_pm
Add support for programming PMU counters and reading their values
in runtime bypassing kernel completely.
This is especially useful in cases where CPU cores are isolated
(nohz_full) i.e run dedicated tasks. In such cases one cannot use
standard perf utility without sacrificing latency and performa
Add support for reading Intel PMU events in runtime.
Signed-off-by: Tomasz Duszynski
---
app/test/test_pmu.c | 2 ++
lib/eal/include/rte_pmu.h | 2 +-
lib/eal/x86/include/meson.build | 1 +
lib/eal/x86/include/rte_pmu_pmc.h | 33 +++
4 files
Add support for reading ARM PMU events in runtime.
Signed-off-by: Tomasz Duszynski
---
app/test/test_pmu.c | 4 ++
lib/eal/arm/include/meson.build | 1 +
lib/eal/arm/include/rte_pmu_pmc.h | 39 +++
lib/eal/arm/meson.build | 4 ++
lib/eal/arm/rte_pmu.c
In order to profile app one needs to store significant amount of samples
somewhere for an analysis latern on. Since trace library supports
storing data in a CTF format lets take adventage of that and add a
dedicated PMU tracepoint.
Signed-off-by: Tomasz Duszynski
---
app/test/test_trace_perf.c
> From: Tomasz Duszynski [mailto:tduszyn...@marvell.com]
> Sent: Tuesday, 29 November 2022 10.28
>
> This series adds self monitoring support i.e allows to configure and
> read performance measurement unit (PMU) counters in runtime without
> using perf utility. This has certain adventages when app
When passing a patch downloaded as mbox, the mail headers were being
scanned which resulted in mailing list and other unrelated mail
addresses being checked against the contributors list.
Filter them by focusing on the mail body (separated from the headers
with the first empty line).
Fixes: e83d4
ld exports any global symbol by default if no version script is passed.
As a consequence, the incriminated change let any public symbol leak
out of the driver shared libraries.
Hide again those symbols by providing a default map file which
unexports any global symbol using a local: * catchall stat
On 11/22/2022 9:25 AM, Zhou, YidingX wrote:
>
>
>> -Original Message-
>> From: Zhou, YidingX
>> Sent: Wednesday, September 21, 2022 3:15 PM
>> To: Stephen Hemminger ; Zhang, Qi Z
>>
>> Cc: dev@dpdk.org; Burakov, Anatoly ; He,
>> Xingguang ; sta...@dpdk.org
>> Subject: RE: [PATCH v2] net
Following the comments on v1 and v2 of the patch, I've tried to
address all issues that were mentioned. I've also fixed other issues
discovered during testing. I've split the changes into several
commits. Please note that only the bug fix commits have been marked
for back-porting to stable.
Luc Pe
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 7a0935239b9e, the rx
The failsafe rx/tx functions are calling the rx/tx functions of
sub-devices via the function pointers stored in the rte_eth_dev
structure rather than use the public APIs (rte_eth_rx/tx_burst).
Use the public API rather than access structure internals which could
change in the future.
Signed-off-b
When a sub-device is hot-unplugged, rte_eth_dev_release_port is being
called twice. Once indirectly via rte_eth_dev_close and once explicitly.
Changed the code to remove the explicit call since it's not required and
results in mistakenly releasing port 0 (due to zero'ing of memory being
done in rt
The link_update function pointer is called directly on a sub-device, via
its rte_eth_dev structure. In addition, it assumes that if link_update
returns a value other than 0 or -1, an error occurred. That's not
accurate. For example, the mlx5 PMD returns a positive value to indicate
that the link st
For each sub-device, there's a remove flag that's used to indicate if
the sub-device has been removed or not. This flag is currently a
volatile bit field. Even if it's marked as volatile, a bit field is not
thread-safe according to the C standard.
The remove flag is now an unsigned int rather than
v2:
* fixed git commit hashes in commit message
v3:
* address comments / split into several commits
v4:
* fix checkpatch warnings
Luc Pelletier (5):
failsafe: fix segfault on hotplug event
failsafe: use public rx/tx burst API
failsafe: fix double release of port
failsafe: use public APIs i
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 7a0935239b9e, the rx
The failsafe rx/tx functions are calling the rx/tx functions of
sub-devices via the function pointers stored in the rte_eth_dev
structure rather than use the public APIs (rte_eth_rx/tx_burst).
Use the public API rather than access structure internals which could
change in the future.
Signed-off-b
When a sub-device is hot-unplugged, rte_eth_dev_release_port is being
called twice. Once indirectly via rte_eth_dev_close and once explicitly.
Changed the code to remove the explicit call since it's not required and
results in mistakenly releasing port 0 (due to zero'ing of memory being
done in rt
The link_update function pointer is called directly on a sub-device, via
its rte_eth_dev structure. In addition, it assumes that if link_update
returns a value other than 0 or -1, an error occurred. That's not
accurate. For example, the mlx5 PMD returns a positive value to indicate
that the link st
For each sub-device, there's a remove flag that's used to indicate if
the sub-device has been removed or not. This flag is currently a
volatile bit field. Even if it's marked as volatile, a bit field is not
thread-safe according to the C standard.
The remove flag is now an unsigned int rather than
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
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
]
}
}
Signed-off-
Add a simple command that calls rte_lcore_dump().
Signed-off-by: Robin Jarry
Acked-by: Morten Brørup
---
v2 -> v3: no change
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
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
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
On 2022-11-29 16:33, Robin Jarry wrote:
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 t
On 2022-11-29 16:33, Robin Jarry wrote:
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
Olivier Matz 于2022年11月22日周二 23:25写道:
>
> Hi,
>
> On Tue, Nov 15, 2022 at 08:35:02PM +0800, Fengnan Chang wrote:
> > 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
On 11/29/2022 2:00 PM, David Marchand wrote:
> ld exports any global symbol by default if no version script is passed.
> As a consequence, the incriminated change let any public symbol leak
> out of the driver shared libraries.
>
> Hide again those symbols by providing a default map file which
> u
https://bugs.dpdk.org/show_bug.cgi?id=1133
Bug ID: 1133
Summary: missing #include in drivers/gpu/cuda/gdrcopy.c
Product: DPDK
Version: 22.11
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
> -Original Message-
> From: Morten Brørup
> Sent: Wednesday, November 16, 2022 12:04 PM
> To: olivier.m...@6wind.com; andrew.rybche...@oktetlabs.ru; Honnappa
> Nagarahalli ; Kamalakshitha Aligeri
> ; bruce.richard...@intel.com;
> dev@dpdk.org
> Cc: nd ; Morten Brørup
> Subject: [PATCH
On Tue, Nov 29, 2022 at 02:59:00PM +0100, David Marchand wrote:
> When passing a patch downloaded as mbox, the mail headers were being
> scanned which resulted in mailing list and other unrelated mail
> addresses being checked against the contributors list.
>
> Filter them by focusing on the mail
On Thu, Oct 20, 2022 at 10:03:01PM +0200, Michael Pfeiffer wrote:
> On Thu, 2022-10-20 at 08:36 -0700, Stephen Hemminger wrote:
> > On Thu, 20 Oct 2022 13:20:40 +0200
> > David Marchand wrote:
> >
> > > On Fri, Oct 14, 2022 at 9:54 AM Markus Theil
> > > wrote:
> > > >
> > > > From: Michael Pfei
On Tue, Nov 29, 2022 at 7:23 PM Ferruh Yigit wrote:
>
> On 11/29/2022 2:00 PM, David Marchand wrote:
> > ld exports any global symbol by default if no version script is passed.
> > As a consequence, the incriminated change let any public symbol leak
> > out of the driver shared libraries.
> >
> >
https://bugs.dpdk.org/show_bug.cgi?id=1134
Bug ID: 1134
Summary: net/i40e Tx prepare unexpectedly rejects packet with
tunnel type set and no offloads requested
Product: DPDK
Version: 22.11
Hardware: All
OS:
https://bugs.dpdk.org/show_bug.cgi?id=1134
Andrew Rybchenko (andrew.rybche...@oktetlabs.ru) changed:
What|Removed |Added
Assignee|dev@dpdk.org|yuying.zh...@in
https://bugs.dpdk.org/show_bug.cgi?id=1135
Bug ID: 1135
Summary: [DPDK-22.11][asan]vhost_event_idx_interrupt/wake_up_sp
lit_ring_vhost_user_cores_with_event_idx_interrupt_mod
e_16_queues the backend feedback EAL Error when
https://bugs.dpdk.org/show_bug.cgi?id=1136
Bug ID: 1136
Summary: [stable 20.11.7-rc1] lib/librte_mempool meson build
error with gcc+debug on FreeBSD13.1-64/RHEL86-64
Product: DPDK
Version: 20.11
Hardware: All
https://bugs.dpdk.org/show_bug.cgi?id=1132
Andrew Rybchenko (andrew.rybche...@oktetlabs.ru) changed:
What|Removed |Added
Assignee|dev@dpdk.org|yuying.zh...@in
53 matches
Mail list logo