RE: [net-next v4 06/15] iecm: Implement mailbox functionality

2020-07-22 Thread Brady, Alan
Phani R ; Hay, > Joshua A ; Chittim, Madhu > ; Linga, Pavan Kumar > ; Skidmore, Donald C > ; Brandeburg, Jesse > ; Samudrala, Sridhar > > Subject: Re: [net-next v4 06/15] iecm: Implement mailbox functionality > > On Mon, 20 Jul 2020 17:38:01 -0700 Tony Nguyen wr

RE: [net-next v4 06/15] iecm: Implement mailbox functionality

2020-07-22 Thread Brady, Alan
Phani R ; Hay, > Joshua A ; Chittim, Madhu > ; Linga, Pavan Kumar > ; Skidmore, Donald C > ; Brandeburg, Jesse > ; Samudrala, Sridhar > > Subject: Re: [net-next v4 06/15] iecm: Implement mailbox functionality > > On Mon, 20 Jul 2020 17:38:01 -0700

RE: [net-next v4 06/15] iecm: Implement mailbox functionality

2020-07-22 Thread Brady, Alan
Phani R ; Hay, > Joshua A ; Chittim, Madhu > ; Linga, Pavan Kumar > ; Skidmore, Donald C > ; Brandeburg, Jesse > ; Samudrala, Sridhar > > Subject: Re: [net-next v4 06/15] iecm: Implement mailbox functionality > > On Mon, 20 Jul 2020 17:38:01 -0700 Tony Nguyen wrote: &g

Re: [net-next v4 06/15] iecm: Implement mailbox functionality

2020-07-21 Thread Jakub Kicinski
On Mon, 20 Jul 2020 17:38:01 -0700 Tony Nguyen wrote: > + struct iecm_adapter *adapter = vport->adapter; > + netdev_features_t dflt_features; > + netdev_features_t offloads = 0; > + struct iecm_netdev_priv *np; > + struct net_device *netdev; > + int err; > + > + netdev =

Re: [net-next v4 06/15] iecm: Implement mailbox functionality

2020-07-21 Thread Jakub Kicinski
On Mon, 20 Jul 2020 17:38:01 -0700 Tony Nguyen wrote: > + (cq->next_to_use)++; > + if (cq->next_to_use == cq->ring_size) > + cq->next_to_use = 0; > + } > + > + /* Force memory write to complete before letting hardware > + * know that there ar

Re: [net-next v4 06/15] iecm: Implement mailbox functionality

2020-07-21 Thread Jakub Kicinski
On Mon, 20 Jul 2020 17:38:01 -0700 Tony Nguyen wrote: > @@ -30,7 +38,32 @@ static enum iecm_status iecm_ctlq_init_regs(struct iecm_hw > *hw, > struct iecm_ctlq_info *cq, > bool is_rxq) > { > - /* stub */ > +

[net-next v4 06/15] iecm: Implement mailbox functionality

2020-07-20 Thread Tony Nguyen
From: Alice Michael Implement mailbox setup, take down, and commands. Signed-off-by: Alice Michael Signed-off-by: Alan Brady Signed-off-by: Phani Burra Signed-off-by: Joshua Hay Signed-off-by: Madhu Chittim Signed-off-by: Pavan Kumar Linga Reviewed-by: Donald Skidmore Reviewed-by: Jesse B