On Fri, 9 Mar 2018 09:21:33 -0800 Anirudh Venkataramanan <anirudh.venkatarama...@intel.com> wrote:
> + /* VSI stats */ > + struct rtnl_link_stats64 net_stats; > + struct rtnl_link_stats64 net_stats_prev; > + struct ice_eth_stats eth_stats; > + struct ice_eth_stats eth_stats_prev; > + There is already a stats64 in netdev. You might want to also consider per-cpu statistics since incrementing a shared counter is cache unfriendly.