summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJijie Shao <shaojijie@huawei.com>2023-07-20 10:05:10 +0800
committerDavid S. Miller <davem@davemloft.net>2023-07-24 09:36:23 +0100
commit882481b1c55fc44861d7e2d54b4e0936b1b39f2c (patch)
tree97cec04f320fbd826e5881c494953fc757033eae /tools/perf/scripts/python
parent116d9f732eef634abbd871f2c6f613a5b4677742 (diff)
net: hns3: fix wrong bw weight of disabled tc issue
In dwrr mode, the default bandwidth weight of disabled tc is set to 0. If the bandwidth weight is 0, the mode will change to sp. Therefore, disabled tc default bandwidth weight need changed to 1, and 0 is returned when query the bandwidth weight of disabled tc. In addition, driver need stop configure bandwidth weight if tc is disabled. Fixes: 848440544b41 ("net: hns3: Add support of TX Scheduler & Shaper to HNS3 driver") Signed-off-by: Jie Wang <wangjie125@huawei.com> Signed-off-by: Jijie Shao <shaojijie@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions