From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ig0-f173.google.com (mail-ig0-f173.google.com [209.85.213.173]) by dpdk.org (Postfix) with ESMTP id 0783493BC for ; Thu, 22 Oct 2015 12:56:25 +0200 (CEST) Received: by igbkq10 with SMTP id kq10so118116076igb.0 for ; Thu, 22 Oct 2015 03:56:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf_com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=QiAIv/rYzwWGjpstCF73kMICx6/6n3lieqWl/H20RSA=; b=N20PsWYSRjN6nUAXwC/RxnmqccyTkwpfJWMmF4sDTshCYcnh5koFUQ0qmMPxZFC8Ag 8WW19kfZfwWe9ttBoFaxsKmyngdFxDZfWRVyAZZ/TmWfa8in/Iya3fQFO1Aifd9wWfRn vJv++eIqQFfYYYml/yCD5toiR31Zb0y0JMvgsOIkiIFBO2Z1Pzb6lFSZLzUaKhNX5axG Q3pc6ryDLHwNgaOHcMtI8AAGHRwvswFAiRe+ExHiL2w/WpkoTMEeJCExvqrA0nI/jpaR tptM9dwAhS/zNaMZggVJ3Z853t2quPiduZsKAcT53Qq6MeUApbSPk+4xq8tjCxfyO4YV 8urw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=QiAIv/rYzwWGjpstCF73kMICx6/6n3lieqWl/H20RSA=; b=EAAVY3KCfgy5ZmsYA/bu0rLGicpqo/gCXBcHX0cXqtjnYMKKRRiRv9fXzocAgmu+yj SDwsNIlNAGRZP48IhbH1PI5SuwW1Ajp6wT1qRXS7nA6coQKmjL5ZJE+j1/vR4HGkwxWB denPB6TNvDXLqhh6L7CuVpTzmggNhlHEyE1W0CFYCh3kA9Y5A75Lh5hjLiTJyLHQut74 h6uXN1HxwO2tf10M5WXEqZUQso2w+b3++Q2vPDjyiJQZYbhXqK08SFehdqJaZNwqPEiz ZYVoSLbglmYKYyeO97Hp+bYTkfn8PAkkQWJbw10/C6c0TGee4jiYDu1DFCGPy3oSUsm3 fN9A== X-Gm-Message-State: ALoCoQlC3I37b9P7j+HyG6GrO3LQ6ciuUfx/wDMEHXpKm3Bnuf94jqYP8lPM0ck14jthibaM2gy5 X-Received: by 10.50.124.8 with SMTP id me8mr16057311igb.92.1445511384370; Thu, 22 Oct 2015 03:56:24 -0700 (PDT) MIME-Version: 1.0 Received: by 10.64.16.166 with HTTP; Thu, 22 Oct 2015 03:56:05 -0700 (PDT) In-Reply-To: <5628943D.80401@allegro-packets.com> References: <56274EFE.5040706@allegro-packets.com> <5628943D.80401@allegro-packets.com> From: Andriy Berestovskyy Date: Thu, 22 Oct 2015 12:56:05 +0200 Message-ID: To: Martin Weiser Content-Type: text/plain; charset=UTF-8 Cc: dev@dpdk.org 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: Thu, 22 Oct 2015 10:56:25 -0000 Hi Martin, We agreed on the main point: it's an issue. IMO the implementation details are up to Maryam. There have been few patches, so I guess it will be fixed in 2.2. Andriy On Thu, Oct 22, 2015 at 9:46 AM, Martin Weiser wrote: > Hi Andriy, > > thank you for pointing this discussion out to me. I somehow missed it. > Unfortunately it looks like the discussion stopped after Maryam made a > good proposal so I will vote in on that and hopefully get things started > again. > > Best regards, > Martin > > > > On 21.10.15 17:53, Andriy Berestovskyy wrote: >> Yes Marcin, >> The issue was discussed here: >> http://dpdk.org/ml/archives/dev/2015-September/023229.html >> >> You can either fix the ierrors in ixgbe_dev_stats_get() or implement a >> workaround in your app getting the extended statistics and counting >> out some of extended counters from the ierrors. >> >> Here is an example: >> https://github.com/Juniper/contrail-vrouter/commit/72f6ca05ac81d0ca5e7eb93c6ffe7a93648c2b00#diff-99c1f65a00658c7d38b3d1b64cb5fd93R1306 >> >> Regards, >> Andriy >> >> On Wed, Oct 21, 2015 at 10:38 AM, Martin Weiser >> wrote: >>> Hi, >>> >>> 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 the >>> device: >>> >>> ./testpmd -c 0xfe -n 4 -- --portmask 0x3 --interactive >>> ... >>> testpmd> show port stats all >>> >>> ######################## NIC statistics for port 0 ######################## >>> RX-packets: 0 RX-missed: 0 RX-bytes: 0 >>> RX-badcrc: 0 RX-badlen: 0 RX-errors: 1 >>> RX-nombuf: 0 >>> TX-packets: 0 TX-errors: 0 TX-bytes: 0 >>> ############################################################################ >>> >>> ######################## NIC statistics for port 1 ######################## >>> RX-packets: 0 RX-missed: 0 RX-bytes: 0 >>> RX-badcrc: 0 RX-badlen: 0 RX-errors: 1 >>> RX-nombuf: 0 >>> TX-packets: 0 TX-errors: 0 TX-bytes: 0 >>> ############################################################################ >>> >>> >>> When packet forwarding is started the ports perform normally and >>> properly forward all packets but a huge number of ierrors is counted: >>> >>> testpmd> start >>> ... >>> testpmd> show port stats all >>> >>> ######################## NIC statistics for port 0 ######################## >>> RX-packets: 9011857 RX-missed: 0 RX-bytes: 5020932992 >>> RX-badcrc: 0 RX-badlen: 0 RX-errors: 9011753 >>> RX-nombuf: 0 >>> TX-packets: 9026250 TX-errors: 0 TX-bytes: 2922375542 >>> ############################################################################ >>> >>> ######################## NIC statistics for port 1 ######################## >>> RX-packets: 9026250 RX-missed: 0 RX-bytes: 2922375542 >>> RX-badcrc: 0 RX-badlen: 0 RX-errors: 9026138 >>> RX-nombuf: 0 >>> TX-packets: 9011857 TX-errors: 0 TX-bytes: 5020932992 >>> ############################################################################ >>> >>> >>> When running the exact same test with DPDK version 2.0 no ierrors are >>> reported. >>> Is anyone else seeing strange ierrors being reported for Intel Niantic >>> cards with DPDK 2.1? >>> >>> Best regards, >>> Martin >>> >> >> > > -- Andriy Berestovskyy