Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Jun 2015 18:45:37 -0400 (EDT)
From:      Rick Macklem <rmacklem@uoguelph.ca>
To:        freebsd-net <freebsd-net@freebsd.org>
Subject:   setting if_hw_tsomax{segcount, segsize} in net drivers
Message-ID:  <597381612.53959816.1433803537015.JavaMail.root@uoguelph.ca>

next in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?597381612.53959816.1433803537015.JavaMail.root>