From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <dev-bounces@dpdk.org>
Received: from dpdk.org (dpdk.org [92.243.14.124])
	by inbox.dpdk.org (Postfix) with ESMTP id 242F1A0487
	for <public@inbox.dpdk.org>; Mon, 29 Jul 2019 23:37:36 +0200 (CEST)
Received: from [92.243.14.124] (localhost [127.0.0.1])
	by dpdk.org (Postfix) with ESMTP id 17E931BF54;
	Mon, 29 Jul 2019 23:37:35 +0200 (CEST)
Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com
 [66.111.4.26]) by dpdk.org (Postfix) with ESMTP id 3E3091BF53;
 Mon, 29 Jul 2019 23:37:34 +0200 (CEST)
Received: from compute1.internal (compute1.nyi.internal [10.202.2.41])
 by mailout.nyi.internal (Postfix) with ESMTP id BC99A2227B;
 Mon, 29 Jul 2019 17:37:33 -0400 (EDT)
Received: from mailfrontend1 ([10.202.2.162])
 by compute1.internal (MEProxy); Mon, 29 Jul 2019 17:37:33 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h=
 from:to:cc:subject:date:message-id:in-reply-to:references
 :mime-version:content-transfer-encoding:content-type; s=mesmtp;
 bh=rJ1beZ1rEoFsEJdMH+/DFZTHrxkuOzjKVZLfgfD6cQQ=; b=Eqc6vM7AiRZr
 7E817OarzIhiVNdhUe4guie87eYxPBdSCol5JyeUfU6kLx6Y8hKao/TLSDiKK6lP
 I5UZJk8CYyz1a+pN+2SxEOUXP5sY7GXg95Jy9lsziEmYTU1AaMBklZoUPAx5u2aZ
 GoW/wg5K+WfpNUINBNF8pl6vF7JD3sg=
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-proxy:x-me-proxy:x-me-sender:x-me-sender
 :x-sasl-enc; s=fm3; bh=rJ1beZ1rEoFsEJdMH+/DFZTHrxkuOzjKVZLfgfD6c
 QQ=; b=ilEi9t6+ZBWao65U3sVqukGRpeJUCzjCyfQEMiv27Hi8Z3+ghKj4MgZxW
 ofiJjHSXauMBv5Hy7wdBGAqY0Xk/ZEGvSCjZFxx59LE+bQPVZUA7DOSjDhun8K0l
 Zgh/JOzGKXyGKjXqnB3GNd8AhpRPFO0I296Rlwlx2SNUqL3q0MrM2hKE/Ad9eOVq
 evkTsCjs2aIOhLmTOEcDhYBOYRSzbK/3UqBsnz2YnNZ4aeIbNhpDkR4HlEcAfi+j
 qqhMGafVk6kY1ze35UtzE5qvNBzSBsdDKm34nynMozib2OlIG4eBVr8HBQqSqBBG
 TutqS1/djR9YF0cnhr+0oo3elXzeQ==
X-ME-Sender: <xms:HWc_XTD4Fry8VfpFnPofMM4eTW7f4KG-hI8g0g2zNlmY2yue1PgUeQ>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduvddrledvucetufdoteggodetrfdotffvucfrrh
 hofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgenuceurghi
 lhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurh
 ephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgrshcuofho
 nhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecukfhppeejje
 drudefgedrvddtfedrudekgeenucfrrghrrghmpehmrghilhhfrhhomhepthhhohhmrghs
 sehmohhnjhgrlhhonhdrnhgvthenucevlhhushhtvghrufhiiigvpedt
X-ME-Proxy: <xmx:HWc_XXOsXs4Z0yC0Lhfcq3AgFP94V3xCyiH_FWG4Cxm0EbGXt358EA>
 <xmx:HWc_XWqm0Q85j-WeMPCbjAfEz5oZwlTd2erKBvfpeci83xwZ9bpGug>
 <xmx:HWc_XeL576gtqz1Xm3t_oxiynPT-eGGaxGcBaMkjVQf_P6ZHCh-mBw>
 <xmx:HWc_XSxXKixhxcrRG6_l3NYGJCmQXQF_euJuX_dkHk0AKjtCW4WDpA>
Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184])
 by mail.messagingengine.com (Postfix) with ESMTPA id 4864380060;
 Mon, 29 Jul 2019 17:37:32 -0400 (EDT)
From: Thomas Monjalon <thomas@monjalon.net>
To: David Marchand <david.marchand@redhat.com>
Cc: stable@dpdk.org, "Iremonger, Bernard" <bernard.iremonger@intel.com>,
 "dev@dpdk.org" <dev@dpdk.org>,
 "olivier.matz@6wind.com" <olivier.matz@6wind.com>, "Lu,
 Wenzhuo" <wenzhuo.lu@intel.com>, "Wu, Jingjing" <jingjing.wu@intel.com>
Date: Mon, 29 Jul 2019 23:37:31 +0200
Message-ID: <2157048.xqv7MYooJe@xps>
In-Reply-To: <8CEF83825BEC744B83065625E567D7C260DD3D34@IRSMSX108.ger.corp.intel.com>
References: <1563965936-1098-1-git-send-email-david.marchand@redhat.com>
 <8CEF83825BEC744B83065625E567D7C260DD3D34@IRSMSX108.ger.corp.intel.com>
MIME-Version: 1.0
Content-Transfer-Encoding: 7Bit
Content-Type: text/plain; charset="us-ascii"
Subject: Re: [dpdk-dev] [dpdk-stable] [PATCH] app/testpmd: fix eth packet
	dump for small buffers
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
Errors-To: dev-bounces@dpdk.org
Sender: "dev" <dev-bounces@dpdk.org>

> > In the rather unlikely case where the first segment is too small to contain an
> > ethernet header, we can't go and directly dereference the mbuf data buffer.
> > 
> > Using rte_pktmbuf_read is a little more expensive but this is still acceptable
> > for a debugging feature.
> > 
> > Fixes: af75078fece3 ("first public release")
> > Cc: stable@dpdk.org
> > 
> > Signed-off-by: David Marchand <david.marchand@redhat.com>
> 
> Acked-by: Bernard Iremonger <bernard.iremonger@intel.com>

Applied, thanks