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 916A4A04E7; Thu, 5 Nov 2020 19:22:13 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 23D301D9E; Thu, 5 Nov 2020 19:22:12 +0100 (CET) Received: from wout5-smtp.messagingengine.com (wout5-smtp.messagingengine.com [64.147.123.21]) by dpdk.org (Postfix) with ESMTP id 93EEB1D9E for ; Thu, 5 Nov 2020 19:22:09 +0100 (CET) Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.west.internal (Postfix) with ESMTP id C6E28CF3; Thu, 5 Nov 2020 13:22:07 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Thu, 05 Nov 2020 13:22:08 -0500 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=fm2; bh= fX0vvh4Byu6U6mRwhBPiaBpqHEDXsHgTkv1jqVJrfcs=; b=j+rsFTi0E7ydbWEO 5fF32VgnQWD7hnFbSz7QuvZjGe+JMGW//k31lDS7UQhelKWOisIqIsoTwbQ6uJWL 60kLsBGGUe9szNagIGCzlqYkKynW5gN2En2JkwL+50F1gJ3fePTWL6L3MD88grHq +IjEk8K5nyjKBQ5iOZt5dYfATYQy7gh8Il6Y7qzW1U3RqZmaTXMhAdZGl1oFi4by wvdeKsmfPYukz2se9Cs0VBwZPLQ1JxWe73oyaYEjNtZkJu+bhvYlqIOiEfyXIIaY 4gutSnhs7/853gHaFgJShX4y0llp+wConfvNBRgikoODgiHeepsvtMRKxhB4d6es KdOhew== 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=fm1; bh=fX0vvh4Byu6U6mRwhBPiaBpqHEDXsHgTkv1jqVJrf cs=; b=prfmnYWc5xPewAvfkYXZMv1/T5S4ROKGh5FxGhBBlGSTwp0VoEYEr0HSJ vyMtgvWbqpwCzj5FFnt7XT2b5TBHUxWjwKkCn0Pn66Jnmu3rUmxdW95YnZpI0KEP Dgm7M0q9EWR/KPoKO8OcSayW8+NfGLMbcOILZAawrr9zrgeyJL1FkSK0/+bKE8aS g1cO4vwfUIfff+QcN9b8FnaXv/RXQpaOcJcHtW2bra53hAozubR5PivjMVzIxC0z JgIfI2jvo8DtqkxE+Na6j3sjk+DdvVAgO2ONStk9SWrenRgbC0rGYNVr0pAMpDmf XzHkmAvLdgSa3YpyGnd8OJPwO92Aw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedruddtjedgudduvdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefhvffufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhm rghsucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenuc ggtffrrghtthgvrhhnpeffvdffjeeuteelfeeileduudeugfetjeelveefkeejfeeigeeh teffvdekfeegudenucffohhmrghinhepughpughkrdhorhhgnecukfhppeejjedrudefge drvddtfedrudekgeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhl fhhrohhmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvght 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 485843280345; Thu, 5 Nov 2020 13:22:05 -0500 (EST) From: Thomas Monjalon To: Steve Yang Cc: dev@dpdk.org, beilei.xing@intel.com, wenzhuo.lu@intel.com, bernard.iremonger@intel.com, qiming.yang@intel.com, mdr@ashroe.eu, nhorman@tuxdriver.com, andrew.rybchenko@oktetlabs.ru, Ferruh Yigit Date: Thu, 05 Nov 2020 19:22:03 +0100 Message-ID: <6829221.Y3hGaMY48I@thomas> In-Reply-To: <97eae347-ab19-5ad7-6cee-b7f55777b775@intel.com> References: <20201105095151.61052-1-stevex.yang@intel.com> <97eae347-ab19-5ad7-6cee-b7f55777b775@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v1] app/testpmd: fix the overhead overflow issue 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 05/11/2020 15:31, Ferruh Yigit: > On 11/5/2020 9:51 AM, Steve Yang wrote: > > If "dev_info.max_mtu" isn't set by driver, the rte_ethdev will set > > default value "UINT16_MAX", that will cause the overhead value overflow. > > > > Add more strict condition to ensure the overhead valid. > > > > Fixes: bed05536c8f8 ("app/testpmd: fix max Rx packet length for VLAN packets") > > > > Signed-off-by: Steve Yang > > Acked-by: Ferruh Yigit Rejected because causing other issues: http://inbox.dpdk.org/dev/CADyeNEB2610Shzm6QN--wO8wDzg_-QtYuG05=gWrcaA39h0_ww@mail.gmail.com/