RE: [PATCH v5 net-next] net: mana: Add a driver for Microsoft Azure Network Adapter (MANA)

2021-04-13 Thread Dexuan Cui
> From: Jakub Kicinski > Sent: Tuesday, April 13, 2021 12:03 PM > > On Mon, 12 Apr 2021 19:35:09 -0700 Dexuan Cui wrote: > > + apc->port_st_save = apc->port_is_up; > > + apc->port_is_up = false; > > + apc->start_remove = true; > > + > > + /* Ensure port state updated before txq state */

Re: [PATCH v5 net-next] net: mana: Add a driver for Microsoft Azure Network Adapter (MANA)

2021-04-13 Thread Jakub Kicinski
On Mon, 12 Apr 2021 19:35:09 -0700 Dexuan Cui wrote: > + apc->port_st_save = apc->port_is_up; > + apc->port_is_up = false; > + apc->start_remove = true; > + > + /* Ensure port state updated before txq state */ > + smp_wmb(); > + > + netif_tx_disable(ndev); In your napi