Thanks Michael !

It really does improves the speed, great :-).

Unfortunately, I am seeing about once a day a panic (uvm_fault) and the RPI thus is much less stable than before.

The stack trace I could hand copy is:

Trap in m_xhalf+0x9c

bt gave:

bpf_filter_ext+0xc
_bpf_mtap+0x278
smsc_rxeof+0x11c
usb_transfer_complete+0x2d4
dwc2_softintr+0x90
usb_softintr+0x28
softint_dispatch+0xec

I'll now backout the change to see whether the panics disappear.

Frank



On 06/09/14 16:18, Michael van Elst wrote:
Module Name:    src
Committed By:   mlelstv
Date:           Mon Jun  9 14:18:28 UTC 2014

Modified Files:
        src/sys/dev/usb: if_smsc.c if_smscreg.h if_smscvar.h

Log Message:
Fix receive loop, enable turbo mode, checksum offloading still needs
correct handling of pseudo headers.

The Raspberry PI now copies at 2MByte/s with scp and 4MByte/s with NFS.

Based on work from nick@.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/sys/dev/usb/if_smsc.c
cvs rdiff -u -r1.3 -r1.4 src/sys/dev/usb/if_smscreg.h
cvs rdiff -u -r1.2 -r1.3 src/sys/dev/usb/if_smscvar.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Reply via email to