From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] net/mlx5: fix buffer address posting in vectorized Rx Date: Thu, 03 Aug 2017 23:19:30 +0200 Message-ID: <4737866.RZ6Dgs1cWW@xps> References: <20170801163520.46022-1-yskoh@mellanox.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, adrien.mazarguil@6wind.com, nelio.laranjeiro@6wind.com To: Yongseok Koh 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) In-Reply-To: <20170801163520.46022-1-yskoh@mellanox.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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