[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <MW3PR11MB452279359B118A9C2A48AABA8F6E0@MW3PR11MB4522.namprd11.prod.outlook.com>
Date: Mon, 29 Jun 2020 18:48:58 +0000
From: "Brady, Alan" <alan.brady@...el.com>
To: Jakub Kicinski <kuba@...nel.org>,
"Kirsher, Jeffrey T" <jeffrey.t.kirsher@...el.com>
CC: "davem@...emloft.net" <davem@...emloft.net>,
"Michael, Alice" <alice.michael@...el.com>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"nhorman@...hat.com" <nhorman@...hat.com>,
"sassmann@...hat.com" <sassmann@...hat.com>,
"Burra, Phani R" <phani.r.burra@...el.com>,
"Hay, Joshua A" <joshua.a.hay@...el.com>,
"Chittim, Madhu" <madhu.chittim@...el.com>,
"Linga, Pavan Kumar" <pavan.kumar.linga@...el.com>,
"Skidmore, Donald C" <donald.c.skidmore@...el.com>,
"Brandeburg, Jesse" <jesse.brandeburg@...el.com>,
"Samudrala, Sridhar" <sridhar.samudrala@...el.com>
Subject: RE: [net-next v3 09/15] iecm: Init and allocate vport
> -----Original Message-----
> From: Jakub Kicinski <kuba@...nel.org>
> Sent: Friday, June 26, 2020 12:00 PM
> To: Kirsher, Jeffrey T <jeffrey.t.kirsher@...el.com>
> Cc: davem@...emloft.net; Michael, Alice <alice.michael@...el.com>;
> netdev@...r.kernel.org; nhorman@...hat.com; sassmann@...hat.com;
> Brady, Alan <alan.brady@...el.com>; Burra, Phani R <phani.r.burra@...el.com>;
> Hay, Joshua A <joshua.a.hay@...el.com>; Chittim, Madhu
> <madhu.chittim@...el.com>; Linga, Pavan Kumar
> <pavan.kumar.linga@...el.com>; Skidmore, Donald C
> <donald.c.skidmore@...el.com>; Brandeburg, Jesse
> <jesse.brandeburg@...el.com>; Samudrala, Sridhar
> <sridhar.samudrala@...el.com>
> Subject: Re: [net-next v3 09/15] iecm: Init and allocate vport
>
> On Thu, 25 Jun 2020 19:07:31 -0700 Jeff Kirsher wrote:
> > @@ -532,7 +540,12 @@ static void iecm_service_task(struct work_struct
> *work)
> > */
> > static void iecm_up_complete(struct iecm_vport *vport) {
> > - /* stub */
> > + netif_set_real_num_rx_queues(vport->netdev, vport->num_txq);
> > + netif_set_real_num_tx_queues(vport->netdev, vport->num_rxq);
>
> These can fail.
>
> > + netif_carrier_on(vport->netdev);
> > + netif_tx_start_all_queues(vport->netdev);
> > +
> > + vport->adapter->state = __IECM_UP;
> > }
Will fix, thanks
-Alan
Powered by blists - more mailing lists