2013/8/11 Robert Bradley <robert.bradl...@gmail.com>: > > On 11 Aug 2013 18:13, "Rafał Miłecki" <zaj...@gmail.com> wrote: >> >> 2013/8/11 Robert Bradley <robert.bradl...@gmail.com>: >> > it might be worth testing a build with these applied and use Florian's >> > method instead (pass the current SKB to the stack as-is and create a new >> > one >> > for the next DMA read). >> >> I already this trick, but it didn't help :( See my first e-mail from >> today. > > Forgive me for asking, but aren't those results measured without the > additional patches from ar71xx applied to the kernel source?
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. https://dev.openwrt.org/changeset/20506 This is funny. This patch added memcpy to avoid unaligned access, while I removed memcpy in bgmac to improve the performance... https://dev.openwrt.org/changeset/20892 AFAIU this one removes memcpy and uses memmove for small packets (<= 128). https://dev.openwrt.org/browser/trunk/target/linux/ar71xx/patches-3.10/902-unaligned_access_hacks.patch OK, so that one looks promising, but it requires to really understand whole packet handling in the network stack... I'll take me some time to review that. Thank you for your help Robert! -- Rafał _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel