diff options
author | Jie Wang <[email protected]> | 2023-08-07 19:34:51 +0800 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2023-08-08 16:13:05 -0700 |
commit | 6265e242f7b95f2c1195b42ec912b84ad161470e (patch) | |
tree | 3f2158e3e51437d37ceb21effe94015269beb9b6 /tools/perf/scripts/python/sctop.py | |
parent | 08469dacfad25428b66549716811807203744f4f (diff) |
net: hns3: add wait until mac link down
In some configure flow of hns3 driver, for example, change mtu, it will
disable MAC through firmware before configuration. But firmware disables
MAC asynchronously. The rx traffic may be not stopped in this case.
So fixes it by waiting until mac link is down.
Fixes: a9775bb64aa7 ("net: hns3: fix set and get link ksettings issue")
Signed-off-by: Jie Wang <[email protected]>
Signed-off-by: Jijie Shao <[email protected]>
Reviewed-by: Leon Romanovsky <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions