USBC-E2500 spamming the journal

I have installed the USB-C 2,5GBe ethernet adapter in my linux server and now the journal is practically unusable becasuse of the journal being spammed 15-20 times per second with message:

Mar 04 21:45:40 TUXSIL kernel: cdc_ncm 2-1:2.0 enp0s20f0u1c2: 2500 mbit/s downlink 2500 mbit/s uplink

I cannot seem to find out how to prevent this from happening.
Any help is appreciated

  • OS: Arch Linux
  • kernel: 5.10.19-1-lts
  • NetworkManager 1.30.0-2

Thank you for your post.

There are comments in the kernel source about a patch being applied to address the constant dmesg logs for the chipset used in the adapter (RTL8156).

​cdc_ncm_speed_change(struct usbnet *dev,
struct usb_cdc_speed_change *data)
{
uint32_t rx_speed = le32_to_cpu(data->DLBitRRate);
uint32_t tx_speed = le32_to_cpu(data->ULBitRate);

/* if the speed hasn’t changed, don’t report it.

* RTL8156 shipped before 2021 sends notification about every 32ms.

*/ ​
if (dev->rx_speed == rx_speed && dev->tx_speed == tx_speed)
return;

So this should be patched, but you need to update to a kernel version built after January 20th of this year.

We’ve had positive reports when using kernel 5.11.1

I hope this helps. If you continue to experience issues, please communicate with is via email.