From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f172.google.com (mail-wi0-f172.google.com [209.85.212.172]) by dpdk.org (Postfix) with ESMTP id E3CF9BDC2 for ; Thu, 23 Jul 2015 10:47:22 +0200 (CEST) Received: by wibxm9 with SMTP id xm9so138173057wib.1 for ; Thu, 23 Jul 2015 01:47:22 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=XHDSLR1AguAZG9/J+W6hWnM+vYOhiep1ZnMt1bQ6F7E=; b=eTEipqX4jkUz83GmyLo84fJLs1t0H4swnLl0UMdCX+203r+Kv3iskdyBE1yS+0tysN DY7bKs2Rc235zhYnRzJUXR7ptDOCXx4xm1DpJvJIJPJocyDNX8bWKlyKWyLAugkI0ipv prFqhEoj+0rj1Q/turcgkTxI8NQLccNd/GsC/VhyDlhCDCJAhm4NQWNyYyeUL/NpHNrn 8Ld0vAjr34YSKU2rwoMYWftvzu9d8zI8rg0+PN2IhcFVHYdToDX/LNt8dBmAMMVBppna wjwsBl6ZuWK/kYqrHLAPFlF9fq8LSMoRQxZ5QpicERc3YUlcYt0bdrwdFtrSYgSV+R+j DoSA== X-Gm-Message-State: ALoCoQlZii3CIRImYzy/HTjqao2uqvJSxXNo95bl+590ISYTJlIc/c4jYBPpHeGZXPnngKwekofr X-Received: by 10.194.104.98 with SMTP id gd2mr12764002wjb.35.1437641242766; Thu, 23 Jul 2015 01:47:22 -0700 (PDT) Received: from [10.16.0.195] (6wind.net2.nerim.net. [213.41.151.210]) by smtp.gmail.com with ESMTPSA id bm9sm26056849wib.10.2015.07.23.01.47.21 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 23 Jul 2015 01:47:22 -0700 (PDT) Message-ID: <55B0AA12.9050809@6wind.com> Date: Thu, 23 Jul 2015 10:47:14 +0200 From: Olivier MATZ User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.7.0 MIME-Version: 1.0 To: Yuichi Nakai , dev@dpdk.org References: <1437573420-16230-1-git-send-email-xoxyuxu@gmail.com> In-Reply-To: <1437573420-16230-1-git-send-email-xoxyuxu@gmail.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH] mempool: fix calculating address of object trailers 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: Thu, 23 Jul 2015 08:47:23 -0000 Hi, On 07/22/2015 03:57 PM, Yuichi Nakai wrote: > __mempool_get_trailer() calculated header's address. > The address of trailer should set after element area. > This patch fixes this calculating. > > This issue was mixed with the following commit: > Fixes: 97e7e685bfcd ("mempool: add structure for object trailers") > > Signed-off-by: Yuichi Nakai Thank you for fixing it. Acked-by: Olivier Matz