Searched refs:tmp_stats (Results 1 – 7 of 7) sorted by relevance
/drivers/net/ethernet/neterion/ |
D | s2io.c | 6235 u64 *tmp_stats) in s2io_get_ethtool_stats() argument 6244 tmp_stats[i++] = in s2io_get_ethtool_stats() 6247 tmp_stats[i++] = in s2io_get_ethtool_stats() 6250 tmp_stats[i++] = le64_to_cpu(stats->tmac_drop_frms); in s2io_get_ethtool_stats() 6251 tmp_stats[i++] = in s2io_get_ethtool_stats() 6254 tmp_stats[i++] = in s2io_get_ethtool_stats() 6257 tmp_stats[i++] = le64_to_cpu(stats->tmac_pause_ctrl_frms); in s2io_get_ethtool_stats() 6258 tmp_stats[i++] = in s2io_get_ethtool_stats() 6261 tmp_stats[i++] = in s2io_get_ethtool_stats() 6264 tmp_stats[i++] = in s2io_get_ethtool_stats() [all …]
|
/drivers/net/ethernet/realtek/ |
D | 8139cp.c | 1537 struct ethtool_stats *estats, u64 *tmp_stats) in cp_get_ethtool_stats() argument 1564 tmp_stats[i++] = le64_to_cpu(nic_stats->tx_ok); in cp_get_ethtool_stats() 1565 tmp_stats[i++] = le64_to_cpu(nic_stats->rx_ok); in cp_get_ethtool_stats() 1566 tmp_stats[i++] = le64_to_cpu(nic_stats->tx_err); in cp_get_ethtool_stats() 1567 tmp_stats[i++] = le32_to_cpu(nic_stats->rx_err); in cp_get_ethtool_stats() 1568 tmp_stats[i++] = le16_to_cpu(nic_stats->rx_fifo); in cp_get_ethtool_stats() 1569 tmp_stats[i++] = le16_to_cpu(nic_stats->frame_align); in cp_get_ethtool_stats() 1570 tmp_stats[i++] = le32_to_cpu(nic_stats->tx_ok_1col); in cp_get_ethtool_stats() 1571 tmp_stats[i++] = le32_to_cpu(nic_stats->tx_ok_mcol); in cp_get_ethtool_stats() 1572 tmp_stats[i++] = le64_to_cpu(nic_stats->rx_ok_phys); in cp_get_ethtool_stats() [all …]
|
/drivers/net/ethernet/cavium/thunder/ |
D | nicvf_ethtool.c | 325 int stat, tmp_stats; in nicvf_get_ethtool_stats() local 337 tmp_stats = 0; in nicvf_get_ethtool_stats() 339 tmp_stats += ((u64 *)per_cpu_ptr(nic->drv_stats, cpu)) in nicvf_get_ethtool_stats() 341 *(data++) = tmp_stats; in nicvf_get_ethtool_stats()
|
D | nicvf_main.c | 1660 u64 tmp_stats = 0; in nicvf_update_stats() local 1700 tmp_stats += drv_stats->tx_tso; in nicvf_update_stats() 1702 stats->tx_drops = tmp_stats - stats->tx_drops; in nicvf_update_stats()
|
/drivers/net/ethernet/neterion/vxge/ |
D | vxge-ethtool.c | 230 struct ethtool_stats *estats, u64 *tmp_stats) in vxge_get_ethtool_stats() argument 242 u64 *ptr = tmp_stats; in vxge_get_ethtool_stats() 244 memset(tmp_stats, 0, in vxge_get_ethtool_stats()
|
/drivers/net/ethernet/ibm/emac/ |
D | core.c | 2270 u64 * tmp_stats) in emac_ethtool_get_ethtool_stats() argument 2274 memcpy(tmp_stats, &dev->stats, sizeof(dev->stats)); in emac_ethtool_get_ethtool_stats() 2275 tmp_stats += sizeof(dev->stats) / sizeof(u64); in emac_ethtool_get_ethtool_stats() 2276 memcpy(tmp_stats, &dev->estats, sizeof(dev->estats)); in emac_ethtool_get_ethtool_stats()
|
/drivers/net/ethernet/broadcom/ |
D | tg3.c | 12821 struct ethtool_stats *estats, u64 *tmp_stats) in tg3_get_ethtool_stats() argument 12826 tg3_get_estats(tp, (struct tg3_ethtool_stats *)tmp_stats); in tg3_get_ethtool_stats() 12828 memset(tmp_stats, 0, sizeof(struct tg3_ethtool_stats)); in tg3_get_ethtool_stats()
|