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)
committerDavid S. Miller <davem@davemloft.net>
Mon, 1 May 2023 06:32:04 +0000 (07:32 +0100)
commit61b0ad6f58e2066e054c6d4839d67974d2861a7d
treefe5dd042f1ed17d6a128aa1f03dd2cc948f72781
parent8ceda6d5a1e5402fd852e6cc59a286ce3dc545ee
r8152: fix the poor throughput for 2.5G devices

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>
drivers/net/usb/r8152.c