aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/ar9003_paprd.c
diff options
context:
space:
mode:
authorYogesh Ashok Powar <yogeshp@marvell.com>2011-07-07 17:37:09 -0700
committerJohn W. Linville <linville@tuxdriver.com>2011-07-08 11:47:16 -0400
commite156103cee78a1dd1c0d14efe08aa36fc9285013 (patch)
tree5b45b7448b5ffb0043a27dee8e34902e8a7ad002 /drivers/net/wireless/ath/ath9k/ar9003_paprd.c
parentmwifiex: fix minor issue in debugfs command 'info' (diff)
downloadlinux-dev-e156103cee78a1dd1c0d14efe08aa36fc9285013.tar.xz
linux-dev-e156103cee78a1dd1c0d14efe08aa36fc9285013.zip
mwifiex: 4-byte alignment in mwifiex_process_sta_txpd()
In XMIT path, the skb that we get from the kernel itself is not aligned with 4-byte boundary on some embedded platforms. Had it not been the presence of tx_pkt_offset field in txpd, 4 byte memory alignment was not possible without memmove of entire skb. And that would have increased MIPS instead of reducing. With this patch few memory cycles can be saved while fetching interface header and txpd structure because of 4 bytes memory alignment. Reported-by: Philip Rakity <prakity@marvell.com> Signed-off-by: Yogesh Ashok Powar <yogeshp@marvell.com> Tested-by: Philip Rakity <prakity@marvell.com> Signed-off-by: Bing Zhao <bzhao@marvell.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/ar9003_paprd.c')
0 files changed, 0 insertions, 0 deletions