DPDK usage discussions
 help / color / mirror / Atom feed
From: William Herrin <bill@herrin.us>
To: "N. Benes" <nbenes@eso.org>
Cc: users@dpdk.org
Subject: Re: [dpdk-users] checksums?
Date: Fri, 5 Apr 2019 13:52:35 -0700	[thread overview]
Message-ID: <CAP-guGUxgro0GLauDHzyr400bi0G_0RgubupTzO4TuHB7mespQ@mail.gmail.com> (raw)
In-Reply-To: <59ccc981-0231-afd4-5717-45fbaff09644@eso.org>

On Fri, Apr 5, 2019 at 2:31 AM N. Benes <nbenes@eso.org> wrote:
> William Herrin:
> > Which I understand to mean that +0 (0x0000) is a legal value in an IPv4
> > checksum field, but -0 (0xffff) is not.
> >
> > Is this a bug?
>
> Related threads:
>
> https://mails.dpdk.org/archives/users/2019-March/004021.html
> https://mails.dpdk.org/archives/dev/2019-April/128473.html

Ah, my google-fu failed me. Thanks for the refs!

So it is a bug and Olivier Matz is writing a patch. Few receivers stumble
when presented with -0 as a checksum so it shouldn't be causing much of a
problem but I did stumble across this long-ago conversation:

https://mailarchive.ietf.org/arch/msg/ietf/2EZyjq9tiQvyfyAXgPMKQ7MtToU
https://mailarchive.ietf.org/arch/msg/ietf/36lReuBvahPjxVTth1wpm7kt7zs

Regards,
Bill Herrin


--
William Herrin ................ herrin@dirtside.com  bill@herrin.us
Dirtside Systems ......... Web: <http://www.dirtside.com/>

      reply	other threads:[~2019-04-05 20:52 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-05  1:29 William Herrin
2019-04-05  9:31 ` N. Benes
2019-04-05 20:52   ` William Herrin [this message]

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=CAP-guGUxgro0GLauDHzyr400bi0G_0RgubupTzO4TuHB7mespQ@mail.gmail.com \
    --to=bill@herrin.us \
    --cc=nbenes@eso.org \
    --cc=users@dpdk.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).