atl1e: add GRO support
authorEric Dumazet <edumazet@google.com>
Thu, 2 Feb 2017 14:09:14 +0000 (06:09 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 3 Feb 2017 16:13:17 +0000 (11:13 -0500)
It is time to add GRO support to this driver.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/atheros/atl1e/atl1e_main.c

index ef003c522ba24f6065f23e3718902a3b190e5c9d..4f7e195af0bc6dff79687547b9979375b35a17d6 100644 (file)
@@ -1472,7 +1472,7 @@ static void atl1e_clean_rx_irq(struct atl1e_adapter *adapter, u8 que,
                                           prrs->vtag);
                                __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), vlan_tag);
                        }
-                       netif_receive_skb(skb);
+                       napi_gro_receive(&adapter->napi, skb);
 
 skip_pkt:
        /* skip current packet whether it's ok or not. */