From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by dpdk.org (Postfix) with ESMTP id 959732C18 for ; Thu, 3 Aug 2017 23:19:32 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 3C184208CB; Thu, 3 Aug 2017 17:19:32 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute1.internal (MEProxy); Thu, 03 Aug 2017 17:19:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=GkOAuL5iJKSsBgt f2XBVOQSFKkhmwlNQWIYqBST/GaQ=; b=js+oGQFrh6obl55og/BTFvBSyxTNeOe HOG+1f4nmJAPczeSUWV3da+wFluwmsuRLLHuiS54IuXC6bxW2+7gVWs+e5KPyLec oVnGilQu7BeK4N7q/lodKYetNk9aaxs+2cKR/hdjNeMpkgFDqUN5CeQtM6dKPWz2 Iq0+JOV+jHg4= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s= fm1; bh=GkOAuL5iJKSsBgtf2XBVOQSFKkhmwlNQWIYqBST/GaQ=; b=lYNQ99KP DCNtG4NnULz3jNb9h+sLqXD3Uw5w0SjEuvRJ+lN2bqI45iW15kkzCAzam6Fa0YRh O9zfkqma9eHBjQyJxsWuaSkd/4DatadpRmdL3g37ZBMZeC0btJnh6ZwfUV0XpLqa PArHcPDxneGlYQ5mYCTWT6sPRbCnIz/GGfYJYdwPAiUNEPK7XC0a2g6BCMvRD3TR wOE9QglgcBdClkk0IinqrC9i5kOGOKL4oO7YFzNj2FOz3v++cb/MUDjfrQJSR6gy oUuy8lIxQqXsd7DOLgVSBq96O97vsUv2TEGC7txfs8DMQ5LnPdrrRorcINKKsIkE Y+38XKqxWFfMiQ== X-ME-Sender: X-Sasl-enc: +cOVUnEfxY/ZB1ChG0DINUfX+4jj6HKO5okjEBmZkpC8 1501795171 Received: from xps.localnet (196.114.118.80.rev.sfr.net [80.118.114.196]) by mail.messagingengine.com (Postfix) with ESMTPA id CB904244AA; Thu, 3 Aug 2017 17:19:31 -0400 (EDT) From: Thomas Monjalon To: Yongseok Koh Cc: dev@dpdk.org, adrien.mazarguil@6wind.com, nelio.laranjeiro@6wind.com Date: Thu, 03 Aug 2017 23:19:30 +0200 Message-ID: <4737866.RZ6Dgs1cWW@xps> In-Reply-To: <20170801163520.46022-1-yskoh@mellanox.com> References: <20170801163520.46022-1-yskoh@mellanox.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] net/mlx5: fix buffer address posting in vectorized Rx X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Aug 2017 21:19:32 -0000 01/08/2017 18:35, Yongseok Koh: > The data_off field of newly allocated mbufs is stale data. This shouldn't > be used in calculating Rx address for device when posting free buffers. > RTE_PKTMBUF_HEADROOM should be used instead and data_off of a mbuf will be > reset on packet reception anyway. > > Fixes: 6cb559d67b83 ("net/mlx5: add vectorized Rx/Tx burst for x86") > > Signed-off-by: Yongseok Koh > Acked-by: Nelio Laranjeiro Applied, thanks