summaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-perl.c
diff options
context:
space:
mode:
authorYonglong Liu <liuyonglong@huawei.com>2019-11-14 05:32:41 +0300
committerDavid S. Miller <davem@davemloft.net>2019-11-15 05:06:34 +0300
commitc2d56897819338eb0ba8b93184f7d10329b36653 (patch)
treefac16923ce2e29f0c470f0213ab8544450f6f36d /tools/perf/util/scripting-engines/trace-event-perl.c
parentaea8cfb35a82d6c2f3517c86694933ba766635e5 (diff)
downloadlinux-c2d56897819338eb0ba8b93184f7d10329b36653.tar.xz
net: hns3: fix ETS bandwidth validation bug
Some device only support 4 TCs, but the driver check the total bandwidth of 8 TCs, so may cause wrong configurations write to the hw. This patch uses hdev->tc_max to instead HNAE3_MAX_TC to fix it. Fixes: e432abfb99e5 ("net: hns3: add common validation in hclge_dcb") 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 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions