rtw88: pci: Use DMA sync instead of remapping in RX ISR
authorJian-Hong Pan <jian-hong@endlessm.com>
Thu, 11 Jul 2019 05:24:27 +0000 (13:24 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 5 Oct 2019 11:14:11 +0000 (13:14 +0200)
commit7228bca11c14e6430fb655afd8e3205ed893d6ed
treea6c1e8e21b47aae2b2efd99fe03f909b087522b2
parent80e456c82a5c90844809675d86d5556e9ed29762
rtw88: pci: Use DMA sync instead of remapping in RX ISR

commit 29b68a920f6abb7b5ba21ab4b779f62d536bac9b upstream.

Since each skb in RX ring is reused instead of new allocation, we can
treat the DMA in a more efficient way by DMA synchronization.

Signed-off-by: Jian-Hong Pan <jian-hong@endlessm.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/wireless/realtek/rtw88/pci.c