Message ID | 20250120122156.2480524-1-ariel.otilibili@6wind.com (mailing list archive) |
---|---|
Headers |
Return-Path: <dev-bounces@dpdk.org> X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 7962F460C5; Mon, 20 Jan 2025 13:22:11 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0C5EC4027A; Mon, 20 Jan 2025 13:22:11 +0100 (CET) Received: from mail-lj1-f231.google.com (mail-lj1-f231.google.com [209.85.208.231]) by mails.dpdk.org (Postfix) with ESMTP id C96D84021E for <dev@dpdk.org>; Mon, 20 Jan 2025 13:22:08 +0100 (CET) Received: by mail-lj1-f231.google.com with SMTP id 38308e7fff4ca-304d757a9c1so43484551fa.0 for <dev@dpdk.org>; Mon, 20 Jan 2025 04:22:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind.com; s=google; t=1737375728; x=1737980528; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=YUzgAX8RUOQYQ5Hw1vk6OycnO7UNzZfqWvEtCDeW/WE=; b=KU4vmg1LqGWdtbn6A61n+Bq48MQNxiWOxHO+PX5cu1tJgQOQ6vUlTz3/koBg5It80M 05F+XGvY4Iwv7Hv4hRx9t4rfJ7qiNCpgcqJgwa8vb/g92dFSjZNH5Wu7QQ8upQ6E47bO TBg1KdEHV2nmFjOwr2kSTrRtJBdladHje8EMtcKxcdYJzLDR5mJHUogfcsyEjLohysKg Xa1DM6PuHn/arq6PTeNWC6j/i2Ul/KyVkVlNOrvG5o5kZGA2RCtqczI5JayC71Dfa+7R yI5LH1hDwo7RgtSi1RpznwcDIxyKCtOXb0B8r9QJxYF9yfF9LrkUBRiVinO80h7FsDlu HZWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737375728; x=1737980528; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=YUzgAX8RUOQYQ5Hw1vk6OycnO7UNzZfqWvEtCDeW/WE=; b=H3fthEr2nZFJfZoSlPCZF4I/zOWvSRWKd45CUlaWlhtsBjJV2ODuuzcHiC2nv8FhLX Odap7KSIMskNMgoNNLbZXgCWsfabvW9Ur8dO8+Fh/wpAsnqmeNipXBiO5BlVrx9nW4MZ AdiTG0cC4pO4hNuDzX59nF/u+6jWWHAVse7Jtmz1IxVxJyzQ6yz6fJXVLovHjcGguHes M1SC4Q2/ey5l3vECFND9wkyl+mQHTkcJqYa+iUfD8vTDu9P0UpaF42o//SUxsu8aP1t4 0VJSst8HayIqWeMS4R9O7jFIpxlCeFqfm5g/1pD0CRDSM9IKMAHfYThLMa8i4eVry1mj tDnw== X-Gm-Message-State: AOJu0YwDjLr61pSLALWcfJYZSBccjemv/TColjBJt7O0t5uFCPGN2bc0 EpHWULQLCjpH1OuPqYQCBz5xc4dgl5Xsxpl5XPyjmjGegYk2u0vZa6Giwz90609cedUygt/pdXV iboczFYwTaRibD8DCWWBeNAMJv2hOVGh6LThk99XfZS0= X-Gm-Gg: ASbGncubs3XVgMOjboOrzJW7Afl0ZuPYbRkQwCK/TE+nOhkj8RdNsnGtbiX6dHO9zUt AwF1QvCAYVsEEc9vpOwdo5lbblKrtVmWuUp3h1QgesioM6qlbi/8Mu6jtazTz1xNsLmlw2+ZVKI izBVNii8kjnCe6kk0g7Yc6szOIJYxmQBjSpBFtjxYJFE3AIKpCCm/LqBxTF5HjcjHDdysd2TWb9 1OAxXA2r8ZeaC+O9Euo9THKkCuo2fIPHNJ1b2w6dodUXEGVbwjcwzKo/APMZBBRCb42x6dVYciy CussYppqDBhb1twp4OlfLB6vShjni8fPtNHaUxw= X-Google-Smtp-Source: AGHT+IFYysyjm4yaFo4Uo1fNWWFsLZDw/gpxx/xFmDbteIK7NHiItL0vQ64Btvj1bTxjjbb9XwK+M3nTD4ZV X-Received: by 2002:a2e:a613:0:b0:2ff:e219:c6d with SMTP id 38308e7fff4ca-3072d130438mr31875081fa.10.1737375727749; Mon, 20 Jan 2025 04:22:07 -0800 (PST) Received: from smtpservice.6wind.com ([185.13.181.2]) by smtp-relay.gmail.com with ESMTP id 38308e7fff4ca-3072a51661csm1319511fa.40.2025.01.20.04.22.07; Mon, 20 Jan 2025 04:22:07 -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 5627C138E5; Mon, 20 Jan 2025 13:22:07 +0100 (CET) From: Ariel Otilibili <ariel.otilibili@6wind.com> To: dev@dpdk.org Cc: stable@dpdk.org, Thomas Monjalon <thomas@monjalon.net>, David Marchand <david.marchand@redhat.com>, Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>, =?utf-8?q?Morten_Br=C3=B8?= =?utf-8?q?rup?= <mb@smartsharesystems.com>, Konstantin Ananyev <konstantin.ananyev@huawei.com>, Ariel Otilibili <ariel.otilibili@6wind.com> Subject: [PATCH v2 0/2] add rte_errno to rte_mempool_create_empty, and refactor Date: Mon, 20 Jan 2025 13:21:54 +0100 Message-Id: <20250120122156.2480524-1-ariel.otilibili@6wind.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20250119174643.2162110-1-ariel.otilibili@6wind.com> References: <20250119174643.2162110-1-ariel.otilibili@6wind.com> 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 <dev.dpdk.org> List-Unsubscribe: <https://mails.dpdk.org/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://mails.dpdk.org/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <https://mails.dpdk.org/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org |
Series |
add rte_errno to rte_mempool_create_empty, and refactor
|
|
Message
Ariel Otilibili
Jan. 20, 2025, 12:21 p.m. UTC
From: Ariel Otilibili <ariel.otilibili@6wind.com
Hello,
This series is for BugZilla ID 1559. After calling rte_mempool_set_ops_byname(), rte_mempool_create_empty() does not set rte_errno. The API expects rte_errno to bet set in that case.
Thank you,
---
v2
* reworded cover letter and commit messages
* addressed feedback from Konstantin Ananyev
v1 (https://inbox.dpdk.org/dev/20250119174643.2162110-1-ariel.otilibili@6wind.com/)
Ariel Otilibili (2):
mempool: fix rte_errno in rte_mempool_create_empty
mempool: make rte_mempool_create_empty a single-exit
lib/mempool/rte_mempool.c | 31 ++++++++++++++++++-------------
1 file changed, 18 insertions(+), 13 deletions(-)