Re: [PATCH net 1/1] net: stmmac: fix CBS idleslope and sendslope calculation

2021-02-22 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net.git (refs/heads/master): On Thu, 18 Feb 2021 21:40:53 +0800 you wrote: > From: "Song, Yoong Siang" > > When link speed is not 100 Mbps, port transmit rate and speed divider > are set to 8 and 100 respectively. These values are incorrect for > CBS

[PATCH net 1/1] net: stmmac: fix CBS idleslope and sendslope calculation

2021-02-17 Thread Song Yoong Siang
From: "Song, Yoong Siang" When link speed is not 100 Mbps, port transmit rate and speed divider are set to 8 and 100 respectively. These values are incorrect for CBS idleslope and sendslope HW values calculation if the link speed is not 1 Gbps. This patch adds switch statement to set the