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 72BB9433F5 for ; Wed, 29 Nov 2023 03:33:06 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6CEC442E28; Wed, 29 Nov 2023 03:33:06 +0100 (CET) Received: from mail-wm1-f54.google.com (mail-wm1-f54.google.com [209.85.128.54]) by mails.dpdk.org (Postfix) with ESMTP id BB5D142E18 for ; Wed, 29 Nov 2023 03:33:04 +0100 (CET) Received: by mail-wm1-f54.google.com with SMTP id 5b1f17b1804b1-4079ed65582so45895955e9.1 for ; Tue, 28 Nov 2023 18:33:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701225184; x=1701829984; 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=lgu0sl5m8Jx2okc8nXVgaKxekKM597TQ4S96bwSy1sA=; b=WtffuEDPvn2tNYdBwkNCKGfNH5kywxPiDNx3y/58Jv1sHFHRQzN5nFiS34xbzvNCBH Qmp9CuAwrJDaEIlG299kwiGkU+hcjSpsXuJC2O8SCednfIOnMl9Lw6JBp1Aua4KkuhNg MdZ4DlCEWpUFOsswGRz7C8bWngDz5V/nM9sOfvU//1HvuM+YaZ1nI6xqECI2uqUYBIek 7Gb2CopIMdpgtNN9qInlXrc0iIPTHpfulen8F/MgdwlRlk+BoscmR/o4azu3ySB9FFfD YqTR8a+N5D4CVYB2g8bQZYi9FL2dnRzCzIRbDFB2lvK3CDK0qgpAKDwy//qvp/LhonA/ Ytrw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701225184; x=1701829984; 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=lgu0sl5m8Jx2okc8nXVgaKxekKM597TQ4S96bwSy1sA=; b=movhxmV6ansMJUFwOL6gxFENj1if24a0C2mR3Wi1lk94Qhq9qSqrOJeIpyVJ0mWA4T quk7BMWCU/OJry46WF4Lj89ZHO22dwSdogzTLYBOyTp8ZcgOmOcJANrAGeTevhYG6hB9 fNnKp/1hoMJkBzKxyEl6yuCbQeplskr0ykBse5g+VB8SKZ5AxbzJVOZ4Wt1rFydBd9y/ J3f9QiZdLe5hhlmcpJH5jxlXYmi9E/GtMqhpf9ipuSJe68Mo8DJjeOk4jt44pBzWtRzX qiSJ/pwzJJttYMBt2zta2qVgqd1CA8L4wgmQZY7osA42oFpUbf1nRfWfjP5g215VWFbF NqAg== X-Gm-Message-State: AOJu0Yw5bOAeYlcFH65xjQ0zDfsDYAnDuvYl61tKYfMhQsHZGkSf7uB8 +kgwget108JKM7poQ4Bo1YCDVA0QB0LHfpHr X-Google-Smtp-Source: AGHT+IHmpTq/VcYt01rRjmHVpNOd1+DO3u1T/E90rXZRFYAcaCrfXE5QX8amAVlYM0ws+7LX6TYfFw== X-Received: by 2002:a5d:69cd:0:b0:332:c548:3ea4 with SMTP id s13-20020a5d69cd000000b00332c5483ea4mr12298953wrw.49.1701225184394; Tue, 28 Nov 2023 18:33:04 -0800 (PST) Received: from localhost ([2a01:4b00:d307:1000:f1d3:eb5e:11f4:a7d9]) by smtp.gmail.com with ESMTPSA id j7-20020adfb307000000b00332e7f9e2a8sm14518621wrd.68.2023.11.28.18.33.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Nov 2023 18:33:03 -0800 (PST) From: luca.boccassi@gmail.com To: Ferruh Yigit Cc: =?UTF-8?q?Morten=20Br=C3=B8rup?= , dpdk stable Subject: patch 'mempool: clarify enqueue/dequeue ops documentation' has been queued to stable release 20.11.10 Date: Wed, 29 Nov 2023 02:32:50 +0000 Message-Id: <20231129023251.1780959-5-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231129023251.1780959-1-luca.boccassi@gmail.com> References: <20231123161709.670852-9-luca.boccassi@gmail.com> <20231129023251.1780959-1-luca.boccassi@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Hi, FYI, your patch has been queued to stable release 20.11.10 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 12/01/23. So please shout if anyone has objections. Also note that after the patch there's a diff of the upstream commit vs the patch applied to the branch. This will indicate if there was any rebasing needed to apply to the stable branch. If there were code changes for rebasing (ie: not only metadata diffs), please double check that the rebase was correctly done. Queued patches are on a temporary branch at: https://github.com/bluca/dpdk-stable This queued commit can be viewed at: https://github.com/bluca/dpdk-stable/commit/a8853f9d34f297849fdbda5f3443844f0c6ce4ad Thanks. Luca Boccassi --- >From a8853f9d34f297849fdbda5f3443844f0c6ce4ad Mon Sep 17 00:00:00 2001 From: Ferruh Yigit Date: Mon, 23 Oct 2023 10:38:43 +0100 Subject: [PATCH] mempool: clarify enqueue/dequeue ops documentation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [ upstream commit 37fc1db98c082d3f423c46bed7357a158abe53e9 ] API documentations doesn't clarify expected return types for enqueue and dequeue mempool_ops, clarifying it. Fixes: 449c49b93a6b ("mempool: support handler operations") Reported-by: Morten Brørup Signed-off-by: Ferruh Yigit Reviewed-by: Morten Brørup --- lib/librte_mempool/rte_mempool.h | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/lib/librte_mempool/rte_mempool.h b/lib/librte_mempool/rte_mempool.h index 10c023b93f..0f5cd4b072 100644 --- a/lib/librte_mempool/rte_mempool.h +++ b/lib/librte_mempool/rte_mempool.h @@ -404,13 +404,19 @@ typedef int (*rte_mempool_alloc_t)(struct rte_mempool *mp); typedef void (*rte_mempool_free_t)(struct rte_mempool *mp); /** - * Enqueue an object into the external pool. + * Enqueue 'n' objects into the external pool. + * @return + * - 0: Success + * - <0: Error */ typedef int (*rte_mempool_enqueue_t)(struct rte_mempool *mp, void * const *obj_table, unsigned int n); /** - * Dequeue an object from the external pool. + * Dequeue 'n' objects from the external pool. + * @return + * - 0: Success + * - <0: Error */ typedef int (*rte_mempool_dequeue_t)(struct rte_mempool *mp, void **obj_table, unsigned int n); -- 2.39.2 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2023-11-29 02:31:25.009384448 +0000 +++ 0005-mempool-clarify-enqueue-dequeue-ops-documentation.patch 2023-11-29 02:31:24.793770882 +0000 @@ -1 +1 @@ -From 37fc1db98c082d3f423c46bed7357a158abe53e9 Mon Sep 17 00:00:00 2001 +From a8853f9d34f297849fdbda5f3443844f0c6ce4ad Mon Sep 17 00:00:00 2001 @@ -8,0 +9,2 @@ +[ upstream commit 37fc1db98c082d3f423c46bed7357a158abe53e9 ] + @@ -13 +14,0 @@ -Cc: stable@dpdk.org @@ -19 +20 @@ - lib/mempool/rte_mempool.h | 10 ++++++++-- + lib/librte_mempool/rte_mempool.h | 10 ++++++++-- @@ -22,5 +23,5 @@ -diff --git a/lib/mempool/rte_mempool.h b/lib/mempool/rte_mempool.h -index 1303eef494..95deade160 100644 ---- a/lib/mempool/rte_mempool.h -+++ b/lib/mempool/rte_mempool.h -@@ -465,13 +465,19 @@ typedef int (*rte_mempool_alloc_t)(struct rte_mempool *mp); +diff --git a/lib/librte_mempool/rte_mempool.h b/lib/librte_mempool/rte_mempool.h +index 10c023b93f..0f5cd4b072 100644 +--- a/lib/librte_mempool/rte_mempool.h ++++ b/lib/librte_mempool/rte_mempool.h +@@ -404,13 +404,19 @@ typedef int (*rte_mempool_alloc_t)(struct rte_mempool *mp);