mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 14:13:01 -04:00
qtnfmac: switch to napi_gro_receive
Use napi_gro_receive() rather than netif_receive_skb() to improve performance when GRO is enabled. Signed-off-by: Sergey Matyukevich <sergey.matyukevich.os@quantenna.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
This commit is contained in:
parent
0db63e3799
commit
7376947dfb
1 changed files with 1 additions and 1 deletions
|
|
@ -762,7 +762,7 @@ static int qtnf_rx_poll(struct napi_struct *napi, int budget)
|
|||
ndev->stats.rx_bytes += skb->len;
|
||||
|
||||
skb->protocol = eth_type_trans(skb, ndev);
|
||||
netif_receive_skb(skb);
|
||||
napi_gro_receive(napi, skb);
|
||||
} else {
|
||||
pr_debug("drop untagged skb\n");
|
||||
bus->mux_dev.stats.rx_dropped++;
|
||||
|
|
|
|||
Loading…
Reference in a new issue