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 7041B46D9F; Sat, 23 Aug 2025 01:45:34 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id F1AC240E15; Sat, 23 Aug 2025 01:45:28 +0200 (CEST) Received: from dkmailrelay1.smartsharesystems.com (smartserver.smartsharesystems.com [77.243.40.215]) by mails.dpdk.org (Postfix) with ESMTP id 0068C402A9 for ; Sat, 23 Aug 2025 01:45:25 +0200 (CEST) Received: from smartserver.smartsharesystems.com (smartserver.smartsharesys.local [192.168.4.10]) by dkmailrelay1.smartsharesystems.com (Postfix) with ESMTP id AEE51216E3; Sat, 23 Aug 2025 01:45:25 +0200 (CEST) Received: from dkrd4.smartsharesys.local ([192.168.4.26]) by smartserver.smartsharesystems.com with Microsoft SMTPSVC(6.0.3790.4675); Sat, 23 Aug 2025 01:45:22 +0200 From: =?UTF-8?q?Morten=20Br=C3=B8rup?= To: dev@dpdk.org, Thomas Monjalon , Stephen Hemminger , Bruce Richardson , Konstantin Ananyev , Andrew Rybchenko , Ivan Malov , Chengwen Feng Cc: =?UTF-8?q?Morten=20Br=C3=B8rup?= Subject: [PATCH v7 0/3] mbuf: simplify handling of reinitialized mbufs Date: Fri, 22 Aug 2025 23:45:12 +0000 Message-ID: <20250822234515.22518-1-mb@smartsharesystems.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250821150250.16959-1-mb@smartsharesystems.com> References: <20250821150250.16959-1-mb@smartsharesystems.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-OriginalArrivalTime: 22 Aug 2025 23:45:22.0259 (UTC) FILETIME=[D3371A30:01DC13BE] 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 This series contains three changes: - sanity checking a reinitialized mbuf (a.k.a. raw mbuf) was de-inlined - reinitialized mbuf free and alloc bulk functions were promoted as stable - resetting fields of reinitialized mbufs was optimized, making the reset operation write-only of the mbuf, instead of read-modify-write Morten Brørup (3): mbuf: de-inline sanity checking a reinitialized mbuf mbuf: promote raw free and alloc bulk functions as stable mbuf: optimize reset of reinitialized mbufs lib/mbuf/rte_mbuf.c | 61 +++++++++++++++ lib/mbuf/rte_mbuf.h | 176 +++++++++++++++++++++++++------------------- 2 files changed, 162 insertions(+), 75 deletions(-) -- 2.43.0