net: hns3: add tm flush when setting tm
mainline inclusion from mainline-v6.5-rc4 commit 6d2336120aa6e1a8a64fa5d6ee5c3f3d0809fe9b category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I7ON9Y CVE: NA Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=6d2336120aa6e1a8a64fa5d6ee5c3f3d0809fe9b ---------------------------------------------------------------------- When the tm module is configured with traffic, traffic may be abnormal. This patch fixes this problem. Before the tm module is configured, traffic processing should be stopped. After the tm module is configured, traffic processing is enabled. Signed-off-by: NHao Lan <lanhao@huawei.com> Signed-off-by: NJijie Shao <shaojijie@huawei.com> Signed-off-by: NDavid S. Miller <davem@davemloft.net> Signed-off-by: NJiantao Xiao <xiaojiantao1@h-partners.com>
Showing
想要评论请 注册 或 登录