From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bruce Richardson Subject: Re: [PATCH] enic: fix misalignment of Rx mbuf data Date: Wed, 4 May 2016 11:22:48 +0100 Message-ID: <20160504102248.GA24996@bricha3-MOBL3> References: <1461725516-7166-1-git-send-email-johndale@cisco.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: dev@dpdk.org To: John Daley Return-path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 951A5592F for ; Wed, 4 May 2016 12:22:52 +0200 (CEST) Content-Disposition: inline In-Reply-To: <1461725516-7166-1-git-send-email-johndale@cisco.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Tue, Apr 26, 2016 at 07:51:56PM -0700, John Daley wrote: > Data DMA used m->data_off of uninitialized mbufs instead of > RTE_PKTMBUF_HEADROOM, potentially causing Rx data to be > placed at the wrong alignment in the mbuf. > > Fixes: 947d860c821f ("enic: improve Rx performance") > Signed-off-by: John Daley > --- > drivers/net/enic/enic_main.c | 5 +++-- > drivers/net/enic/enic_rx.c | 6 ++++-- > 2 files changed, 7 insertions(+), 4 deletions(-) > Applied to dpdk-next-net/rel_16_07 /Bruce