From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-la0-x235.google.com (mail-la0-x235.google.com [IPv6:2a00:1450:4010:c03::235]) by dpdk.org (Postfix) with ESMTP id 4E017156 for ; Tue, 5 Nov 2013 11:14:14 +0100 (CET) Received: by mail-la0-f53.google.com with SMTP id eh20so4009484lab.40 for ; Tue, 05 Nov 2013 02:15:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=C5KAy/7IsLZiFQThHu9+NqAK5SHQ805TtuO3CaOeaoU=; b=matfF7Q5s1gLuc/gOeOipZ8CxC+7Qnh5E2wwWAHxDoxWoUvkdXguDCvnKCWPh/nBBB WbLK4yPEg68c37ssO1cI6bz9LWmcJNn1zDcC/+6bK6zDsKfqhN+dyCtz8jkZFq+Wxgcf i89GkxDaxYOhUQ0Um8qWKuteH+MoYrZrWI2EMpZwcnVgGPfwOVFIFssu1IVSHmlsGBhH PaG5Q0cMKJZWQCNjCIkKU2z14Pr0SDV5HS9QuJySTL1QOz6bDLWgrR0kQj7x6W63AxbD 3I6vtIEBs7YmoRPfOW8hJRWW1tWNSQmbOndfdJW0uYUypLp6qJBW3iNThTzTFNAQY1jk o4qA== MIME-Version: 1.0 X-Received: by 10.152.19.66 with SMTP id c2mr5483618lae.27.1383646502013; Tue, 05 Nov 2013 02:15:02 -0800 (PST) Received: by 10.114.183.13 with HTTP; Tue, 5 Nov 2013 02:15:01 -0800 (PST) Date: Tue, 5 Nov 2013 18:15:01 +0800 Message-ID: From: Jose Gavine Cueto To: "dev@dpdk.org" Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] preallocation of void ** obj_p of rte_ring_dequeue X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Nov 2013 10:14:14 -0000 Hi, When using *static int rte_ring_dequeue( structe rte_ring * r, void ** obj_p )*, is the user presumed to allocate obj_p , or does this method allocates this obj_p ? Cheers, Pepe -- To stop learning is like to stop loving.