[RFC/RFT v2] mac80211: Add NEED_ALIGNED4_SKBS hw flag

2015-12-18 Thread Janusz Dziedzic
HW/driver should set NEED_ALIGNED4_SKBS flag in case require aligned skbs to four-byte boundaries. Before we have to do memmove() in the driver before pass this to HW and memmove() back in tx completion. This patch allow to save CPU and skip such memmoves. For each skb we call

Re: [RFC/RFT v2] mac80211: Add NEED_ALIGNED4_SKBS hw flag

2015-12-18 Thread Janusz Dziedzic
On 18 December 2015 at 13:07, Johannes Berg wrote: > On Fri, 2015-12-18 at 12:57 +0100, Janusz Dziedzic wrote: >> HW/driver should set NEED_ALIGNED4_SKBS flag in case require >> aligned skbs to four-byte boundaries. >> >> Before we have to do memmove() in the driver