OpenCloudOS-Kernel/drivers/net/ethernet/hisilicon/hns3
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
..
hns3_common net: hns3: fix incorrect type of argument in declaration of function hclge_comm_get_rss_indir_tbl 2022-05-09 14:30:38 +01:00
hns3pf net: hns3: fix tm port shapping of fibre port is incorrect after driver initialization 2022-06-13 11:56:01 +01:00
hns3vf net: hns3: add byte order conversion for VF to PF mailbox message 2022-05-09 14:30:37 +01:00
Makefile net: hns3: create new set of common tqp stats APIs for PF and VF reuse 2022-01-05 14:36:36 +00:00
hclge_mbx.h net: hns3: add query vf ring and vector map relation 2022-05-09 14:30:37 +01:00
hnae3.c net: hns3: disable sriov before unload hclge layer 2021-10-20 11:38:11 +01:00
hnae3.h net: hns3: restore tm priority/qset to default settings when tc disabled 2022-06-13 11:56:01 +01:00
hns3_dcbnl.c net: hns3: fix some coding style issues 2019-06-09 13:20:59 -07:00
hns3_debugfs.c net: hns3: align the debugfs output to the left 2022-04-25 10:48:49 +01:00
hns3_debugfs.h net: hns3: fix the concurrency between functions reading debugfs 2022-03-31 11:39:59 +02:00
hns3_enet.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2022-04-28 13:02:01 -07:00
hns3_enet.h net: hns3: add support for TX push mode 2022-02-07 12:29:59 +00:00
hns3_ethtool.c net: hns3: modify the ring param print info 2022-06-13 11:56:01 +01:00
hns3_ethtool.h net: hns3: refactor hns3_set_ringparam() 2022-04-20 10:45:50 +01:00
hns3_trace.h net: hns3: rename trace event hns3_over_8bd 2020-09-29 13:14:24 -07:00