From: Stephen Hemminger <stephen@networkplumber.org>
To: <pbhagavatula@marvell.com>
Cc: <jerinj@marvell.com>, <dev@dpdk.org>
Subject: Re: [RFC 2/2] eventdev: add default software vector adapter
Date: Wed, 26 Mar 2025 07:18:57 -0700 [thread overview]
Message-ID: <20250326071857.7ef4a050@hermes.local> (raw)
In-Reply-To: <20250326131441.5965-3-pbhagavatula@marvell.com>
On Wed, 26 Mar 2025 18:44:36 +0530
<pbhagavatula@marvell.com> wrote:
> +struct sw_vector_adapter_service_data {
> + uint32_t service_id;
> + RTE_ATOMIC(rte_mcslock_t *) lock;
> + RTE_TAILQ_HEAD(, sw_vector_adapter_data) adapter_list;
> +};
Why the indirect pointer to the lock? rather than embedding it in
the structure?
next prev parent reply other threads:[~2025-03-26 14:19 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-26 13:14 [RFC 0/2] introduce event " pbhagavatula
2025-03-26 13:14 ` [RFC 1/2] eventdev: " pbhagavatula
2025-03-26 13:14 ` [RFC 2/2] eventdev: add default software " pbhagavatula
2025-03-26 14:18 ` Stephen Hemminger [this message]
2025-03-26 17:25 ` [EXTERNAL] " Pavan Nikhilesh Bhagavatula
2025-03-26 20:25 ` Stephen Hemminger
2025-03-26 14:22 ` Stephen Hemminger
2025-03-26 17:06 ` [RFC 0/2] introduce event " Pavan Nikhilesh Bhagavatula
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=20250326071857.7ef4a050@hermes.local \
--to=stephen@networkplumber.org \
--cc=dev@dpdk.org \
--cc=jerinj@marvell.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).