From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtprelay04.ispgateway.de (smtprelay04.ispgateway.de [80.67.31.32]) by dpdk.org (Postfix) with ESMTP id AD2548E91 for ; Wed, 4 Nov 2015 10:10:34 +0100 (CET) Received: from [87.172.149.111] (helo=nb-martin.allegro) by smtprelay04.ispgateway.de with esmtpsa (TLSv1.2:DHE-RSA-AES128-SHA:128) (Exim 4.84) (envelope-from ) id 1Ztu5R-0004SZ-NS; Wed, 04 Nov 2015 10:10:33 +0100 From: Martin Weiser To: "Van Haaren, Harry" , "dev@dpdk.org" References: <56274EFE.5040706@allegro-packets.com> X-Enigmail-Draft-Status: N1010 Message-ID: <5639CB88.7040108@allegro-packets.com> Date: Wed, 4 Nov 2015 10:10:32 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Df-Sender: bWFydGluLndlaXNlckBhbGxlZ3JvLXBhY2tldHMuY29t Subject: Re: [dpdk-dev] ixgbe: ierrors counter spuriously increasing in DPDK 2.1 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: Wed, 04 Nov 2015 09:10:34 -0000 Hi Harry, first of all thank you for your effort. I have done some test with the current master (which includes you patch). It improves the situation but does not fix it entirely. The rx-error which showed up immediately after starting the interface is gone since this was probably caused by mac_remote_errors. But we still see a huge number of rx-errors although all packets are received properly and when looking at the extended stats those come from the rx_l3_l4_xsum_error counter. In our setup we are dealing with lots of UDP traffic which does have the UDP checksum set to 0 (which to my knowledge is allowed for UDP). This traffic seems to cause those rx_l3_l4_xsum_errors. When doing the same test with other NICs (e.g. XL710) no rx-errors are accounted. For the generic stats interface I would prefer only packets that could not be received to be accounted in the rx-error counter regardless of the actual NIC. What do you think? Regards, Martin On 02.11.15 18:32, Van Haaren, Harry wrote: >> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Martin Weiser >> Sent: Wednesday, October 21, 2015 9:38 AM >> To: dev@dpdk.org >> Subject: [dpdk-dev] ixgbe: ierrors counter spuriously increasing in DP= DK 2.1 >> with DPDK 2.1 we are seeing the ierrors counter increasing for 82599ES= >> ports without reason. Even directly after starting test-pmd the error >> counter immediately is 1 without even a single packet being sent to th= e >> device > Hi Martin, > > To dig up an old thread - I've recently experienced similar issues that= the rx error count increases on 82599, so I dug into the sources and rea= lized that the MAC fault counters were being added to the rx error count.= > > The following patch removes the MAC local and remote fault counts from = rx errors, and this has fixed the issue here: > http://dpdk.org/dev/patchwork/patch/8525/ > > If this issue is still open perhaps try the patch and see if it improve= s the situation. > > On a related note, I'm currently implementing extended statistics for i= xgbe, which showed me that the MAC faults were the root cause of the rx i= ncrease in my case. > > -Harry