diff options
author | Avinash Patil <patila@marvell.com> | 2013-03-04 16:27:56 -0800 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2013-03-06 16:29:11 -0500 |
commit | f553e1aad797540afddd1a99753a348e1c426ffe (patch) | |
tree | 8d84d1298269c759ec7cd2686c5faccd903b6ce1 /drivers/net/wireless/mwifiex/fw.h | |
parent | 9931078e36bd2caa3d5364cab31a893d50a8b5de (diff) | |
download | blackbird-op-linux-f553e1aad797540afddd1a99753a348e1c426ffe.tar.gz blackbird-op-linux-f553e1aad797540afddd1a99753a348e1c426ffe.zip |
mwifiex: modify skb->truesize for PCIE Rx
We allocate SKB buffers of 4K size to make sure that we process
RX AMSDU of 4K. So when skb->len is lesser than 4K; we should
modify skb->truesize. This resolves an issue where kernel has
allocated packets with 2K assumption and starts dropping packets
for large size data transfer.
This fix is already present for USB; extend it to PCIE.
Signed-off-by: Avinash Patil <patila@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/mwifiex/fw.h')
0 files changed, 0 insertions, 0 deletions