From: Thomas Richter Date: Tue, 6 Oct 2015 13:12:27 +0000 (+0200) Subject: s390/qeth: switch to napi_gro_receive X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9abfa8cb201b2167872654b92f567f8bff6016f4;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git s390/qeth: switch to napi_gro_receive Add support for GRO (generic receive offload) in the layer 2 part of device driver qeth. This results in a performance improvement when GRO and RX is turned on. Signed-off-by: Thomas Richter Signed-off-by: Ursula Braun Signed-off-by: David S. Miller --- diff --git a/drivers/s390/net/qeth_l2_main.c b/drivers/s390/net/qeth_l2_main.c index dc905b37aa12..b6eabfa13762 100644 --- a/drivers/s390/net/qeth_l2_main.c +++ b/drivers/s390/net/qeth_l2_main.c @@ -511,7 +511,7 @@ static int qeth_l2_process_inbound_buffer(struct qeth_card *card, if (skb->protocol == htons(ETH_P_802_2)) *((__u32 *)skb->cb) = ++card->seqno.pkt_seqno; len = skb->len; - netif_receive_skb(skb); + napi_gro_receive(&card->napi, skb); break; case QETH_HEADER_TYPE_OSN: if (card->info.type == QETH_CARD_TYPE_OSN) {