lkml.org 
[lkml]   [2021]   [Nov]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH net] net: stmmac: Avoid DMA_CHAN_CONTROL write if no Split Header support
From
Date
Hello:

This patch was applied to netdev/net.git (master)
by David S. Miller <davem@davemloft.net>:

On Fri, 26 Nov 2021 16:51:15 +0100 you wrote:
> The driver assumes that split headers can be enabled/disabled without
> stopping/starting the device, so it writes DMA_CHAN_CONTROL from
> stmmac_set_features(). However, on my system (IP v5.10a without Split
> Header support), simply writing DMA_CHAN_CONTROL when DMA is running
> (for example, with the commands below) leads to a TX watchdog timeout.
>
> host$ socat TCP-LISTEN:1024,fork,reuseaddr - &
> device$ ethtool -K eth0 tso off
> device$ ethtool -K eth0 tso on
> device$ dd if=/dev/zero bs=1M count=10 | socat - TCP4:host:1024
> <tx watchdog timeout>
>
> [...]

Here is the summary with links:
- [net] net: stmmac: Avoid DMA_CHAN_CONTROL write if no Split Header support
https://git.kernel.org/netdev/net/c/f8e7dfd6fdab

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html


\
 
 \ /
  Last update: 2021-11-29 13:23    [W:0.290 / U:0.060 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site