Search Linux Wireless

Re: [PATCH] ieee80211: mark 802.11 related structs as being 2-byte aligned

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2013-02-22 at 17:28 +0100, Felix Fietkau wrote:
> Regardless of what header features they use, or if they align the IP
> header or not, 802.11 packets from all drivers guarantee a 2-byte
> alignment (and there's a debug WARN_ON in case they don't).
> 
> Annotate packet structs with __aligned(2) to allow the compiler to use
> 16-bit load/store operations on platforms with extremely inefficient
> unaligned access (e.g. MIPS).
> 
> This reduces code size and improves performance on affected platforms
> and causes no binary code change on others.

Applied.

johannes

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux