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

2020-09-18 Thread David Miller
From: Luo bin 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

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

2020-09-17 Thread Luo bin
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 ---