Re: [PATCH net] hinic: fix sending pkts from core while self testing

From: David Miller
Date: Fri Sep 18 2020 - 17:11:36 EST

From: Luo bin <luobin9@xxxxxxxxxx>
Date: Fri, 18 Sep 2020 12:09:38 +0800

> 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@xxxxxxxxxx>