Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Mar 2015 14:59:16 +0200
From:      Hans Petter Selasky <hps@selasky.org>
To:        Gleb Smirnoff <glebius@FreeBSD.org>
Cc:        Adrian Chadd <adrian@freebsd.org>, "src-committers@freebsd.org" <src-committers@freebsd.org>, Ian Lepore <ian@freebsd.org>, "svn-src-all@freebsd.org" <svn-src-all@freebsd.org>, "svn-src-head@freebsd.org" <svn-src-head@freebsd.org>, Fabien Thomas <fabient@freebsd.org>
Subject:   Re: svn commit: r280759 - head/sys/netinet
Message-ID:  <551948A4.1070408@selasky.org>
In-Reply-To: <20150330125115.GI64665@FreeBSD.org>
References:  <20150328191629.GY64665@FreeBSD.org> <5517B433.5010508@selasky.org> <CAJ-VmonU15_nEGVQNwR52deDf1TbPUz0oAMr%2B3zwNqU_9%2Bo1fw@mail.gmail.com> <20150329210757.GA64665@FreeBSD.org> <1427666182.82583.4.camel@freebsd.org> <55190EA7.9010905@selasky.org> <20150330105913.GF64665@FreeBSD.org> <551933AF.4080300@selasky.org> <20150330120700.GH64665@FreeBSD.org> <551943B4.90102@selasky.org> <20150330125115.GI64665@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 03/30/15 14:51, Gleb Smirnoff wrote:
>    Hans,
>

Gleb: Can you answer my question first:

Should the 16-bit IP ID field carry any useful information or not?

> On Mon, Mar 30, 2015 at 02:38:12PM +0200, Hans Petter Selasky wrote:
> H> > DELAY() into network stack? Are you serious now or kidding me?
> H>
> H> If there should be any useful meaning in the 16-bit IP ID field, the
> H> value can't be allowed to wrap several times in a millisecond. Given the
> H> context from where the network code is running, msleep() is not an
> H> option. A _conditional_ DELAY() of 1-2 us, is maybe all we need to
> H> prevent the value from wrapping too quickly. It is not perfect and it is
> H> indeed consuming more CPU.
>
> Let me ask again: are you serious? Do you suggest to delay transmitting
> network packets with a DELAY()?
>
> H> Or maybe we can add an IPv4 option to escape a 32-bit IP ID field and
> H> don't use the 16-bit IP ID field.
>
> Is that also serious? Do you suggest to change layout of IP packet?
>

--HPS



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?551948A4.1070408>