From: Martin Weiser <martin.weiser@allegro-packets.com>
To: "Van Haaren, Harry" <harry.van.haaren@intel.com>,
"dev@dpdk.org" <dev@dpdk.org>
Subject: Re: ixgbe: ierrors counter spuriously increasing in DPDK 2.1
Date: Wed, 4 Nov 2015 17:29:04 +0100 [thread overview]
Message-ID: <563A3250.8000504@allegro-packets.com> (raw)
In-Reply-To: <E923DB57A917B54B9182A2E928D00FA61282B73A@IRSMSX102.ger.corp.intel.com>
On 04.11.15 16:54, Van Haaren, Harry wrote:
>> From: Martin Weiser [mailto:martin.weiser@allegro-packets.com]
>> Subject: Re: [dpdk-dev] ixgbe: ierrors counter spuriously increasing in DPDK 2.1
>> The
>> rx-error which showed up immediately after starting the interface is
>> gone since this was probably caused by mac_remote_errors.
> Improvement - that's good.
>
>> 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.
> That is useful information, good to know that statistic is the root cause.
>
>> 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).
> Yes indeed checksum calculation for UDP is optional, and should be set to zero when not performed.
>
>> 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.
> So this is a ixgbe bug, and listed in the errata, item 43 "Integrity Error Reported for IPv4/UDP Packets with Zero Checksum" in http://www.intel.com/content/dam/www/public/us/en/documents/specification-updates/82599-10-gbe-controller-spec-update.pdf
>
>> 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?
> Agreed. I've sent a patch that removes "xec", the register name for l3_l4_xsum_errors:
> http://dpdk.org/dev/patchwork/patch/8678/
>
> Would you test it please? -Harry
I have tested the patch and now everything looks good.
Best regards, Martin
next prev parent reply other threads:[~2015-11-04 16:29 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-21 8:38 ixgbe: ierrors counter spuriously increasing in DPDK 2.1 Martin Weiser
2015-10-21 15:53 ` Andriy Berestovskyy
2015-10-22 7:46 ` Martin Weiser
2015-10-22 10:56 ` Andriy Berestovskyy
2015-11-02 17:32 ` Van Haaren, Harry
2015-11-04 9:10 ` Martin Weiser
2015-11-04 15:50 ` [PATCH] ixgbe: remove l3_l4_xsum_errors from rx errors Harry van Haaren
2015-11-04 16:08 ` Thomas Monjalon
2015-11-04 15:54 ` ixgbe: ierrors counter spuriously increasing in DPDK 2.1 Van Haaren, Harry
2015-11-04 16:29 ` Martin Weiser [this message]
2015-11-04 16:14 ` [PATCH v2] ixgbe: remove l3_l4_xsum_errors from rx errors Harry van Haaren
2015-11-04 16:57 ` Thomas Monjalon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=563A3250.8000504@allegro-packets.com \
--to=martin.weiser@allegro-packets.com \
--cc=dev@dpdk.org \
--cc=harry.van.haaren@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.