]> git.baikalelectronics.ru Git - kernel.git/commit
r8152: fix the poor throughput for 2.5G devices
authorHayes Wang <hayeswang@realtek.com>
Fri, 28 Apr 2023 08:53:30 +0000 (16:53 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 May 2023 09:53:34 +0000 (11:53 +0200)
commit156553b352c83afbced1929e0a3b785812ad4b5d
treee406e48e37d320b8d0039b8de11783ef40d28b48
parent7f216c2c81ce4c545938c814ba734b97a6360496
r8152: fix the poor throughput for 2.5G devices

[ Upstream commit 61b0ad6f58e2066e054c6d4839d67974d2861a7d ]

Fix the poor throughput for 2.5G devices, when changing the speed from
auto mode to force mode. This patch is used to notify the MAC when the
mode is changed.

Fixes: 20d6936ad320 ("r8152: support new chips")
Signed-off-by: Hayes Wang <hayeswang@realtek.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/usb/r8152.c