[PATCH net 0/3] There are some bugfix for the HNS3 ethernet driver
From: Jijie Shao <shaojijie@huawei.com>
Date: 2025-09-17 12:37:49
Also in:
lkml
From: Jijie Shao <shaojijie@huawei.com>
Date: 2025-09-17 12:37:49
Also in:
lkml
This patchset includes 3 fixes:
1. Patch1 fixes the issue of loopback failure under half-duplex mode.
The driver will automatically switch to full-duplex mode
before loopback tests.
2. Patch2 fixes an incorrect function return value.
3. Patch4 fixes the potential loss of user rate and duplex configuration
after reset.
Jijie Shao (3):
net: hns3: fix loopback test of serdes and phy is failed if duplex is
half
net: hns3: return error code when function fails
net: hns3: use user configure after hardware reset when using kernel
PHY
.../ethernet/hisilicon/hns3/hns3_ethtool.c | 26 ++--
.../hisilicon/hns3/hns3pf/hclge_main.c | 139 ++++++++++++++----
.../hisilicon/hns3/hns3pf/hclge_main.h | 3 +-
.../hisilicon/hns3/hns3pf/hclge_mdio.c | 9 +-
.../hisilicon/hns3/hns3pf/hclge_mdio.h | 2 +-
5 files changed, 130 insertions(+), 49 deletions(-)
--
2.33.0