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 BE0A846DA4; Sat, 23 Aug 2025 08:30:24 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B3B5340E3A; Sat, 23 Aug 2025 08:30:14 +0200 (CEST) Received: from dkmailrelay1.smartsharesystems.com (smartserver.smartsharesystems.com [77.243.40.215]) by mails.dpdk.org (Postfix) with ESMTP id 5CB6F4025A for ; Sat, 23 Aug 2025 08:30:10 +0200 (CEST) Received: from smartserver.smartsharesystems.com (smartserver.smartsharesys.local [192.168.4.10]) by dkmailrelay1.smartsharesystems.com (Postfix) with ESMTP id 11CEB22076; Sat, 23 Aug 2025 08:30:10 +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 08:30:08 +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 v8 0/3] mbuf: simplify handling of reinitialized mbufs Date: Sat, 23 Aug 2025 06:29:59 +0000 Message-ID: <20250823063002.24326-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: 23 Aug 2025 06:30:08.0922 (UTC) FILETIME=[5F31C7A0:01DC13F7] 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