Commit e75a2e02 authored by Sieng Piaw Liew's avatar Sieng Piaw Liew Committed by David S. Miller
Browse files

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: default avatarSieng Piaw Liew <liew.s.piaw@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 5b6b8274
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1851,7 +1851,7 @@ static void atl1c_clean_rx_irq(struct atl1c_adapter *adapter,
			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++;