On 11 August 2013 22:13, Rafał Miłecki <zaj...@gmail.com> wrote: > Ah, I'm sorry. I didn't realize that my patches removed memcpy and > reintroduced unaligned access problem... That problem is pretty > complex, and that ar71xx don't really make that much easier. >
That's fine! The complexity is almost certainly why memcpy was used in the first place. Tracking down the accesses and patching the Linux IP stack was/is pretty time-consuming and there's still untouched edge cases in there (IPSec is the main one, although I think SCTP is also affected). It's useful in any case for comparison with both the original version and new driver+stack patches. If it helps at all, you should be able to use debugfs to check whether unaligned access is in fact the issue before blindly applying patches: (may not be needed) $ mount -t debugfs debugfs /proc/sys/debug $ cat /proc/sys/debug/mips/unaligned_instructions If unaligned access is the issue, you will see a non-zero value that increases when bgmac receives and processes packets. -- Robert Bradley _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel