/drivers/net/ethernet/atheros/alx/ |
D | main.c | 1175 struct alx_hw_stats *hw_stats = &alx->hw.stats; in alx_get_stats64() local 1181 net_stats->tx_bytes = hw_stats->tx_byte_cnt; in alx_get_stats64() 1182 net_stats->rx_bytes = hw_stats->rx_byte_cnt; in alx_get_stats64() 1183 net_stats->multicast = hw_stats->rx_mcast; in alx_get_stats64() 1184 net_stats->collisions = hw_stats->tx_single_col + in alx_get_stats64() 1185 hw_stats->tx_multi_col + in alx_get_stats64() 1186 hw_stats->tx_late_col + in alx_get_stats64() 1187 hw_stats->tx_abort_col; in alx_get_stats64() 1189 net_stats->rx_errors = hw_stats->rx_frag + in alx_get_stats64() 1190 hw_stats->rx_fcs_err + in alx_get_stats64() [all …]
|
/drivers/net/ethernet/atheros/atl1e/ |
D | atl1e_main.c | 1174 struct atl1e_hw_stats *hw_stats = &adapter->hw_stats; in atl1e_get_stats() local 1177 net_stats->rx_bytes = hw_stats->rx_byte_cnt; in atl1e_get_stats() 1178 net_stats->tx_bytes = hw_stats->tx_byte_cnt; in atl1e_get_stats() 1179 net_stats->multicast = hw_stats->rx_mcast; in atl1e_get_stats() 1180 net_stats->collisions = hw_stats->tx_1_col + in atl1e_get_stats() 1181 hw_stats->tx_2_col + in atl1e_get_stats() 1182 hw_stats->tx_late_col + in atl1e_get_stats() 1183 hw_stats->tx_abort_col; in atl1e_get_stats() 1185 net_stats->rx_errors = hw_stats->rx_frag + in atl1e_get_stats() 1186 hw_stats->rx_fcs_err + in atl1e_get_stats() [all …]
|
D | atl1e.h | 438 struct atl1e_hw_stats hw_stats; member
|
/drivers/net/ethernet/atheros/atl1c/ |
D | atl1c_main.c | 1466 stats_item = &adapter->hw_stats.rx_ok; in atl1c_update_hw_stats() 1475 stats_item = &adapter->hw_stats.tx_ok; in atl1c_update_hw_stats() 1494 struct atl1c_hw_stats *hw_stats = &adapter->hw_stats; in atl1c_get_stats() local 1498 net_stats->rx_bytes = hw_stats->rx_byte_cnt; in atl1c_get_stats() 1499 net_stats->tx_bytes = hw_stats->tx_byte_cnt; in atl1c_get_stats() 1500 net_stats->multicast = hw_stats->rx_mcast; in atl1c_get_stats() 1501 net_stats->collisions = hw_stats->tx_1_col + in atl1c_get_stats() 1502 hw_stats->tx_2_col + in atl1c_get_stats() 1503 hw_stats->tx_late_col + in atl1c_get_stats() 1504 hw_stats->tx_abort_col; in atl1c_get_stats() [all …]
|
D | atl1c.h | 526 struct atl1c_hw_stats hw_stats; member
|
/drivers/net/ethernet/neterion/vxge/ |
D | vxge-config.c | 1512 struct vxge_hw_vpath_stats_hw_info *hw_stats) in __vxge_hw_vpath_stats_get() argument 1525 hw_stats->ini_num_mwr_sent = in __vxge_hw_vpath_stats_get() 1529 hw_stats->ini_num_mrd_sent = in __vxge_hw_vpath_stats_get() 1533 hw_stats->ini_num_cpl_rcvd = in __vxge_hw_vpath_stats_get() 1537 hw_stats->ini_num_mwr_byte_sent = in __vxge_hw_vpath_stats_get() 1541 hw_stats->ini_num_cpl_byte_rcvd = in __vxge_hw_vpath_stats_get() 1545 hw_stats->wrcrdtarb_xoff = in __vxge_hw_vpath_stats_get() 1549 hw_stats->rdcrdtarb_xoff = in __vxge_hw_vpath_stats_get() 1553 hw_stats->vpath_genstats_count0 = in __vxge_hw_vpath_stats_get() 1558 hw_stats->vpath_genstats_count1 = in __vxge_hw_vpath_stats_get() [all …]
|
D | vxge-ethtool.c | 218 struct vxge_hw_device_stats_hw_info *hw_stats; in vxge_get_ethtool_stats() local 243 hw_stats = kzalloc(sizeof(struct vxge_hw_device_stats_hw_info), in vxge_get_ethtool_stats() 245 if (hw_stats == NULL) { in vxge_get_ethtool_stats() 270 status = vxge_hw_device_stats_get(hldev, hw_stats); in vxge_get_ethtool_stats() 281 vpath_info = hw_stats->vpath_info[j]; in vxge_get_ethtool_stats() 515 vpath_info = hw_stats->vpath_info[j]; in vxge_get_ethtool_stats() 575 kfree(hw_stats); in vxge_get_ethtool_stats()
|
/drivers/net/ethernet/ |
D | dnet.c | 364 u32 *p = &bp->hw_stats.rx_pkt_ignr; in dnet_update_stats() 365 u32 *end = &bp->hw_stats.rx_byte + 1; in dnet_update_stats() 374 p = &bp->hw_stats.tx_unicast; in dnet_update_stats() 375 end = &bp->hw_stats.tx_byte + 1; in dnet_update_stats() 726 struct dnet_stats *hwstat = &bp->hw_stats; in dnet_get_stats()
|
D | dnet.h | 213 struct dnet_stats hw_stats; member
|
/drivers/net/ethernet/emulex/benet/ |
D | be_main.c | 314 return &cmd->hw_stats; in hw_stats_from_cmd() 318 return &cmd->hw_stats; in hw_stats_from_cmd() 322 return &cmd->hw_stats; in hw_stats_from_cmd() 330 struct be_hw_stats_v0 *hw_stats = hw_stats_from_cmd(adapter); in be_erx_stats_from_cmd() local 332 return &hw_stats->erx; in be_erx_stats_from_cmd() 334 struct be_hw_stats_v1 *hw_stats = hw_stats_from_cmd(adapter); in be_erx_stats_from_cmd() local 336 return &hw_stats->erx; in be_erx_stats_from_cmd() 338 struct be_hw_stats_v2 *hw_stats = hw_stats_from_cmd(adapter); in be_erx_stats_from_cmd() local 340 return &hw_stats->erx; in be_erx_stats_from_cmd() 346 struct be_hw_stats_v0 *hw_stats = hw_stats_from_cmd(adapter); in populate_be_v0_stats() local [all …]
|
D | be_cmds.h | 732 struct be_hw_stats_v0 hw_stats; member 1738 struct be_hw_stats_v1 hw_stats; member 1761 struct be_hw_stats_v2 hw_stats; member
|
/drivers/net/ethernet/chelsio/cxgb/ |
D | vsc7326.c | 595 } hw_stats[] = { in port_stats_update() local 621 }, *p = hw_stats; in port_stats_update() 626 for (i = 0; i < ARRAY_SIZE(hw_stats); i++) in port_stats_update()
|
/drivers/net/ethernet/oki-semi/pch_gbe/ |
D | pch_gbe_ethtool.c | 470 char *hw_stats = (char *)&adapter->stats; in pch_gbe_get_ethtool_stats() local 474 char *p = hw_stats + gstats->offset; in pch_gbe_get_ethtool_stats()
|
/drivers/net/ethernet/cadence/ |
D | macb.c | 444 u32 *p = &bp->hw_stats.macb.rx_pause_frames; in macb_update_stats() 445 u32 *end = &bp->hw_stats.macb.tx_pause_frames + 1; in macb_update_stats() 1011 bp->hw_stats.gem.rx_overruns++; in macb_interrupt() 1013 bp->hw_stats.macb.rx_overruns++; in macb_interrupt() 1768 u32 *p = &bp->hw_stats.gem.tx_octets_31_0; in gem_update_stats() 1769 u32 *end = &bp->hw_stats.gem.rx_udp_checksum_errors + 1; in gem_update_stats() 1777 struct gem_stats *hwstat = &bp->hw_stats.gem; in gem_get_stats() 1817 struct macb_stats *hwstat = &bp->hw_stats.macb; in macb_get_stats()
|
D | macb.h | 626 } hw_stats; member
|
/drivers/net/ethernet/brocade/bna/ |
D | bnad_ethtool.c | 887 stats64 = (u64 *) &bnad->stats.bna_stats->hw_stats; in bnad_get_ethtool_stats() 899 hw_stats.txf_stats[i]; in bnad_get_ethtool_stats() 912 hw_stats.rxf_stats[i]; in bnad_get_ethtool_stats()
|
D | bna_enet.c | 73 stats_dst = (u64 *)&bna->stats.hw_stats._name ## _stats; \ 207 stats_dst = (u64 *)&(bna->stats.hw_stats.rxf_stats[i]); in bna_bfi_stats_get_rsp() 222 stats_dst = (u64 *)&(bna->stats.hw_stats.txf_stats[i]); in bna_bfi_stats_get_rsp()
|
D | bna_types.h | 911 struct bfi_enet_stats hw_stats; member
|
/drivers/net/ethernet/broadcom/ |
D | b44.h | 392 struct b44_hw_stats hw_stats; member
|
D | tg3.c | 8710 if (tp->hw_stats) { in tg3_free_consistent() 8712 tp->hw_stats, tp->stats_mapping); in tg3_free_consistent() 8713 tp->hw_stats = NULL; in tg3_free_consistent() 8726 tp->hw_stats = dma_zalloc_coherent(&tp->pdev->dev, in tg3_alloc_consistent() 8729 if (!tp->hw_stats) in tg3_alloc_consistent() 9306 if (tp->hw_stats) { in tg3_halt() 9312 memset(tp->hw_stats, 0, sizeof(struct tg3_hw_stats)); in tg3_halt() 10823 struct tg3_hw_stats *sp = tp->hw_stats; in tg3_periodic_fetch_stats() 11735 struct tg3_hw_stats *hw_stats = tp->hw_stats; in tg3_calc_crc_errors() local 11754 return get_stat64(&hw_stats->rx_fcs_errors); in tg3_calc_crc_errors() [all …]
|
D | b44.c | 507 val = &bp->hw_stats.tx_good_octets; in b44_stats_update() 508 u64_stats_update_begin(&bp->hw_stats.syncp); in b44_stats_update() 521 u64_stats_update_end(&bp->hw_stats.syncp); in b44_stats_update() 1684 struct b44_hw_stats *hwstat = &bp->hw_stats; in b44_get_stats64() 2064 struct b44_hw_stats *hwstat = &bp->hw_stats; in b44_get_ethtool_stats()
|
/drivers/net/ethernet/ti/ |
D | cpsw.c | 388 u8 __iomem *hw_stats; member 1035 val = readl(priv->hw_stats + in cpsw_get_ethtool_stats() 2146 priv_sl2->hw_stats = priv->hw_stats; in cpsw_probe_dual_emac() 2289 priv->hw_stats = ss_regs + CPSW1_HW_STATS; in cpsw_probe() 2303 priv->hw_stats = ss_regs + CPSW2_HW_STATS; in cpsw_probe()
|
/drivers/net/ethernet/tehuti/ |
D | tehuti.h | 270 struct bdx_stats hw_stats; member
|
D | tehuti.c | 885 struct bdx_stats *stats = &priv->hw_stats; in bdx_update_stats() 2393 memcpy(data, &priv->hw_stats, sizeof(priv->hw_stats)); in bdx_get_ethtool_stats()
|
/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_ethtool.c | 3123 u32 *hw_stats, *offset; in bnx2x_get_ethtool_stats() local 3128 hw_stats = (u32 *)&bp->fp_stats[i].eth_q_stats; in bnx2x_get_ethtool_stats() 3135 offset = (hw_stats + in bnx2x_get_ethtool_stats() 3149 hw_stats = (u32 *)&bp->eth_stats; in bnx2x_get_ethtool_stats() 3159 offset = (hw_stats + bnx2x_stats_arr[i].offset); in bnx2x_get_ethtool_stats()
|