]> www.infradead.org Git - users/dwmw2/linux.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)
commit2642d7c136cd1c396c0612c09dd170bf9cc46c9c
treee406e48e37d320b8d0039b8de11783ef40d28b48
parentfbdde7ef256447a03a8770eabba6705dd12f0833
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: 195aae321c82 ("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