s390/qeth: add IPv6 TX checksum offload support
Check if a qeth device supports IPv6 TX checksum offload, and advertise NETIF_F_IPV6_CSUM accordingly. Add support for setting the relevant bits in IPv6 packet descriptors. Currently this has only limited use (ie. UDP, or Jumbo Frames). For any TCP traffic with a standard MSS, the TCP checksum gets calculated as part of the linear GSO segmentation. Signed-off-by:Kittipon Meesompop <kmeesomp@linux.vnet.ibm.com> Signed-off-by:
Julian Wiedmann <jwi@linux.vnet.ibm.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- drivers/s390/net/qeth_core.h 8 additions, 5 deletionsdrivers/s390/net/qeth_core.h
- drivers/s390/net/qeth_core_main.c 13 additions, 5 deletionsdrivers/s390/net/qeth_core_main.c
- drivers/s390/net/qeth_core_mpc.h 1 addition, 0 deletionsdrivers/s390/net/qeth_core_mpc.h
- drivers/s390/net/qeth_l2_main.c 10 additions, 4 deletionsdrivers/s390/net/qeth_l2_main.c
- drivers/s390/net/qeth_l3_main.c 6 additions, 1 deletiondrivers/s390/net/qeth_l3_main.c
Loading
Please register or sign in to comment