From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 99686A0487 for ; Mon, 29 Jul 2019 23:37:37 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 590A91BF86; Mon, 29 Jul 2019 23:37:37 +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: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduvddrledvucetufdoteggodetrfdotffvucfrrh hofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgenuceurghi lhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurh ephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgrshcuofho nhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecukfhppeejje drudefgedrvddtfedrudekgeenucfrrghrrghmpehmrghilhhfrhhomhepthhhohhmrghs sehmohhnjhgrlhhonhdrnhgvthenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: 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 To: David Marchand Cc: stable@dpdk.org, "Iremonger, Bernard" , "dev@dpdk.org" , "olivier.matz@6wind.com" , "Lu, Wenzhuo" , "Wu, Jingjing" 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-stable] [PATCH] app/testpmd: fix eth packet dump for small buffers X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" > > 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 > > Acked-by: Bernard Iremonger Applied, thanks