aboutsummaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorGuangbin Huang <huangguangbin2@huawei.com>2022-06-11 20:25:27 +0800
committerDavid S. Miller <davem@davemloft.net>2022-06-13 11:56:01 +0100
commite93530ae0e5d8fcf2d908933d206e0c93bc3c09b (patch)
tree258b49d4bd3d84919eeef99ce8dd015731490132 /fs
parentcfd80687a5388e731b3db65ad6a557ede9b45905 (diff)
net: hns3: restore tm priority/qset to default settings when tc disabled
Currently, settings parameters of schedule mode, dwrr, shaper of tm priority or qset of one tc are only be set when tc is enabled, they are not restored to the default settings when tc is disabled. It confuses users when they cat tm_priority or tm_qset files of debugfs. So this patch fixes it. Fixes: 848440544b41 ("net: hns3: Add support of TX Scheduler & Shaper to HNS3 driver") Signed-off-by: Guangbin Huang <huangguangbin2@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions