Date: Tue, 9 Jun 2015 11:10:13 -0300 From: Christopher Forgeron <csforgeron@gmail.com> To: Rick Macklem <rmacklem@uoguelph.ca> Cc: freebsd-net <freebsd-net@freebsd.org> Subject: Re: setting if_hw_tsomax{segcount, segsize} in net drivers Message-ID: <CAB2_NwDNGFPOiroSyNQfzrxoJEW3bm8FpN9mePpqvuQub_-R8g@mail.gmail.com> In-Reply-To: <597381612.53959816.1433803537015.JavaMail.root@uoguelph.ca> References: <597381612.53959816.1433803537015.JavaMail.root@uoguelph.ca>
next in thread | previous in thread | raw e-mail | index | archive | help
Thanks for keeping up on this Rick. TSO needs to be fixed on FreeBSD, but it does not seem to be a hot-button topic. I still suffer from TSO issues, and thus turn it off in a standard build - but I noticed that machines that were VMWare 5.1-6.0, running the vmx driver, they did not have problems if TSO was on. I dug into the source far enough to see that vmx doesn't look to allocate more than a 4k mbuf unlike ixgeb/others, but I didn't test/dig further. On Mon, Jun 8, 2015 at 7:45 PM, Rick Macklem <rmacklem@uoguelph.ca> wrote: > Hi, > > I just looked at stable/10 and found the following 4 drivers have > set the if_hw_tsomax, if_hw_tsomaxsegcount and if_hw_tsomaxsegsize > fields: > > ./xen/netfront/netfront.c > ./cxgbe/t4_main.c > ./oce/oce_if.c > ./vmware/vmxnet3/if_vmx.c > > If you are the author/maintainer for a network device driver that does > TSO and is not on the above list...please, please fill in the above > fields before the call to ether_ifattach(), so that TSO will hopefully > work correctly with NFS/iSCSI. (I said "hopefully" because there might > be other bugs related to TSO in your driver that I wouldn't know about.) > > Maybe someone could mention this at BSDCan too? > > Thanks in advance for doing this, rick > ps: I would be really nice to get this done for 10.2 imho. > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAB2_NwDNGFPOiroSyNQfzrxoJEW3bm8FpN9mePpqvuQub_-R8g>