atl1c: switch to napi_gro_receive

Changing to napi_gro_receive() improves efficiency significantly. Tested
on Intel Core2-based motherboards and iperf3.

Signed-off-by: Sieng Piaw Liew <liew.s.piaw@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Sieng Piaw Liew 2021-03-19 11:59:22 +08:00 committed by David S. Miller
parent 5b6b827413
commit e75a2e02ec

View File

@ -1851,7 +1851,7 @@ rrs_checked:
vlan = le16_to_cpu(vlan);
__vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), vlan);
}
netif_receive_skb(skb);
napi_gro_receive(&adapter->napi, skb);
(*work_done)++;
count++;