On 13 August 2013 20:48, Rafał Miłecki <zaj...@gmail.com> wrote:
> 2013/8/13 Rafał Miłecki <zaj...@gmail.com>:
>> After analyzing it for a bit longer I noticed following thing:
>> 1) skb starts at aligned address
>> 2) first 28B in skb are reserved for Broadcom's header
>> 3) then there are unused 2B
>> 4) then finally ethernet packets starts

It looks like it's padding it correctly then, so the IP header is
32-bit aligned.

>> I don't get any warnings, so I assume 4B alignment is alright for
>> MIPS. Is that right?

Yes, that's right.

>
> So does it make any sense to try
> https://dev.openwrt.org/browser/trunk/target/linux/ar71xx/patches-3.10/902-unaligned_access_hacks.patch
> ?

There's no point given that your IP headers are properly aligned
thanks to the padding.  Right now, it would probably decrease
performance rather than increase it.  If the two bytes of padding were
missing then you'd need it.

At least we know this *isn't* your problem...
-- 
Robert Bradley
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to