diff options
author | Sieng Piaw Liew <liew.s.piaw@gmail.com> | 2021-03-19 11:59:22 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-03-19 11:37:19 -0700 |
commit | e75a2e02ec998a808dcd19885275f5444b146d44 (patch) | |
tree | e16c16492d28b8a1732b1750af09f444753ffd23 /drivers/net | |
parent | 5b6b827413e8a86b1f83c3a199fe639c0e292295 (diff) | |
download | linux-stable-e75a2e02ec998a808dcd19885275f5444b146d44.tar.gz linux-stable-e75a2e02ec998a808dcd19885275f5444b146d44.tar.bz2 linux-stable-e75a2e02ec998a808dcd19885275f5444b146d44.zip |
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>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/ethernet/atheros/atl1c/atl1c_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/atheros/atl1c/atl1c_main.c b/drivers/net/ethernet/atheros/atl1c/atl1c_main.c index 3f65f2b370c5..3e440c2dc68a 100644 --- a/drivers/net/ethernet/atheros/atl1c/atl1c_main.c +++ b/drivers/net/ethernet/atheros/atl1c/atl1c_main.c @@ -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++; |