]> git.baikalelectronics.ru Git - kernel.git/commit
net: atlantic: enable ipv6 support for TCP LSO and UDP GSO
authorIgor Russkikh <irusskikh@marvell.com>
Mon, 20 Jul 2020 18:32:39 +0000 (21:32 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 21 Jul 2020 01:07:38 +0000 (18:07 -0700)
commit22b385fb19f02e38364fcca6fe53a60160903aeb
treec0fed5c4a7ecb951e703250b6d0df81915a08461
parentcf84153bbcd6ba0fcdefbf5711a22248f2b0b9d2
net: atlantic: enable ipv6 support for TCP LSO and UDP GSO

This patch enables ipv6 support for TCP LSO and UDP GSO.
The code itself (aq_nic_map_skb) was ready for this after udp gso feature,
but corresponding NETIF_F_TSO6 wasn't enabled.

We now have tested both tcp and udp v6 GSO, and enabling them safely.

Signed-off-by: Igor Russkikh <irusskikh@marvell.com>
Signed-off-by: Mark Starovoytov <mstarovoitov@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/aquantia/atlantic/aq_nic.c
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c