]> 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)
commit8017afb5a2ee16a0fa0dac1cb4f0092ac074b6c4
tree741e56d5a73a96dbbcb90cfaf3c8080fb12d63c7
parent9a8cb026425b4ec562bef4aad3ed700ed568d299
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