diff options
author | 2020-09-18 12:09:38 +0800 | |
---|---|---|
committer | 2020-09-18 14:11:01 -0700 | |
commit | fc25fa97976b1c2fd226ae2b43e1f5abb61b77c9 (patch) | |
tree | f4a2c4e4b482128c39b293f00b38f5aa39ebbae3 /net/switchdev/switchdev.c | |
parent | Merge branch 'Bugfixes-in-Microsemi-Ocelot-switch-driver' (diff) | |
download | wireguard-linux-fc25fa97976b1c2fd226ae2b43e1f5abb61b77c9.tar.xz wireguard-linux-fc25fa97976b1c2fd226ae2b43e1f5abb61b77c9.zip |
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 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions