Re: [PATCH v5 05/13] net: ethernet: aquantia: Support for NIC-specific code

2017-01-14 Thread Andrew Lunn
On Sun, Jan 15, 2017 at 12:55:02AM +0200, Rami Rosen wrote: > Hi, Florian, > > > +} > > + > > +static int aq_ndev_change_mtu(struct net_device *ndev, int new_mtu) > > +{ > > + struct aq_nic_s *aq_nic = (struct aq_nic_s *)netdev_priv(ndev); > > + int err = 0; > > + > > + if (new_mtu ==

Re: [PATCH v5 05/13] net: ethernet: aquantia: Support for NIC-specific code

2017-01-14 Thread Rami Rosen
Hi, Florian, > +} > + > +static int aq_ndev_change_mtu(struct net_device *ndev, int new_mtu) > +{ > + struct aq_nic_s *aq_nic = (struct aq_nic_s *)netdev_priv(ndev); > + int err = 0; > + > + if (new_mtu == ndev->mtu) { > + err = 0; > + goto err_exit; > + } >

Re: [PATCH v5 05/13] net: ethernet: aquantia: Support for NIC-specific code

2017-01-13 Thread Florian Fainelli
On 01/12/2017 09:02 PM, Alexander Loktionov wrote: > From: David VomLehn > > Add support for code specific to the Atlantic NIC. > > Signed-off-by: Alexander Loktionov > Signed-off-by: Dmitrii Tarakanov > Signed-off-by: Pavel Belous > Signed-off-by: Dmitry Bezrukov > Signed-off-by: David M. V

[PATCH v5 05/13] net: ethernet: aquantia: Support for NIC-specific code

2017-01-12 Thread Alexander Loktionov
From: David VomLehn Add support for code specific to the Atlantic NIC. Signed-off-by: Alexander Loktionov Signed-off-by: Dmitrii Tarakanov Signed-off-by: Pavel Belous Signed-off-by: Dmitry Bezrukov Signed-off-by: David M. VomLehn --- drivers/net/ethernet/aquantia/aq_main.c | 291 ++