Re: broken ipv6 tcp csum offload on thunderx

2017-11-22 Thread Sunil Kovvuri
On Wed, Nov 22, 2017 at 2:24 PM, Florian Westphal  wrote:
> Hi.
>
> We are experiencing broken ipv6 connectivity with 4.14 kernel
> on arm64 with thunderx.
>
> ping6 still works, but it looks like tcp syn packets get sent
> with a wrong checksum -- socket remains in SYN-SENT state.
>
> after running
>
> ethtool -K enP2p1s0f1 tx-checksum-ipv6 off
>
> ipv6 tcp appears to works fine.
>
> # ethtool -i enP2p1s0f1
> driver: thunder-nicvf
> version: 1.0
> firmware-version:
> expansion-rom-version:
> bus-info: 0002:01:00.1
> supports-statistics: yes
> supports-test: no
> supports-eeprom-access: no
> supports-register-dump: yes
> supports-priv-flags: no
>
> [0.00] Boot CPU: AArch64 Processor [431f0a10]
> [0.00] Machine model: cavium,thunder-88xx
> [0.00] efi: Getting EFI parameters from FDT:
> [0.00] efi: EFI v2.40 by Cavium Thunder cn88xx EFI 
> ThunderX-Firmware-Release-1.22.17 Sep 21 2017 14:26:28
> [0.00] efi:  ACPI=0x  ACPI 2.0=0x0014 SMBIOS=0xffef  
> SMBIOS 3.0=0x10ffaf3  ESRT=0x10fff673e18
>
> What other information do you need to debug this?

We have a fix ready for this, will submit upstream asap.

Thanks,
Sunil.

>
> Thanks,
> Florian


broken ipv6 tcp csum offload on thunderx

2017-11-22 Thread Florian Westphal
Hi.

We are experiencing broken ipv6 connectivity with 4.14 kernel
on arm64 with thunderx.

ping6 still works, but it looks like tcp syn packets get sent
with a wrong checksum -- socket remains in SYN-SENT state.

after running

ethtool -K enP2p1s0f1 tx-checksum-ipv6 off

ipv6 tcp appears to works fine.

# ethtool -i enP2p1s0f1
driver: thunder-nicvf
version: 1.0
firmware-version: 
expansion-rom-version: 
bus-info: 0002:01:00.1
supports-statistics: yes
supports-test: no
supports-eeprom-access: no
supports-register-dump: yes
supports-priv-flags: no

[0.00] Boot CPU: AArch64 Processor [431f0a10]
[0.00] Machine model: cavium,thunder-88xx
[0.00] efi: Getting EFI parameters from FDT:
[0.00] efi: EFI v2.40 by Cavium Thunder cn88xx EFI 
ThunderX-Firmware-Release-1.22.17 Sep 21 2017 14:26:28
[0.00] efi:  ACPI=0x  ACPI 2.0=0x0014 SMBIOS=0xffef  SMBIOS 
3.0=0x10ffaf3  ESRT=0x10fff673e18

What other information do you need to debug this?

Thanks,
Florian