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 B66C746D99; Fri, 22 Aug 2025 14:47:40 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7FD114029A; Fri, 22 Aug 2025 14:47:40 +0200 (CEST) Received: from dkmailrelay1.smartsharesystems.com (smartserver.smartsharesystems.com [77.243.40.215]) by mails.dpdk.org (Postfix) with ESMTP id 7FAC440297 for ; Fri, 22 Aug 2025 14:47:39 +0200 (CEST) Received: from smartserver.smartsharesystems.com (smartserver.smartsharesys.local [192.168.4.10]) by dkmailrelay1.smartsharesystems.com (Postfix) with ESMTP id 3FBFF209AA; Fri, 22 Aug 2025 14:47:39 +0200 (CEST) Received: from dkrd4.smartsharesys.local ([192.168.4.26]) by smartserver.smartsharesystems.com with Microsoft SMTPSVC(6.0.3790.4675); Fri, 22 Aug 2025 14:47:39 +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 v6 0/3] mbuf: simplify handling of reinitialized mbufs Date: Fri, 22 Aug 2025 12:47:28 +0000 Message-ID: <20250822124731.20633-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 12:47:39.0159 (UTC) FILETIME=[F15FEA70:01DC1362] 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 simplified, so fields that are already reset are not reset again Morten Brørup (3): mbuf: de-inline sanity checking a reinitialized mbuf mbuf: promote raw free and alloc bulk functions as stable mbuf: no need to reset all fields on reinitialized mbufs lib/mbuf/rte_mbuf.c | 61 +++++++++++++++++++ lib/mbuf/rte_mbuf.h | 145 ++++++++++++++++++++++++++++---------------- 2 files changed, 154 insertions(+), 52 deletions(-) -- 2.43.0