Home
last modified time | relevance | path

Searched refs:tmp_stats (Results 1 – 8 of 8) sorted by relevance

/openbmc/linux/drivers/net/ethernet/neterion/
H A Ds2io.c6231 u64 *tmp_stats) in s2io_get_ethtool_stats() argument
6240 tmp_stats[i++] = in s2io_get_ethtool_stats()
6243 tmp_stats[i++] = in s2io_get_ethtool_stats()
6246 tmp_stats[i++] = le64_to_cpu(stats->tmac_drop_frms); in s2io_get_ethtool_stats()
6247 tmp_stats[i++] = in s2io_get_ethtool_stats()
6250 tmp_stats[i++] = in s2io_get_ethtool_stats()
6253 tmp_stats[i++] = le64_to_cpu(stats->tmac_pause_ctrl_frms); in s2io_get_ethtool_stats()
6254 tmp_stats[i++] = in s2io_get_ethtool_stats()
6257 tmp_stats[i++] = in s2io_get_ethtool_stats()
6260 tmp_stats[i++] = in s2io_get_ethtool_stats()
[all …]
/openbmc/linux/drivers/net/ethernet/realtek/
H A D8139cp.c1539 struct ethtool_stats *estats, u64 *tmp_stats) in cp_get_ethtool_stats() argument
1566 tmp_stats[i++] = le64_to_cpu(nic_stats->tx_ok); in cp_get_ethtool_stats()
1567 tmp_stats[i++] = le64_to_cpu(nic_stats->rx_ok); in cp_get_ethtool_stats()
1568 tmp_stats[i++] = le64_to_cpu(nic_stats->tx_err); in cp_get_ethtool_stats()
1569 tmp_stats[i++] = le32_to_cpu(nic_stats->rx_err); in cp_get_ethtool_stats()
1570 tmp_stats[i++] = le16_to_cpu(nic_stats->rx_fifo); in cp_get_ethtool_stats()
1571 tmp_stats[i++] = le16_to_cpu(nic_stats->frame_align); in cp_get_ethtool_stats()
1572 tmp_stats[i++] = le32_to_cpu(nic_stats->tx_ok_1col); in cp_get_ethtool_stats()
1573 tmp_stats[i++] = le32_to_cpu(nic_stats->tx_ok_mcol); in cp_get_ethtool_stats()
1574 tmp_stats[i++] = le64_to_cpu(nic_stats->rx_ok_phys); in cp_get_ethtool_stats()
[all …]
/openbmc/linux/drivers/net/ethernet/cavium/thunder/
H A Dnicvf_ethtool.c325 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()
H A Dnicvf_main.c1659 u64 tmp_stats = 0; in nicvf_update_stats() local
1699 tmp_stats += drv_stats->tx_tso; in nicvf_update_stats()
1701 stats->tx_drops = tmp_stats - stats->tx_drops; in nicvf_update_stats()
/openbmc/linux/drivers/net/ethernet/netronome/nfp/flower/
H A Dconntrack.c715 enum flow_action_hw_stats tmp_stats = FLOW_ACTION_HW_STATS_DONT_CARE; in nfp_fl_merge_actions_offload() local
733 tmp_stats = rules[num_rules - 1]->action.entries[0].hw_stats; in nfp_fl_merge_actions_offload()
781 a_in->hw_stats = tmp_stats; in nfp_fl_merge_actions_offload()
799 csum_action->hw_stats = tmp_stats; in nfp_fl_merge_actions_offload()
/openbmc/linux/arch/um/drivers/
H A Dvector_kern.c1481 u64 *tmp_stats) in vector_get_ethtool_stats() argument
1485 memcpy(tmp_stats, &vp->estats, sizeof(struct vector_estats)); in vector_get_ethtool_stats()
/openbmc/linux/drivers/net/ethernet/ibm/emac/
H A Dcore.c2274 u64 * tmp_stats) in emac_ethtool_get_ethtool_stats() argument
2278 memcpy(tmp_stats, &dev->stats, sizeof(dev->stats)); in emac_ethtool_get_ethtool_stats()
2279 tmp_stats += sizeof(dev->stats) / sizeof(u64); in emac_ethtool_get_ethtool_stats()
2280 memcpy(tmp_stats, &dev->estats, sizeof(dev->estats)); in emac_ethtool_get_ethtool_stats()
/openbmc/linux/drivers/net/ethernet/broadcom/
H A Dtg3.c12817 struct ethtool_stats *estats, u64 *tmp_stats) in tg3_get_ethtool_stats() argument
12822 tg3_get_estats(tp, (struct tg3_ethtool_stats *)tmp_stats); in tg3_get_ethtool_stats()
12824 memset(tmp_stats, 0, sizeof(struct tg3_ethtool_stats)); in tg3_get_ethtool_stats()