From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] test: fix crash in pmd_perf_test Date: Mon, 07 Dec 2015 03:41:41 +0100 Message-ID: <4260955.yY2EuaCVrV@xps13> References: <1448279148-14283-1-git-send-email-david.hunt@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: David Hunt Return-path: Received: from mail-wm0-f47.google.com (mail-wm0-f47.google.com [74.125.82.47]) by dpdk.org (Postfix) with ESMTP id D4BC09420 for ; Mon, 7 Dec 2015 03:42:53 +0100 (CET) Received: by wmww144 with SMTP id w144so123417080wmw.1 for ; Sun, 06 Dec 2015 18:42:53 -0800 (PST) In-Reply-To: <1448279148-14283-1-git-send-email-david.hunt@intel.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" 2015-11-23 11:45, David Hunt: > Fix crash in pmd_perf_test autotest (div by 0) when no packets received > Also fixes the fact that the test passes even if exec_burst fails > > To repeat the issue: > The system must be incorrectly set up so that all packets will be lost, > i.e. no loopback cable, etc. This is an edge case, but still the test > should not crash or pass when failing. > run the test app > RTE>> set_rxtx_sc poll_before_xmit > RTE>> pmd_perf_autotest > --snip-- > > Generate 4096 packets @socket 1 > > start to receive total expect 4096 > > 4096 packets lost, IDLE 10000 times > > Floating point exception (core dumped) > > Signed-off-by: David Hunt Applied, thanks