Re: [PATCH net-next] net: dwc-xlgmac: add the initial ethtool support

2017-04-11 Thread Jie Deng
On 2017/4/11 22:47, David Miller wrote: > From: Jie Deng > Date: Tue, 11 Apr 2017 16:14:04 +0800 > >> It is necessary to provide ethtool support for displaying and >> modifying parameters of dwc-xlgmac. >> >> Signed-off-by: Jie Deng > I don't see why you cannot allow the statistics to be obtaine

Re: [PATCH net-next] net: dwc-xlgmac: add the initial ethtool support

2017-04-11 Thread David Miller
From: Jie Deng Date: Tue, 11 Apr 2017 16:14:04 +0800 > It is necessary to provide ethtool support for displaying and > modifying parameters of dwc-xlgmac. > > Signed-off-by: Jie Deng I don't see why you cannot allow the statistics to be obtained when the device is not running. Similarly for o

[PATCH net-next] net: dwc-xlgmac: add the initial ethtool support

2017-04-11 Thread Jie Deng
It is necessary to provide ethtool support for displaying and modifying parameters of dwc-xlgmac. Signed-off-by: Jie Deng --- drivers/net/ethernet/synopsys/Makefile | 3 +- drivers/net/ethernet/synopsys/dwc-xlgmac-common.c | 1 + drivers/net/ethernet/synopsys/dwc-xlgmac-ethtool.