summaryrefslogtreecommitdiff
path: root/net/iucv
diff options
context:
space:
mode:
authorThomas Richter <tmricht@linux.vnet.ibm.com>2015-09-18 16:06:51 +0200
committerDavid S. Miller <davem@davemloft.net>2015-09-21 16:03:04 -0700
commit4d7def2a12386dbf56443016114c187df50e3442 (patch)
tree58e124eec3cf35aa8928b218bf08e1666ea1ca18 /net/iucv
parent239ff408ddd8fa7a19c53ed247daec855ff11ea2 (diff)
qeth: add layer 2 RX/TX checksum offloading
Checksum offloading for send and receive is already supported for layer 3 (IP layer). This patch adds support for RX and TX hardware checksum offloading for layer 2 (MAC layer). The hardware calculates the checksum for IP UDP and TCP packets. This patch moves the hardware checksum offloading setup to the set of common functions in qeth_core_main.c. Layer 2 and layer 3 now simply call the same common functions. Also note that TX checksum offloading is always enabled. The device driver relies on the TCP/IP stack to make use of this feature. Signed-off-by: Thomas Richter <tmricht@linux.vnet.ibm.com> Signed-off-by: Ursula Braun <ursula.braun@de.ibm.com> Reviewed-by: Eugene Crosser <Eugene.Crosser@ru.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/iucv')
0 files changed, 0 insertions, 0 deletions