Re: [patch net] net: fec: cache statistics while device is down
From: Nikita Yushchenko
Date: Tue Nov 29 2016 - 00:43:30 EST
> >
> >+ fec_enet_update_ethtool_stats(ndev);
> >+
> If user never open the interface, ethtool_stats[] always is 0 that are not expected.
> So, it also should be called at . fec_enet_init() ?
I don't think that zero stats is wrong for never-opened interface.
However a call at init path won't hurt, so I'll add it, just to clear
the question.
Nikita