From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id E57F4460C4; Mon, 20 Jan 2025 15:36:42 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8183540A77; Mon, 20 Jan 2025 15:36:42 +0100 (CET) Received: from m16.mail.163.com (m16.mail.163.com [117.135.210.4]) by mails.dpdk.org (Postfix) with ESMTP id 7F2544021F for ; Mon, 20 Jan 2025 15:36:40 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:Subject:Date:Message-Id:MIME-Version; bh=Gv4pw haSuCHZemzuk+hty0JK2GeVnVQLl9O7kPynyUA=; b=WAwpVgey12Z686BbCAsOY mqYJzxEpBL5lFJG//TnLAf+OPa8zWssGUlUhePFss6cQIAS+i0kj9+M+LqOUoVwe niNlU6+AdhjfxQUzS7HaUokj/ahbRIC2AlxRX5dXYUHu8nMEm6UxCbhabq1NGQXV RHR+b9akdXmc6aY0YEKMxc= Received: from 192.168.227.180 (unknown []) by gzga-smtp-mtada-g1-4 (Coremail) with SMTP id _____wCXgXR0X45nVYc3HA--.29431S2; Mon, 20 Jan 2025 22:36:37 +0800 (CST) From: Huichao Cai To: thomas@monjalon.net Cc: dev@dpdk.org, jerinj@marvell.com, kirankumark@marvell.com, ndabilpuram@marvell.com, yanzhirun_163@163.com Subject: [PATCH v6] graph: mcore: optimize graph search Date: Mon, 20 Jan 2025 22:36:34 +0800 Message-Id: <20250120143634.1799-1-chcchc88@163.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20241216014353.2036-1-chcchc88@163.com> References: <20241216014353.2036-1-chcchc88@163.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-CM-TRANSID: _____wCXgXR0X45nVYc3HA--.29431S2 X-Coremail-Antispam: 1Uf129KBjvJXoWxury5Jr15KF4DXryxKrWfKrg_yoWrAr1kp3 W3C34xArW7JFyfCr1UAr4xWr1UGw4UJr48GFyIg3W7A34Dtrn7Cryqvry5Cr17G3y3Aa1j vF47X34UAw1DArUanT9S1TB71UUUUU7qnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDUYxBIdaVFxhVjvjDU0xZFpf9x07UsNVPUUUUU= X-Originating-IP: [120.244.233.50] X-CM-SenderInfo: pfkfuxrfyyqiywtou0bp/1tbiUhHYF2eK-xExIgABsd X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Hi, Thomas=0D I tested(See below) this patch locally and it can suppress this error(githu= b build: failed).=0D Is the difference in CI results from patchwork due to different versions of= abidiff?=0D My abidiff version:=0D [root@localhost dpdk.chc1]# abidiff --version=0D abidiff: 1.6.0=0D There is currently no version 2.6.0 abidiff available in my local environme= nt...=0D =0D The following is the testing process and results:=0D =0D =3D=3D=3D=3D=3D=3D=3D=3D=3D=3DWhen not adding the [suppress_type] field=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=0D [root@localhost dpdk.chc1]# abidiff --suppr ./devtools/libabigail.abignore = --no-added-syms --headers-dir1 /tmp/v24.11/build-gcc-shared/usr/local/inclu= de --headers-dir2 ./build-gcc-shared/install/usr/local/include /tmp/v24.11/= build-gcc-shared/usr/local/lib64/librte_graph.so.25.0 ./build-gcc-shared/in= stall/usr/local/lib64/librte_graph.so.25.1=0D Functions changes summary: 0 Removed, 1 Changed (5 filtered out), 0 Added f= unctions=0D Variables changes summary: 0 Removed, 0 Changed, 0 Added variable=0D =0D 1 function with some indirect sub-type change:=0D =0D [C]'function rte_node_t __rte_node_register(const rte_node_register*)' at= node.c:58:1 has some indirect sub-type changes:=0D parameter 1 of type 'const rte_node_register*' has sub-type changes:=0D in pointed to type 'const rte_node_register':=0D in unqualified underlying type 'struct rte_node_register' at rte_gr= aph.h:482:1:=0D type size hasn't changed=0D 1 data member changes (2 filtered):=0D type of 'rte_node_fini_t rte_node_register::fini' changed:=0D underlying type 'void (const rte_graph*, rte_node*)*' changed:= =0D in pointed to type 'function type void (const rte_graph*, rt= e_node*)':=0D parameter 2 of type 'rte_node*' has sub-type changes:=0D in pointed to type 'struct rte_node' at rte_graph_worker= _common.h:92:1:=0D type size hasn't changed=0D no data member change (1 filtered);=0D 1 data member change:=0D anonymous data member at offset 1536 (in bits) change= d from:=0D union {struct {unsigned int lcore_id; uint64_t tota= l_sched_objs; uint64_t total_sched_fail;} dispatch;}=0D to:=0D union {struct {unsigned int lcore_id; uint64_t tota= l_sched_objs; uint64_t total_sched_fail; rte_graph* graph;} dispatch;}=0D =0D =3D=3D=3D=3D=3D=3D=3D=3D=3D=3DWhen adding the [suppress_type] field=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=0D root@localhost devtools]# cat libabigail.abignore =0D ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;=0D ; Core suppression rules: DO NOT TOUCH ;=0D ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;=0D =0D [suppress_function]=0D symbol_version =3D EXPERIMENTAL=0D [suppress_variable]=0D symbol_version =3D EXPERIMENTAL=0D =0D [suppress_function]=0D symbol_version =3D INTERNAL=0D [suppress_variable]=0D symbol_version =3D INTERNAL=0D =0D ; Ignore generated PMD information strings=0D [suppress_variable]=0D name_regexp =3D _pmd_info$=0D =0D ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;=0D ; Special rules to skip libraries ;=0D ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;=0D ;=0D ; This is not a libabigail rule (see check-abi.sh).=0D ; This is used for driver removal and other special cases like mlx glue lib= s.=0D ;=0D ; SKIP_LIBRARY=3Dlibrte_common_mlx5_glue=0D ; SKIP_LIBRARY=3Dlibrte_net_mlx4_glue=0D =0D ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;=0D ; Experimental APIs exceptions ;=0D ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;=0D =0D ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;=0D ; Temporary exceptions till next major ABI version ;=0D ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;=0D [suppress_type]=0D name =3D rte_node=0D has_size_change =3D no=0D has_data_member_inserted_between =3D=0D {offset_of(total_sched_fail), offset_of(xstat_off)}=0D =0D [root@localhost dpdk.chc1]# abidiff --suppr ./devtools/libabigail.abignore = --no-added-syms --headers-dir1 /tmp/v24.11/build-gcc-shared/usr/local/inclu= de --headers-dir2 ./build-gcc-shared/install/usr/local/include /tmp/v24.11/= build-gcc-shared/usr/local/lib64/librte_graph.so.25.0 ./build-gcc-shared/in= stall/usr/local/lib64/librte_graph.so.25.1=0D Functions changes summary: 0 Removed, 0 Changed (6 filtered out), 0 Added f= unctions=0D Variables changes summary: 0 Removed, 0 Changed, 0 Added variable=0D =0D =0D