aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
diff options
context:
space:
mode:
authorYonglong Liu <liuyonglong@huawei.com>2020-02-14 09:53:42 +0800
committerDavid S. Miller <davem@davemloft.net>2020-02-14 07:05:17 -0800
commit19eb1123b4e9337fe20b1763fec528f837ec6568 (patch)
tree24e6f9a9418a5ae553f737c67652b7558ed43420 /drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
parentnet: hns3: add management table after IMP reset (diff)
downloadlinux-dev-19eb1123b4e9337fe20b1763fec528f837ec6568.tar.xz
linux-dev-19eb1123b4e9337fe20b1763fec528f837ec6568.zip
net: hns3: fix VF bandwidth does not take effect in some case
When enabling 4 TC after setting the bandwidth of VF, the bandwidth of VF will resume to default value, because of the qset resources changed in this case. This patch fixes it by using a fixed VF's qset resources according to HNAE3_MAX_TC macro. Fixes: ee9e44248f52 ("net: hns3: add support for configuring bandwidth of VF on the host") Signed-off-by: Yonglong Liu <liuyonglong@huawei.com> Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions