https://github.com/torvalds/linux
Revision d82650be60ee92e7486f755f5387023278aa933f authored by Jian Shen on 29 September 2021, 09:35:51 UTC, committed by David S. Miller on 29 September 2021, 10:03:54 UTC
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>
1 parent a8e76fe
History
Tip revision: d82650be60ee92e7486f755f5387023278aa933f authored by Jian Shen on 29 September 2021, 09:35:51 UTC
net: hns3: don't rollback when destroy mqprio fail
Tip revision: d82650b

back to top