mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-25 03:04:35 +07:00
2566f10676
When setting vport->bw_limit to hdev->tm_info.pg_info[0].bw_limit
in hclge_tm_vport_tc_info_update, vport->bw_limit can be as big as
HCLGE_ETHER_MAX_RATE (100000), which can not fit into u16 (65535).
So this patch fixes it by using u32 for vport->bw_limit.
Fixes:
|
||
---|---|---|
.. | ||
hns3pf | ||
hns3vf | ||
hclge_mbx.h | ||
hnae3.c | ||
hnae3.h | ||
hns3_dcbnl.c | ||
hns3_debugfs.c | ||
hns3_enet.c | ||
hns3_enet.h | ||
hns3_ethtool.c | ||
Makefile |