diff options
author | Luo bin <luobin9@huawei.com> | 2020-09-18 12:09:38 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-09-18 14:11:01 -0700 |
commit | fc25fa97976b1c2fd226ae2b43e1f5abb61b77c9 (patch) | |
tree | f4a2c4e4b482128c39b293f00b38f5aa39ebbae3 /tools/perf/scripts/python | |
parent | 2b33b202dc3e30a15d7c0147f26fc6bb23f85493 (diff) |
hinic: fix sending pkts from core while self testing
Call netif_tx_disable firstly before starting doing self-test to
avoid sending packet from networking core and self-test packet
simultaneously which may cause self-test failure or hw abnormal.
Fixes: 4aa218a4fe77 ("hinic: add self test support")
Signed-off-by: Luo bin <luobin9@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions