[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200626121004.506bfa6f@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com>
Date: Fri, 26 Jun 2020 12:10:04 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: Jeff Kirsher <jeffrey.t.kirsher@...el.com>
Cc: davem@...emloft.net, Alice Michael <alice.michael@...el.com>,
netdev@...r.kernel.org, nhorman@...hat.com, sassmann@...hat.com,
Alan Brady <alan.brady@...el.com>,
Phani Burra <phani.r.burra@...el.com>,
Joshua Hay <joshua.a.hay@...el.com>,
Madhu Chittim <madhu.chittim@...el.com>,
Pavan Kumar Linga <pavan.kumar.linga@...el.com>,
Donald Skidmore <donald.c.skidmore@...el.com>,
Jesse Brandeburg <jesse.brandeburg@...el.com>,
Sridhar Samudrala <sridhar.samudrala@...el.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...
> + /* 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?
Powered by blists - more mailing lists