From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pg0-f41.google.com (mail-pg0-f41.google.com [74.125.83.41]) by dpdk.org (Postfix) with ESMTP id D3A809171 for ; Mon, 21 Aug 2017 11:36:28 +0200 (CEST) Received: by mail-pg0-f41.google.com with SMTP id n4so33247116pgn.1 for ; Mon, 21 Aug 2017 02:36:28 -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=cD7LBYhxm64WOnPVFtZ/Zgp0AdYu5ppRRypta4/77jE=; b=Qg4pL7qJtGJzGa/qItT3zEp1+SNsWg6jJIAwsjhDV0qi7p/noGY3aJQ5OhkQ3gvT00 oFYk0vztN1XGo0QaFDBzYbphJ2I6C+szrAtoJ71BcrqwInEi7kObHP75YjhMOGbuIAOy 7UjF22Wm6PZXKYKMj5JSg4B2lOhTuALqSYriyoxzalXvD4oMYksAuGnm7e75yGBgn9Dz lm+pD6qezo7vXTHwAGJl9ixt19VKbcifmJfebWctW8R9x995rpn6o8oEykTPd7Pqro1q UMyptK0e7rlN659oijsakcvFSXkfB/fdSY2DwcekIQWHq4fxBdPiyXBLlH4fu18Cs2Za JEwQ== 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=cD7LBYhxm64WOnPVFtZ/Zgp0AdYu5ppRRypta4/77jE=; b=uMOjxUdAIgNgTw+LQ8IN7/J9FFDydPo4lMkHdef/UXx1R3FAf13GmiFwDwSL9hOAZN Yib0X6y9xrVA+sdmhzSKpt3pPvvqdJscTt721FYnboGwhnVCi+z1C8aQ4QRkPEZCVu7D is5fscjt2YxDK88BvqgYP7Jc3m9TwZI3M+qN93D2JV5DGIye4ayW6Qz7HrQ46/CLYJxE o2GKS1cobtdKLJy0YZg2+NPTC3NmkdYnEqPNKm2QLGf9H/cTC0rbUZmnGRB6UKPiX7mi TSioVibFOOpJRU/sQHaSL2SrXQdcEhw8Sv0fvRBOl0qkD4Kl7YIeZVhTr3UHbLXdPK1L lM1Q== X-Gm-Message-State: AHYfb5js7yCSNIrCldtSHUuxyegH3qk4WncCZu4iaMr/Z/DweCqdQNSD MVf2KvWmasVCXVbW X-Received: by 10.84.216.69 with SMTP id f5mr13132698plj.85.1503308188063; Mon, 21 Aug 2017 02:36:28 -0700 (PDT) Received: from localhost.localdomain ([45.63.61.64]) by smtp.gmail.com with ESMTPSA id 69sm23355087pfh.186.2017.08.21.02.36.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 21 Aug 2017 02:36:27 -0700 (PDT) From: Yuanhan Liu To: Pablo de Lara Cc: dpdk stable , Yuanhan Liu Date: Mon, 21 Aug 2017 17:30:53 +0800 Message-Id: <1503307878-16728-39-git-send-email-yliu@fridaylinux.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1503307878-16728-1-git-send-email-yliu@fridaylinux.org> References: <1503307878-16728-1-git-send-email-yliu@fridaylinux.org> Subject: [dpdk-stable] patch 'mbuf: fix doxygen comment of bulk alloc' has been queued to stable release 17.05.2 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: Mon, 21 Aug 2017 09:36:29 -0000 Hi, FYI, your patch has been queued to stable release 17.05.2 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/24/17. So please shout if anyone has objections. Thanks. --yliu --- >>From 066ebbc9cfac0e1fe62a2660bb901df18077f127 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 706f99a..1276b3c 100644 --- a/lib/librte_mbuf/rte_mbuf.h +++ b/lib/librte_mbuf/rte_mbuf.h @@ -1136,6 +1136,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