[BUG] ax88179_178a - broken hw checksumming after resume
From: Lukasz Stelmach
Date: Tue Nov 03 2020 - 16:20:55 EST
Hi,
I've got a generic AX88179 based USB ethernet interface and I am
experiencing a following problem.
+ After resuming from suspend
+ hw tx-checksuming doesn't work
+ for UDP packets.
I've got an RPi4 on the other end of the cable. To test the connection
I use the following commands
tcptraceroute -n rpi4
traceroute -In rpi4 # ICMP probes
traceroute -n rpi4 # UDP probes
The former two (TCP, ICMP) work fine, the latter does not until I turn
of tx-checksumming with ethtool(8). I need to turn off both
tx-checksum-ipv4 and tx-checksum-ipv6. Only then ethtool(8) reports
tx-checksumming beeing turned off and UDP probing starts working.
The other way to fix the problem is to bring the interface down and up
again with ip(8). Then hw checksumming may be turned on and works
fine.
Do tell, if there are any other details I can share to help fixing this
problem.
Linux darkstar 4.19.0-11-amd64 #1 SMP Debian 4.19.146-1 (2020-09-17) x86_64 GNU/Linux
GNU Make 4.2.1
Binutils 2.31.1
Util-linux 2.33.1
Mount 2.33.1
Dynamic linker (ldd) 2.28
Procps 3.3.15
Kbd 2.0.4
Console-tools 2.0.4
Sh-utils 8.30
Udev 241
Modules Loaded ac aesni_intel aes_x86_64 af_alg ahci algif_hash
algif_skcipher ansi_cprng arc4 autofs4 ax88179_178a battery binfmt_misc
bluetooth bnep bonding btbcm btintel btrtl btusb button ccm cfg80211
cmac coretemp cqhci crc16 crc32c_generic crc32c_intel crc32_pclmul
crct10dif_pclmul cryptd crypto_simd ctr dcdbas dell_laptop dell_rbtn
dell_smbios dell_smm_hwmon dell_smo8800 dell_wmi dell_wmi_descriptor
dm_crypt dm_mod drbg drm drm_kms_helper e1000e ecb ecdh_generic
efi_pstore efivarfs efivars ehci_hcd ehci_pci evdev ext4 fat fscrypto
ftdi_sio fuse ghash_clmulni_intel glue_helper gspca_main gspca_zc3xx hid
hid_generic i2c_algo_bit i2c_i801 i915 intel_cstate intel_powerclamp
intel_rapl intel_rapl_perf intel_uncore ip_tables ipt_MASQUERADE
irqbypass iTCO_vendor_support iTCO_wdt iwldvm iwlwifi jbd2 joydev kvm
kvm_intel libahci libata libcrc32c lp lpc_ich mac80211 mbcache media mei
mei_me mei_wdt mfd_core mii mmc_core nf_conntrack nf_defrag_ipv4
nf_defrag_ipv6 nf_nat nf_nat_ipv4 nfnetlink nf_tables nft_chain_nat_ipv4
nft_compat nft_counter nls_ascii nls_cp437 parport parport_pc pcbc
pcc_cpufreq ppdev psmouse rfcomm rfkill rng_core scsi_mod sdhci
sdhci_pci sd_mod serio_raw sg snd snd_hda_codec snd_hda_codec_generic
snd_hda_codec_hdmi snd_hda_codec_idt snd_hda_core snd_hda_intel
snd_hwdep snd_pcm snd_rawmidi snd_seq_device snd_timer snd_usb_audio
snd_usbmidi_lib soundcore sparse_keymap sunrpc thermal tpm tpm_tis
tpm_tis_core uas usb_common usbcore usbhid usbnet usbserial usb_storage
uvcvideo vfat video videobuf2_common videobuf2_memops videobuf2_v4l2
videobuf2_vmalloc videodev wmi wmi_bmof x86_pkg_temp_thermal xhci_hcd
xhci_pci x_tables xt_conntrack xt_state
Kind regards,
--
Łukasz Stelmach
Samsung R&D Institute Poland
Samsung Electronics
Attachment:
signature.asc
Description: PGP signature