]> git.baikalelectronics.ru Git - kernel.git/commit
s390/qeth: unify transmit code
authorJulian Wiedmann <jwi@linux.ibm.com>
Thu, 8 Nov 2018 14:06:17 +0000 (15:06 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 9 Nov 2018 01:22:23 +0000 (17:22 -0800)
commitd1369770775957ebf8d4c1b0b95f331e9af51975
treecc396c64a0a08ecbd1edfe6a084444d70f7ba9a7
parent3ed4b72f221798fe14b7c2006dc97a1b7f7931a6
s390/qeth: unify transmit code

Since commit 6536f66ed9f8 ("s390/qeth: add support for IPv6 TSO"),
qeth_xmit() also knows how to build TSO packets and is practically
identical to qeth_l3_xmit().
Convert qeth_l3_xmit() into a thin wrapper that merely strips the
L2 header off a packet, and calls qeth_xmit() for the actual
TX processing.

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