From: David Marchand <david.marchand@redhat.com>
To: Huichao Cai <chcchc88@163.com>
Cc: jerinj@marvell.com, kirankumark@marvell.com,
ndabilpuram@marvell.com, yanzhirun_163@163.com, dev@dpdk.org,
Thomas Monjalon <thomas@monjalon.net>
Subject: Re: [PATCH v5] graph: mcore: optimize graph search
Date: Fri, 13 Dec 2024 15:36:11 +0100 [thread overview]
Message-ID: <CAJFAV8yXaghtWHs3dFO-pLWkjMb_eFQcNGaENEiPVBZiGkCudg@mail.gmail.com> (raw)
In-Reply-To: <20241213022158.2644-1-chcchc88@163.com>
On Fri, Dec 13, 2024 at 3:22 AM Huichao Cai <chcchc88@163.com> wrote:
> diff --git a/lib/graph/rte_graph_worker_common.h b/lib/graph/rte_graph_worker_common.h
> index d3ec88519d..aef0f65673 100644
> --- a/lib/graph/rte_graph_worker_common.h
> +++ b/lib/graph/rte_graph_worker_common.h
> @@ -110,6 +110,7 @@ struct __rte_cache_aligned rte_node {
> unsigned int lcore_id; /**< Node running lcore. */
> uint64_t total_sched_objs; /**< Number of objects scheduled. */
> uint64_t total_sched_fail; /**< Number of scheduled failure. */
> + struct rte_graph *graph; /**< Graph corresponding to lcore_id. */
> } dispatch;
> };
The rte_node struct size is not changed with this patch.
In v24.11, rte_node objects are populated/allocated in
graph_nodes_populate which zero's the whole rte_node.
So this change looks safe from an ABI compat with v24.11 pov.
However, we need to waive the warning from libabigail:
http://mails.dpdk.org/archives/test-report/2024-December/834167.html
Please add a temporary exception in devtools/libabigail.abignore.
It should be something like:
[suppress_type]
name = rte_node
has_size_change = no
has_data_member_inserted_between =
{offset_of(total_sched_fail), offset_of(xstat_off)}
--
David Marchand
next prev parent reply other threads:[~2024-12-13 14:36 UTC|newest]
Thread overview: 41+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-07 8:04 [PATCH] graph: optimize graph search when scheduling nodes Huichao cai
2024-11-07 9:37 ` [EXTERNAL] " Jerin Jacob
2024-11-08 1:39 ` Huichao Cai
2024-11-08 12:22 ` Jerin Jacob
2024-11-08 13:38 ` David Marchand
2024-11-11 5:38 ` Jerin Jacob
2024-11-12 8:51 ` David Marchand
2024-11-12 9:35 ` Jerin Jacob
2024-11-12 12:57 ` Huichao Cai
2024-11-13 9:22 ` Huichao Cai
2024-11-14 7:09 ` Jerin Jacob
2024-11-11 4:03 ` [PATCH v2] graph: mcore: optimize graph search Huichao Cai
2024-11-11 5:46 ` [EXTERNAL] " Jerin Jacob
2024-11-13 9:19 ` Huichao Cai
2024-11-13 7:35 ` [PATCH v3 1/2] " Huichao Cai
2024-11-13 7:35 ` [PATCH v3 2/2] graph: add alignment to the member of rte_node Huichao Cai
2024-11-14 7:14 ` [EXTERNAL] " Jerin Jacob
2024-11-14 8:45 ` [PATCH v4 1/2] graph: mcore: optimize graph search Huichao Cai
2024-11-14 8:45 ` [PATCH v4 2/2] graph: add alignment to the member of rte_node Huichao Cai
2024-11-14 10:05 ` [EXTERNAL] " Jerin Jacob
2024-11-14 12:06 ` Huichao Cai
2024-11-14 13:04 ` Jerin Jacob
2024-11-15 1:55 ` [PATCH v5 1/1] graph: improve node layout Huichao Cai
2024-11-15 14:23 ` Thomas Monjalon
2024-11-15 15:57 ` [EXTERNAL] " Jerin Jacob
2024-11-19 10:31 ` Thomas Monjalon
2024-12-13 2:21 ` [PATCH v5] graph: mcore: optimize graph search Huichao Cai
2024-12-13 14:36 ` David Marchand [this message]
2024-12-16 1:43 ` [PATCH v6] " Huichao Cai
2024-12-16 14:49 ` David Marchand
2024-12-17 9:04 ` David Marchand
2024-12-20 2:05 ` Huichao Cai
2025-01-20 14:36 ` Huichao Cai
2025-01-20 14:55 ` Thomas Monjalon
2025-01-20 15:23 ` Huichao Cai
2025-02-06 2:53 ` [PATCH v7 1/1] " Huichao Cai
2025-02-06 20:10 ` Patrick Robb
2025-02-07 1:39 ` [PATCH v8] " Huichao Cai
2025-02-19 15:24 ` Thomas Monjalon
2025-02-22 6:59 ` [EXTERNAL] " Kiran Kumar Kokkilagadda
2025-06-10 10:28 ` Thomas Monjalon
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=CAJFAV8yXaghtWHs3dFO-pLWkjMb_eFQcNGaENEiPVBZiGkCudg@mail.gmail.com \
--to=david.marchand@redhat.com \
--cc=chcchc88@163.com \
--cc=dev@dpdk.org \
--cc=jerinj@marvell.com \
--cc=kirankumark@marvell.com \
--cc=ndabilpuram@marvell.com \
--cc=thomas@monjalon.net \
--cc=yanzhirun_163@163.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).