From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f50.google.com (mail-wm0-f50.google.com [74.125.82.50]) by dpdk.org (Postfix) with ESMTP id 356275597 for ; Fri, 25 Mar 2016 19:26:02 +0100 (CET) Received: by mail-wm0-f50.google.com with SMTP id p65so33511167wmp.1 for ; Fri, 25 Mar 2016 11:26:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:organization:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=KR51JP7Ju4qbpFUlrERN2uI+IaCJh4NqQZAN4YWsN50=; b=KLhwb17ZYPD/WABEsJPAvbMLqiNcwIHFX85C0uNLoDfWLu6M2aEILPBv0oMDyHuKJy 5u/zhZIbrP08AXDs5Rr2/4SBtvfchYhoD3fY1J9J0Xh3G3idxlLkeh1r7qG3Kg8Gp+2Z KIiL0eMuvbg38GK6yTITv5z81LUt5e1CIcp3U+9zuMRW1PkTdxjA0KzGSJDS2HoKwuzh auZl11/ae1bicmFu6d6m8fZ42GEjw9vJcMcIJHxnqG9azrqp5DvNJKl7eO8JoUb0J6SW RB1b3lezoeKPc/dd+OO/zchtFAGc9Mb6G+104tMyHoKXamSOA/lvMVXfZhcmROhwtQ5q GCgQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding; bh=KR51JP7Ju4qbpFUlrERN2uI+IaCJh4NqQZAN4YWsN50=; b=RnZn3ffcgkUUy8kEfDmB9YReUhkTV8QDd3Ugl9iTuJrOqT9tfN2q2AkloJqNMjULbI 5g0gjQPcgpAFFTPPxA74cjHdD3vhqK7/cZGZ2ME3I4WSpi+pxb2OdPKmAZv36+d7z9fa zZQw3xGfi9hSAS7qQoeo2lqwv2iIYO3kkIsc6lOLm8/SLTthcHI2KkC7l6sFAJRxyBBF 4LoBFnadn/JBCNkrrLyJ7ckYR1wzUuf1LgFa9W6/OI/IYJthcQ7AyANFEghuSRhqyekp carIs/NtzdznpiivrgPMScQigNVhgYjLdU+7zPebzToz4dJOL+z2wEaCYCKiBZJnqT16 gU7g== X-Gm-Message-State: AD7BkJIt9ORVdhrGVKLntMjJPMhfKYoI56bJWC4yw1nBqnPuvG9W+EoagBI3c6Gv4w4DKIJn X-Received: by 10.28.68.136 with SMTP id r130mr40491728wma.28.1458930362084; Fri, 25 Mar 2016 11:26:02 -0700 (PDT) Received: from xps13.localnet (91.111.75.86.rev.sfr.net. [86.75.111.91]) by smtp.gmail.com with ESMTPSA id m202sm4163565wma.7.2016.03.25.11.26.01 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 25 Mar 2016 11:26:01 -0700 (PDT) From: Thomas Monjalon To: Jianfeng Tan Cc: dev@dpdk.org, konstantin.ananyev@intel.com, helin.zhang@intel.com, bruce.richardson@intel.com Date: Fri, 25 Mar 2016 19:24:15 +0100 Message-ID: <2073615.12ioEhNyJW@xps13> Organization: 6WIND User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <1458866867-39582-3-git-send-email-jianfeng.tan@intel.com> References: <1456795416-118189-1-git-send-email-jianfeng.tan@intel.com> <1458866867-39582-1-git-send-email-jianfeng.tan@intel.com> <1458866867-39582-3-git-send-email-jianfeng.tan@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v4 2/3] examples/l3fwd: fix using packet type blindly X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Mar 2016 18:26:02 -0000 2016-03-25 08:47, Jianfeng Tan: > +* **examples/vhost: Fixed frequent mbuf allocation failure.** > + > + vhost-switch often fails to allocate mbuf when dequeue from vring because it > + wrongly calculates the number of mbufs needed. Wrong rebase here ;) > +* **examples/l3fwd: Fixed using packet type blindly.** > + > + l3fwd makes use of packet type information without even query if devices or PMDs > + really set it. For those don't set ptypes, add an option to parse it softly.