OpenCloudOS-Kernel/drivers/net/ethernet/hisilicon/hns3/hns3pf
Guangbin Huang 12a3670887 net: hns3: fix tm port shapping of fibre port is incorrect after driver initialization
Currently in driver initialization process, driver will set shapping
parameters of tm port to default speed read from firmware. However, the
speed of SFP module may not be default speed, so shapping parameters of
tm port may be incorrect.

To fix this problem, driver sets new shapping parameters for tm port
after getting exact speed of SFP module in this case.

Fixes: 88d10bd6f7 ("net: hns3: add support for multiple media type")
Signed-off-by: Guangbin Huang <huangguangbin2@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2022-06-13 11:56:01 +01:00
..
hclge_cmd.h net: hns3: create new common cmd code for PF and VF modules 2022-01-05 14:36:37 +00:00
hclge_dcb.c net: hns3: refactor PF rss get APIs with new common rss get APIs 2022-01-05 14:36:36 +00:00
hclge_dcb.h net: hns3: Use the correct style for SPDX License Identifier 2019-11-05 17:45:38 -08:00
hclge_debugfs.c net: hns3: refactor PF cmdq resource APIs with new common APIs 2021-12-31 14:25:47 +00:00
hclge_debugfs.h net: hns3: refactor two hns3 debugfs functions 2021-11-29 14:26:17 +00:00
hclge_devlink.c Revert "net: hns3: add void before function which don't receive ret" 2021-12-06 16:30:12 -08:00
hclge_devlink.h net: hns3: add support for registering devlink for PF 2021-07-26 12:16:03 +01:00
hclge_err.c net: hns3: fix the wrong words in comments 2022-04-20 10:45:51 +01:00
hclge_err.h net: hns3: add error recovery module and type for himac 2021-10-25 14:00:59 +01:00
hclge_main.c net: hns3: fix tm port shapping of fibre port is incorrect after driver initialization 2022-06-13 11:56:01 +01:00
hclge_main.h net: hns3: add byte order conversion for VF to PF mailbox message 2022-05-09 14:30:37 +01:00
hclge_mbx.c net: hns3: add query vf ring and vector map relation 2022-05-09 14:30:37 +01:00
hclge_mdio.c net: hns3: fix phy can not link up when autoneg off and reset 2022-03-26 09:16:49 -07:00
hclge_mdio.h net: hns3: fix hns3 driver header file not self-contained issue 2021-12-03 11:01:00 +00:00
hclge_ptp.c net: hns3: refactor hclge_cmd_send with new hclge_comm_cmd_send API 2021-12-31 14:25:46 +00:00
hclge_ptp.h net: hns3: fix hns3 driver header file not self-contained issue 2021-12-03 11:01:00 +00:00
hclge_tm.c net: hns3: fix tm port shapping of fibre port is incorrect after driver initialization 2022-06-13 11:56:01 +01:00
hclge_tm.h net: hns3: fix tm port shapping of fibre port is incorrect after driver initialization 2022-06-13 11:56:01 +01:00
hclge_trace.h net: hns3: add byte order conversion for PF to VF mailbox message 2022-05-09 14:30:37 +01:00