> -----Original Message-----
> From: Jakub Kicinski <k...@kernel.org>
> Sent: Friday, June 26, 2020 12:10 PM
> To: Kirsher, Jeffrey T <jeffrey.t.kirs...@intel.com>
> Cc: da...@davemloft.net; Michael, Alice <alice.mich...@intel.com>;
> netdev@vger.kernel.org; nhor...@redhat.com; sassm...@redhat.com;
> Brady, Alan <alan.br...@intel.com>; Burra, Phani R <phani.r.bu...@intel.com>;
> Hay, Joshua A <joshua.a....@intel.com>; Chittim, Madhu
> <madhu.chit...@intel.com>; Linga, Pavan Kumar
> <pavan.kumar.li...@intel.com>; Skidmore, Donald C
> <donald.c.skidm...@intel.com>; Brandeburg, Jesse
> <jesse.brandeb...@intel.com>; Samudrala, Sridhar
> <sridhar.samudr...@intel.com>
> Subject: Re: [net-next v3 06/15] iecm: Implement mailbox functionality
> 
> On Thu, 25 Jun 2020 19:07:28 -0700 Jeff Kirsher wrote:
> > +   err = register_netdev(netdev);
> > +   if (err)
> > +           return err;
> 
> So the unregister_netdevice() call is in the previous patch, but registering 
> it is
> apparetnly in the "implement mbox" patch...

Apologies we tried our best to make the patches readable but this slipped.  We 
can swap things around if you'd prefer, but that may create more thrash at this 
point.

> 
> > +   /* carrier off on init to avoid Tx hangs */
> > +   netif_carrier_off(netdev);
> > +
> > +   /* make sure transmit queues start off as stopped */
> > +   netif_tx_stop_all_queues(netdev);
> 
> Seems like a bad idea to turn the carrier off and stop queues _after_ the 
> netdev
> is registered. That's a very basic thing to pass 6 authors and 3 reviewers. 
> What
> am I missing?

Agreed this should be swapped, thanks.

Alan

Reply via email to