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:
parent
5b6b827413
commit
e75a2e02ec
@ -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++;
|
||||
|
Loading…
Reference in New Issue
Block a user