Date: Wed, 20 Sep 2006 11:46:28 -0700 From: John-Mark Gurney <gurney_j@resnet.uoregon.edu> To: David Malone <dwmalone@maths.tcd.ie> Cc: src-committers@freebsd.org, John Baldwin <jhb@freebsd.org>, cvs-all@freebsd.org, cvs-src@freebsd.org, Jung-uk Kim <jkim@freebsd.org> Subject: Re: cvs commit: src/sys/dev/bge if_bge.c Message-ID: <20060920184628.GH23915@funkthat.com> In-Reply-To: <20060920085236.GA58179@walton.maths.tcd.ie> References: <200609182218.k8IMIMUT059300@repoman.freebsd.org> <200609191431.01649.jkim@FreeBSD.org> <20060919190449.GC720@turion.vk2pj.dyndns.org> <200609191535.08184.jkim@FreeBSD.org> <20060920072626.GA738@turion.vk2pj.dyndns.org> <20060920085236.GA58179@walton.maths.tcd.ie>
next in thread | previous in thread | raw e-mail | index | archive | help
David Malone wrote this message on Wed, Sep 20, 2006 at 09:52 +0100: > (It's interesting to note that as ethernet cards introduce more > features it is getting harder for us to tell what we put on the > wire. With checksum offloading we can no longer trust the checksum. > With VLAN tagging we can't trust the VLAN tag. With TSO we can't > trust the IP ID, TCP sequence number, TCP timestamps, ... We've > seen some interesting things on Linux recently because with TSO the > RTT esitmation for TCP doesn't work at all the way you expect.) That lends itself, to providing additional data w/ the bpf call, and leaving the data passed to the network card as is... that means w/ TSO, bpf will get a 64k or so sized piece of data... Trying to have the bpf injection code do the spliting, etc, is just complicated... The problem w/ doing it this way means that there will be lots of metadata that needs to be added, (such as the mtu that we told the card to break the packets down to) breaking many tools.. -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060920184628.GH23915>