]> git.baikalelectronics.ru Git - kernel.git/commit
s390/qeth: consolidate skb RX processing in L3 driver
authorJulian Wiedmann <jwi@linux.ibm.com>
Thu, 27 Jun 2019 15:01:31 +0000 (17:01 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 27 Jun 2019 17:18:24 +0000 (10:18 -0700)
commit0e923dfd3610239e54b39636edfecac3b45b188d
tree741e56d5a73a96dbbcb90cfaf3c8080fb12d63c7
parentfe05e7d98a316f4dbb4fe81680cf421e90502be9
s390/qeth: consolidate skb RX processing in L3 driver

Use napi_gro_receive() to pass up all types of packets that a L3 device
may receive.
1) For proper L2 packets received by the IQD sniffer, this is the
   obvious thing to do.
2) For af_iucv (which doesn't provide a GRO assist), the GRO code will
   transparently fall back to netif_receive_skb(). So there's no need to
   special-case this traffic in our code.

Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/s390/net/qeth_l3_main.c