Re: [PATCH net 20/20] net/hinic: Add ethtool and stats

2017-07-13 Thread Aviad Krawczyk (A)
Hi Andrew, We will separate the patches when we will resubmit. Aviad On 7/12/2017 6:43 PM, Andrew Lunn wrote: > On Wed, Jul 12, 2017 at 10:17:26PM +0800, Aviad Krawczyk wrote: > > Hi Avaid > >> + >> +static void hinic_tx_timeout(struct net_device *netdev) >> +{ >> +struct hinic_dev *nic_d

Re: [PATCH net 20/20] net/hinic: Add ethtool and stats

2017-07-12 Thread Andrew Lunn
On Wed, Jul 12, 2017 at 10:17:26PM +0800, Aviad Krawczyk wrote: Hi Avaid > + > +static void hinic_tx_timeout(struct net_device *netdev) > +{ > + struct hinic_dev *nic_dev = netdev_priv(netdev); > + > + netif_err(nic_dev, drv, netdev, "Tx timeout\n"); > +} > + > +#ifdef CONFIG_NET_POLL_CON

[PATCH net 20/20] net/hinic: Add ethtool and stats

2017-07-12 Thread Aviad Krawczyk
Add ethtool operations and statistics operations. Signed-off-by: Aviad Krawczyk Signed-off-by: Zhaochen --- MAINTAINERS| 7 + drivers/net/ethernet/huawei/hinic/hinic_dev.h | 3 + drivers/net/ethernet/huawei/hinic/hinic_main.c | 262 ++