Re: [PATCH net-next] hinic: implement the statistical interface of ethtool
From: Xue Chaojing Date: Thu, 20 Jun 2019 05:58:08 + > + p = (char *)(&txq_stats) + > + hinic_tx_queue_stats[j].offset; Parenthesis around &txq_stats is unnecessary. > + p = (char *)(&rxq_stats) + > +
[PATCH net-next] hinic: implement the statistical interface of ethtool
This patch implement the statistical interface of ethtool, user can use ethtool -S to show hinic statistics. Signed-off-by: Xue Chaojing --- .../net/ethernet/huawei/hinic/hinic_ethtool.c | 341 ++ .../net/ethernet/huawei/hinic/hinic_hw_dev.h | 8 + .../net/ethernet/huawei/hin