From: Jerin Jacob <jerinj@marvell.com>
To: Luka Jankovic <luka.jankovic@ericsson.com>
Cc: "dev@dpdk.org" <dev@dpdk.org>,
"mattias.ronnblom@ericsson.com" <mattias.ronnblom@ericsson.com>,
Pavan Nikhilesh Bhagavatula <pbhagavatula@marvell.com>
Subject: RE: [EXTERNAL] [RFC v7 4/4] eventdev: documentation for atomic queue and atomic atq tests
Date: Sun, 2 Mar 2025 11:30:44 +0000 [thread overview]
Message-ID: <BY3PR18MB478540973234B08A4A6AB96CC8CE2@BY3PR18MB4785.namprd18.prod.outlook.com> (raw)
In-Reply-To: <20250219134325.1195531-5-luka.jankovic@ericsson.com>
> -----Original Message-----
> From: Luka Jankovic <luka.jankovic@ericsson.com>
> Sent: Wednesday, February 19, 2025 7:13 PM
> To: luka.jankovic@ericsson.com
> Cc: dev@dpdk.org; Jerin Jacob <jerinj@marvell.com>;
> mattias.ronnblom@ericsson.com; Pavan Nikhilesh Bhagavatula
> <pbhagavatula@marvell.com>
> Subject: [EXTERNAL] [RFC v7 4/4] eventdev: documentation for atomic queue
> and atomic atq tests
>
> Add relevant documentation and figures to the tools/testeventdev page. Signed-
> off-by: Luka Jankovic <luka. jankovic@ ericsson. com> ---
> .. . /tools/img/eventdev_atomic_atq_test. svg | 1588 +++++++++++++++
> .. . /tools/img/eventdev_atomic_queue_test. svg
>
> Add relevant documentation and figures to the tools/testeventdev page.
>
> Signed-off-by: Luka Jankovic <luka.jankovic@ericsson.com>
> ---
> .../tools/img/eventdev_atomic_atq_test.svg | 1588 +++++++++++++++
> .../tools/img/eventdev_atomic_queue_test.svg | 1701 +++++++++++++++++
> doc/guides/tools/testeventdev.rst | 155 ++
> 3 files changed, 3444 insertions(+)
> create mode 100644 doc/guides/tools/img/eventdev_atomic_atq_test.svg
> create mode 100644 doc/guides/tools/img/eventdev_atomic_queue_test.svg
>
> diff --git a/doc/guides/tools/img/eventdev_atomic_atq_test.svg
> b/doc/guides/tools/img/eventdev_atomic_atq_test.svg
> new file mode 100644
> index 0000000000..0459d9f649
> --- /dev/null
> +++ b/doc/guides/tools/img/eventdev_atomic_atq_test.svg
> @@ -0,0 +1,1588 @@
> +<?xml version="1.0" encoding="UTF-8" standalone="no"?>
> +<!-- Created with Inkscape (https://urldefense.proofpoint.com/v2/url?u=http-
> 3A__www.inkscape.org_&d=DwIDaQ&c=nKjWec2b6R0mOyPaz7xtfQ&r=1DGob
> 4H4rxz6H8uITozGOCa0s5f4wCNtTa4UUKvcsvI&m=M3r2ERBtjmi60SQwe4KmEK
> enw-0hf6i8FVOIwMDD-XJGI68GEM0VHT6uaBX7LbDB&s=M_QEMF-
> 40ilGHAYdpbAk1KrRdJ_xTLerpibmujj7qxM&e=) -->
> +
> +<!--
> +# SPDX-License-Identifier: BSD-3-Clause
> +# Copyright(c) 2017 Cavium, Inc
1) make it as Ericsson copy right with correct year in all files
2) Remove RFC tag
3)Add Tested-by: Pavan Nikhilesh <pbhagavatula@marvell.com> to all patches
4)No need to have separate doc patches, Please move the doc changes to relevant patches
5)Update release notes about this feature
6) Fix following checkpatch issues[1]
Good to merge next version.
[1]
[for-main]dell[dpdk-next-eventdev] $ ./devtools/checkpatches.sh -n 4
### [PATCH] eventdev: atomic common for test-eventdev app
WARNING:BRACES: braces {} are not necessary for single statement blocks
#255: FILE: app/test-eventdev/test_atomic_common.h:65:
+ if (atomic_locks == NULL) {
+ evt_err("Unable to allocate memory for spinlocks.");
+ }
WARNING:BRACES: braces {} are not necessary for single statement blocks
#259: FILE: app/test-eventdev/test_atomic_common.h:69:
+ for (uint32_t i = 0; i < num_locks; i++) {
+ rte_spinlock_init(&atomic_locks[i]);
+ }
total: 0 errors, 2 warnings, 241 lines checked
### [PATCH] eventdev: add atomic queue test to test-evnetdev app
ERROR:SPACING: need consistent spacing around '*' (ctx:WxV)
#63: FILE: app/test-eventdev/test_atomic_queue.c:35:
+ RTE_ATOMIC(uint64_t) *const outstand_pkts,
^
WARNING:LONG_LINE: line length of 114 exceeds 100 columns
#115: FILE: app/test-eventdev/test_atomic_queue.c:87:
+ atomic_queue_process_stage_1(t, &ev[i], nb_flows, atomic_locks, expected_flow_seq,
total: 1 errors, 1 warnings, 237 lines checked
### [PATCH] eventdev: add atomic atq to test-eventdev app
ERROR:SPACING: need consistent spacing around '*' (ctx:WxV)
#63: FILE: app/test-eventdev/test_atomic_atq.c:34:
+ RTE_ATOMIC(uint64_t) *const outstand_pkts,
^
total: 1 errors, 0 warnings, 223 lines checked
next prev parent reply other threads:[~2025-03-02 11:30 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-19 14:48 [RFC v2 1/1] eventdev: add atomic queue to test-eventdev app Luka Jankovic
2024-12-23 11:16 ` Mattias Rönnblom
2025-01-09 10:22 ` Luka Jankovic
2025-01-13 9:04 ` [RFC v3 " ejnulak
2025-01-13 12:17 ` [RFC v4 " Luka Jankovic
2025-01-13 12:27 ` [EXTERNAL] " Jerin Jacob
2025-01-15 13:38 ` [RFC v5 1/2] " Luka Jankovic
2025-01-22 10:20 ` [EXTERNAL] " Pavan Nikhilesh Bhagavatula
2025-01-22 15:10 ` Luka Jankovic
2025-01-24 9:59 ` [RFC PATCH v6 " Luka Jankovic
2025-02-04 16:11 ` [EXTERNAL] " Pavan Nikhilesh Bhagavatula
2025-02-14 9:58 ` Luka Jankovic
2025-02-14 15:59 ` Pavan Nikhilesh Bhagavatula
2025-02-19 13:43 ` [RFC v7 0/4] eventdev: atomic tests " Luka Jankovic
2025-02-19 13:43 ` [RFC v7 1/4] eventdev: atomic common for " Luka Jankovic
2025-02-19 13:43 ` [RFC v7 2/4] eventdev: add atomic queue test to test-evnetdev app Luka Jankovic
2025-02-19 13:43 ` [RFC v7 3/4] eventdev: add atomic atq to test-eventdev app Luka Jankovic
2025-02-19 13:43 ` [RFC v7 4/4] eventdev: documentation for atomic queue and atomic atq tests Luka Jankovic
2025-03-02 11:30 ` Jerin Jacob [this message]
2025-02-20 9:13 ` [EXTERNAL] [RFC v7 0/4] eventdev: atomic tests to test-eventdev app Pavan Nikhilesh Bhagavatula
2025-01-24 9:59 ` [RFC PATCH v6 2/2] eventdev: documentation for atomic queue test Luka Jankovic
2025-01-15 13:38 ` [RFC v5 " Luka Jankovic
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=BY3PR18MB478540973234B08A4A6AB96CC8CE2@BY3PR18MB4785.namprd18.prod.outlook.com \
--to=jerinj@marvell.com \
--cc=dev@dpdk.org \
--cc=luka.jankovic@ericsson.com \
--cc=mattias.ronnblom@ericsson.com \
--cc=pbhagavatula@marvell.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).