rtlwifi: Reduce IO in RX interrupt to boost throughput
authorPing-Ke Shih <pkshih@realtek.com>
Mon, 13 Nov 2017 09:39:33 +0000 (17:39 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 7 Dec 2017 13:14:50 +0000 (15:14 +0200)
commitfb9829e90dcd5365c45478629e45075560ea8644
tree69ec3931179a3405adfb5396e98cb719a1758355
parent78aa6012033f366627562c92ca8511b113730885
rtlwifi: Reduce IO in RX interrupt to boost throughput

Check remaining count of RX packets cost a lot of CPU time, so only update
when the counter decreases to zero. In old flow, the counter was updated
once a RX packet is received.

Signed-off-by: Steven Ting <steventing@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/realtek/rtlwifi/pci.c