From mboxrd@z Thu Jan 1 00:00:00 1970 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) 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 :content-type; bh=BzNxb9z0/+NHyhXwisK19jtMh16xq8Zyt0q1FFMT91I=; b=ylx/IVC3iXqW9AQeNSVgk3o632TB6uFnAR8xTLVgNef1IvVpEuZhHb2afHmSr2eehv qcBYKdXP1OO1VSmHmQBvyB7q5bLhF6yOzZreswkInXoMkhxy/0G6j7z5pbDT+a2q4Gjs mdn5EU1Yp+4bcoi0YNtrq2KkN7V8wzgBiFOB5akZKPCe0gaZDPu+kfP3KesPlZZpbGHL 2FuvAMXGKgou5SV4psCYOWzf3/3vwnMLU1r1dYJyKmBEWwtFLWJhaM8syAp4/Y4/082f A4Dk7hHO3OcPCOcGo36in+H5/F55MOjkpen9p2D8Y4q6oIGuUi7/TPdFTU8XGNtxK7A8 iE1w== 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:content-type; bh=BzNxb9z0/+NHyhXwisK19jtMh16xq8Zyt0q1FFMT91I=; b=VUISbucyY/JR70Hy9yUH0NdbqOTPBT3CsanwSci+GMR2oebdPP1ILj/tX7eaeIaQH5 pFnW7ZuNyZ1VaohBE/ppcwVdCd63CH/3MsPbNNP4hbgw9U7Xc77vjIeJBweyUJ6zMnrS bTJAT4SauGmvMYqYzBGWkeMTy/xQ+aZoza3EzRBT+OOOoNoSVzF8kicArmSWckY1Ckl4 raxONSHpOSrZ5OwF5SFg4qDJXFwIQb6sFDGUKUqPc0oSvZVgL67gVBJun/vWQ3BLrPqe nED6vZEQQnW5uOz2ifI86EYdPXF/bipbqZMti5vcY08UKH8SCV0N8K2UuqEseNMd5aGQ xxMA== X-Gm-Message-State: ALoCoQmHz1gve1xsUT/ll9OXaSpAsHhVySnBEC3/0KUrjJupjy69197mUsmGm0L/YT1JD48cy9X0so2GHPRZxbCIkUJRqirEaA== X-Received: by 10.28.8.15 with SMTP id 15mr19073259wmi.50.1449456173750; Sun, 06 Dec 2015 18:42:53 -0800 (PST) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by smtp.gmail.com with ESMTPSA id w203sm14282446wmg.15.2015.12.06.18.42.52 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 06 Dec 2015 18:42:53 -0800 (PST) From: Thomas Monjalon To: David Hunt Date: Mon, 07 Dec 2015 03:41:41 +0100 Message-ID: <4260955.yY2EuaCVrV@xps13> Organization: 6WIND User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <1448279148-14283-1-git-send-email-david.hunt@intel.com> References: <1448279148-14283-1-git-send-email-david.hunt@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH] test: fix crash in pmd_perf_test 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: Mon, 07 Dec 2015 02:42:54 -0000 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