84759d46ef
structures. This simplifies mbuf copy operation to USB buffers as well as improving readability. The controller supports Microsoft LSOv1(aka TSO) but this change set does not include the support due to copying overhead to USB buffers and large amount of memory waste. Remove useless ZLP padding which seems to come from Linux. Required bits the code tried to set was not copied into USB buffer so it had no effect. Unlike Linux, FreeBSD USB stack automatically generates ZLP so no explicit padding is required in driver.[1] Micro-optimize updating IFCOUNTER_OPACKETS counter by moving it out of TX loop since updating counter is not cheap operation as it did long time ago and we already know how many number of packets were queued after exiting the loop. While here, fix a checksum offloading bug which will happen when upper stack computes checksum while H/W checksum offloading is active. The controller should be notified to not recompute the checksum in this case. Reviewed by: kevlo (initial version), hselasky Pointed out by: hselasky [1] |
||
---|---|---|
.. | ||
if_aue.c | ||
if_auereg.h | ||
if_axe.c | ||
if_axereg.h | ||
if_axge.c | ||
if_axgereg.h | ||
if_cdce.c | ||
if_cdcereg.h | ||
if_cue.c | ||
if_cuereg.h | ||
if_ipheth.c | ||
if_iphethvar.h | ||
if_kue.c | ||
if_kuefw.h | ||
if_kuereg.h | ||
if_mos.c | ||
if_mosreg.h | ||
if_rue.c | ||
if_ruereg.h | ||
if_smsc.c | ||
if_smscreg.h | ||
if_udav.c | ||
if_udavreg.h | ||
if_ure.c | ||
if_urereg.h | ||
if_urndis.c | ||
if_urndisreg.h | ||
if_usie.c | ||
if_usievar.h | ||
ruephy.c | ||
ruephyreg.h | ||
uhso.c | ||
usb_ethernet.c | ||
usb_ethernet.h |