]> asedeno.scripts.mit.edu Git - linux.git/commit
net:ethernet:aquantia: Fix packet type detection (TCP/UDP) for IPv6.
authorPavel Belous <pavel.belous@aquantia.com>
Thu, 23 Mar 2017 11:19:42 +0000 (14:19 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 24 Mar 2017 19:32:19 +0000 (12:32 -0700)
commitea0504f554c8f989eab58549300d15582d36f039
tree9e180a5c2b6742d50f87b09a373c6acdcad25594
parent1adbddef118ae8bf6409c13208645d28c29731c1
net:ethernet:aquantia: Fix packet type detection (TCP/UDP) for IPv6.

In order for the checksum offloads to work correctly we need to set the
packet type bit (TCP/UDP) in the TX context buffer.

Fixes: 97bde5c4f909 ("net: ethernet: aquantia: Support for NIC-specific code")
Signed-off-by: Pavel Belous <pavel.belous@aquantia.com>
Tested-by: David Arcari <darcari@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/aquantia/atlantic/aq_nic.c