Date: Thu, 14 May 2015 13:12:38 -0700 From: Andrew Gallatin <gallatin@cs.duke.edu> To: Hans Petter Selasky <hps@selasky.org>, Robert Watson <rwatson@FreeBSD.org>, Mateusz Guzik <mjguzik@gmail.com> Cc: Gleb Smirnoff <glebius@FreeBSD.org>, Ian Lepore <ian@freebsd.org>, src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r280971 - in head: contrib/ipfilter/tools share/man/man4 sys/contrib/ipfilter/netinet sys/netinet sys/netipsec sys/netpfil/pf Message-ID: <555501B6.5080106@cs.duke.edu> In-Reply-To: <551D8945.8050906@selasky.org> References: <201504012226.t31MQedN044443@svn.freebsd.org> <1427929676.82583.103.camel@freebsd.org> <20150402123522.GC64665@FreeBSD.org> <20150402133751.GA549@dft-labs.eu> <20150402134217.GG64665@FreeBSD.org> <20150402135157.GB549@dft-labs.eu> <1427983109.82583.115.camel@freebsd.org> <20150402142318.GC549@dft-labs.eu> <20150402143420.GI64665@FreeBSD.org> <20150402153805.GD549@dft-labs.eu> <alpine.BSF.2.11.1504021657440.27263@fledge.watson.org> <551D8143.4060509@selasky.org> <551D8945.8050906@selasky.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 04/02/2015 11:24 AM, Hans Petter Selasky wrote: > If we are transmitting using TSO, will the network adapter increment the > IP ID field somehow? What happens if an outgoing IP packet resulting Sorry for the delayed reply; I was just catching up on FreeBSD email, and I'm not sure that the above question was ever answered. The NIC is *required* to increment the IP ID by the Microsoft NDIS LSO spec. As I recall, this is checked for by WHQL tests. So any NIC whose vendor ships Windows drivers & supports TSO should be incrementing the IP ID. Even vendors who do not ship Windows drivers often refer to these NDIS specs, since they are the best documentation of many stateless offloads. Also note that NICs which support the "newer" LSOv2 spec only use the lower 15 bits of the IP ID space. See: "Offloading the Segmentation of Large TCP Packets" at https://msdn.microsoft.com/en-us/library/windows/hardware/ff568840(v=vs.85).aspx Best regards, Drew
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?555501B6.5080106>