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 7135046037; Sun, 19 Jan 2025 18:46:53 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 000CE402D3; Sun, 19 Jan 2025 18:46:52 +0100 (CET) Received: from mail-ej1-f98.google.com (mail-ej1-f98.google.com [209.85.218.98]) by mails.dpdk.org (Postfix) with ESMTP id 826B0402D0 for ; Sun, 19 Jan 2025 18:46:51 +0100 (CET) Received: by mail-ej1-f98.google.com with SMTP id a640c23a62f3a-aaee0b309adso567703966b.3 for ; Sun, 19 Jan 2025 09:46:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind.com; s=google; t=1737308811; x=1737913611; darn=dpdk.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=QUSC/rDNKp/+dtAeAgh93ZrZxSl+y3FDucmeUN+9ysM=; b=TkRR96oqGP4cyLsO0DOhX837g1lakLHoOeaSPn2eb9DPYy4hfQCJQTdbg3SZLO3Opc 3+aAvfgSTRu5RUULe3oLbja5OWUJFRJkFB9+OKp7Cyl/unY8EcjVQzxqzl4g87sB6q7w xsi0Q+caw7JWj/Uq4RtdHbDen3NgOSCSs7kk5k6XozE5SNJwYjMYcn/JHEk19gOp68Ya uPXD3IfDbWzLYIfFwiuPbF7RYtkvDb9OHFOKEXyH/5AeuCWj+I+IAaMNNppBM37DtNtJ 2EASFjIS+O8Z4sfVWSfu5eTc2ASFcqTU1FMM+LymaPRdu8imm5fQ1lQpnOvfSW7alzh+ 4DTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737308811; x=1737913611; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-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a640c23a62f3a-ab38b3afcf6mr1092762766b.39.1737308810900; Sun, 19 Jan 2025 09:46:50 -0800 (PST) Received: from smtpservice.6wind.com ([185.13.181.2]) by smtp-relay.gmail.com with ESMTP id a640c23a62f3a-ab384e3cd57sm27619566b.101.2025.01.19.09.46.50; Sun, 19 Jan 2025 09:46:50 -0800 (PST) X-Relaying-Domain: 6wind.com Received: from localhost (rainbow.dev.6wind.com [10.17.1.165]) by smtpservice.6wind.com (Postfix) with ESMTP id A5290131C4; Sun, 19 Jan 2025 18:46:50 +0100 (CET) From: Ariel Otilibili To: dev@dpdk.org Cc: stable@dpdk.org, Thomas Monjalon , David Marchand , Ariel Otilibili , Andrew Rybchenko , =?UTF-8?q?Morten=20Br=C3=B8rup?= Subject: [PATCH 0/2] mempool: add rte_errno, and turn functions into single-exit ones Date: Sun, 19 Jan 2025 18:46:41 +0100 Message-Id: <20250119174643.2162110-1-ariel.otilibili@6wind.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Hello, This series is for BugZilla ID 1559. rte_mempool_set_ops_byname() did not set rte_errno for error exit. As well, other functions did not consistently set the variable. For avoiding that, they are turned into single-exit functions. Thank you, Ariel Otilibili (2): mempool: add rte_errno in rte_mempool_set_ops_byname mempool: turn functions into single-exit ones lib/mempool/rte_mempool_ops.c | 44 ++++++++++++++++++++++++++--------- 1 file changed, 33 insertions(+), 11 deletions(-) -- 2.30.2