Re: [PATCH RESEND net-next v6 0/3] Add DWMAC glue driver for Motorcomm YT6801
From: Georg Gottleuber
Date: Mon Jan 19 2026 - 12:57:52 EST
Am 19.01.26 um 18:45 schrieb Georg Gottleuber:
> Hi,
>
> thanks for the quick reply.
>
> Am 19.01.26 um 16:43 schrieb Russell King (Oracle):
>> On Mon, Jan 19, 2026 at 04:33:17PM +0100, Georg Gottleuber wrote:
>>> Hi,
>>>
>>> I tested this driver with our TUXEDO InfinityBook Pro AMD Gen9. Iperf
>>> revealed that tx is only 100Mbit/s:
>>>
> ...
>>>
>>> With our normally used DKMS module, Ethernet works with full-duplex and
>>> gigabit. Attached are some logs from lspci and dmesg. Do you have any
>>> idea how I can debug this further?
>>
>> My suggestion would be:
>>
>> - Look at the statistics, e.g.
>>
>> ip -s li sh dev enp2s0
>
> That looks good (after iperf):
>
> 2: enp2s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP
> mode DEFAULT group default qlen 1000
> link/ether ba:90:88:24:49:4f brd ff:ff:ff:ff:ff:ff
> RX: bytes packets errors dropped missed mcast
> 2091654 31556 0 0 0 0
> TX: bytes packets errors dropped carrier collsns
> 88532451 1518 0 0 0 0
>
>
>> - apply
>> https://lore.kernel.org/r/E1vgtBc-00000005D6v-040n@xxxxxxxxxxxxxxxxxxxxxx
>> to enable more statistics to work, and check the network driver
>> statistics:
>>
>> ethtool --statistics enp2s0
>>
>> to see if there's any clues for what is going on.
>
> That looks also good, I think. I saved it before and after the test with
> iperf. See attachments.
Oh, there was something else interesting in dmesg. See attachment.
> Regards,
> Georg
[ 0.933480] dwmac-motorcomm 0000:02:00.0: error -ENOENT: failed to read maca0lr from eFuse
[ 0.933483] dwmac-motorcomm 0000:02:00.0: eFuse contains no valid MAC address
[ 0.933485] dwmac-motorcomm 0000:02:00.0: fallback to random MAC address
[ 0.933941] dwmac-motorcomm 0000:02:00.0: User ID: 0x10, Synopsys ID: 0x52
[ 0.933943] dwmac-motorcomm 0000:02:00.0: DWMAC4/5
[ 0.933955] dwmac-motorcomm 0000:02:00.0: DMA HW capability register supported
[ 0.933956] dwmac-motorcomm 0000:02:00.0: RX Checksum Offload Engine supported
[ 0.933957] dwmac-motorcomm 0000:02:00.0: TX Checksum insertion supported
[ 0.933958] dwmac-motorcomm 0000:02:00.0: Wake-Up On Lan supported
[ 0.933961] dwmac-motorcomm 0000:02:00.0: TSO supported
[ 0.933962] dwmac-motorcomm 0000:02:00.0: Enable RX Mitigation via HW Watchdog Timer
[ 0.933964] dwmac-motorcomm 0000:02:00.0: Enabled L3L4 Flow TC (entries=2)
[ 0.933965] dwmac-motorcomm 0000:02:00.0: Enabled RFS Flow TC (entries=10)
[ 0.933966] dwmac-motorcomm 0000:02:00.0: TSO feature enabled
[ 0.933967] dwmac-motorcomm 0000:02:00.0: SPH feature enabled
[ 0.933968] dwmac-motorcomm 0000:02:00.0: Using 48/48 bits DMA host/device width
[ 1.302014] dwmac-motorcomm 0000:02:00.0 enp2s0: renamed from eth0
[ 5.753259] dwmac-motorcomm 0000:02:00.0 enp2s0: Register MEM_TYPE_PAGE_POOL RxQ-0
[ 5.757529] dwmac-motorcomm 0000:02:00.0 enp2s0: PHY [stmmac-200:00] driver [YT8531S Gigabit Ethernet] (irq=POLL)
[ 5.768442] dwmac-motorcomm 0000:02:00.0 enp2s0: Enabling Safety Features
[ 5.768669] dwmac-motorcomm 0000:02:00.0 enp2s0: PTP not supported by HW
[ 5.768673] dwmac-motorcomm 0000:02:00.0 enp2s0: configuring for phy/gmii link mode
[ 8.847009] dwmac-motorcomm 0000:02:00.0 enp2s0: Link is Up - 1Gbps/Full - flow control rx/tx