diff options
author | Jian Shen <shenjian15@huawei.com> | 2021-09-29 12:35:51 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-09-29 13:03:54 +0300 |
commit | d82650be60ee92e7486f755f5387023278aa933f (patch) | |
tree | ebe9e85ef1663a5795c351e57b79bcb42bcfb4eb /drivers/pwm/pwm-pxa.c | |
parent | a8e76fefe3de9b8e609cf192af75e7878d21fa3a (diff) | |
download | linux-d82650be60ee92e7486f755f5387023278aa933f.tar.xz |
net: hns3: don't rollback when destroy mqprio fail
For destroy mqprio is irreversible in stack, so it's unnecessary
to rollback the tc configuration when destroy mqprio failed.
Otherwise, it may cause the configuration being inconsistent
between driver and netstack.
As the failure is usually caused by reset, and the driver will
restore the configuration after reset, so it can keep the
configuration being consistent between driver and hardware.
Fixes: 5a5c90917467 ("net: hns3: add support for tc mqprio offload")
Signed-off-by: Jian Shen <shenjian15@huawei.com>
Signed-off-by: Guangbin Huang <huangguangbin2@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/pwm/pwm-pxa.c')
0 files changed, 0 insertions, 0 deletions