commit | fc25fa97976b1c2fd226ae2b43e1f5abb61b77c9 | [log] [tgz] |
---|---|---|
author | Luo bin <luobin9@huawei.com> | Fri Sep 18 12:09:38 2020 +0800 |
committer | David S. Miller <davem@davemloft.net> | Fri Sep 18 14:11:01 2020 -0700 |
tree | f4a2c4e4b482128c39b293f00b38f5aa39ebbae3 | |
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>