From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pg0-f44.google.com (mail-pg0-f44.google.com [74.125.83.44]) by dpdk.org (Postfix) with ESMTP id BAFEB2B9D for ; Wed, 9 Aug 2017 05:46:40 +0200 (CEST) Received: by mail-pg0-f44.google.com with SMTP id v77so22736554pgb.3 for ; Tue, 08 Aug 2017 20:46:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fridaylinux-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=g6Hv1E4W3YTYhaPWEWt8Uj6EoCexNuCW/qHIPTu6bkI=; b=NFnrOOUXAzwC8wIFxRWKBF7m5ej9z0Y1dykERk0JgIrDqr84LR7+FpiqOf1VAPwLCW Nw5BCFEtIjcsX+opzL/zx86OFXM4DEeLKrjbczAODYsBWe0oLrcP+nOV9Pv1zu5z6IwG vyZZOHUmAZzZgikrVVFzgekO3pd+81pe7jgU9dB3u10Idg2AnbS45P+cVcTWZfCXQ8f6 OrhuKejxGQ2RvNUiWgPRSn0ouSYxqHKq8yFOxk3Ugp7gTwKUFUEEjt1GwuKy3K1tlBze eX9If7XyhnhFV8MHeGSNUMjlCit/ntXqFDY3W83S+LX8h/W49cDTQyZwHI+N4VBso6wY tfTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=g6Hv1E4W3YTYhaPWEWt8Uj6EoCexNuCW/qHIPTu6bkI=; b=YKfyhnUgWhBfs/zarXSENpwQk7Eff5MWivxAHTUBjigQIWkdiyH1Roc4Lwvd9B7eJB ljz+QW/sDAjR/UlhT/ZYBOiZ8z6qfPQdj/kNkKE5PpzvdAzpmZmWsFTg3GIt4hwyBn+T InXj3sVEVKuUkiFs8f07IkPl516kw1/XIowFPOtsVchKpIOz2SYt6UUIIi/qKPqmIw5s IlRWBgaKfOLAemJwGXypWPEvBoHoekJlC3rwSNAmwwB+Q4oJOtbTjZVBApVdTVnw4LGm x4fbMKyJtOczAS31MYqG0uLwelCpgUPtEJaZDYk2lXJ20ZkQdIxE/moDRBno7HEu6Eqy As7g== X-Gm-Message-State: AHYfb5ikR55pZueEqO2QFphMGC2uoTcTNcjX0qGvQGgp+nPk0n312A2J wxpwCzqGdnQS1R1+ X-Received: by 10.84.224.142 with SMTP id s14mr7368217plj.353.1502250400038; Tue, 08 Aug 2017 20:46:40 -0700 (PDT) Received: from localhost.localdomain ([45.63.61.64]) by smtp.gmail.com with ESMTPSA id q3sm5093921pfl.89.2017.08.08.20.46.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 08 Aug 2017 20:46:38 -0700 (PDT) From: Yuanhan Liu To: Pablo de Lara Cc: dpdk stable , Yuanhan Liu Date: Wed, 9 Aug 2017 11:43:45 +0800 Message-Id: <1502250240-6599-3-git-send-email-yliu@fridaylinux.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1502250240-6599-1-git-send-email-yliu@fridaylinux.org> References: <1502250240-6599-1-git-send-email-yliu@fridaylinux.org> Subject: [dpdk-stable] patch 'mbuf: fix doxygen comment of bulk alloc' has been queued to LTS release 16.11.3 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Aug 2017 03:46:41 -0000 Hi, FYI, your patch has been queued to LTS release 16.11.3 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 08/11/17. So please shout if anyone has objections. Thanks. --yliu --- >>From 4e9c1cce3b841f7be4c4be3d7dd9204efd833b51 Mon Sep 17 00:00:00 2001 From: Pablo de Lara Date: Wed, 26 Jul 2017 05:20:05 +0100 Subject: [PATCH] mbuf: fix doxygen comment of bulk alloc [ upstream commit c0bad56ef8b84a2e03bff1f5739a52248d22aedd ] When calling rte_pktmbuf_alloc_bulk, if there are not enough objects in the mempool, it returns a negative value, which should be reflected in the Doxygen comments. Fixes: 9ec201f5d6e7 ("mbuf: provide bulk allocation") Signed-off-by: Pablo de Lara --- lib/librte_mbuf/rte_mbuf.h | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/librte_mbuf/rte_mbuf.h b/lib/librte_mbuf/rte_mbuf.h index 00b8495..8a814df 100644 --- a/lib/librte_mbuf/rte_mbuf.h +++ b/lib/librte_mbuf/rte_mbuf.h @@ -1060,6 +1060,7 @@ static inline struct rte_mbuf *rte_pktmbuf_alloc(struct rte_mempool *mp) * Array size * @return * - 0: Success + * - -ENOENT: Not enough entries in the mempool; no mbufs are retrieved. */ static inline int rte_pktmbuf_alloc_bulk(struct rte_mempool *pool, struct rte_mbuf **mbufs, unsigned count) -- 2.7.4