hw_stats 1868 drivers/infiniband/core/nldev.c stats = device->port_data ? device->port_data[port].hw_stats : NULL; hw_stats 64 drivers/infiniband/core/sysfs.c struct rdma_hw_stats *hw_stats; hw_stats 835 drivers/infiniband/core/sysfs.c stats = dev->hw_stats; hw_stats 839 drivers/infiniband/core/sysfs.c stats = port->hw_stats; hw_stats 865 drivers/infiniband/core/sysfs.c stats = dev->hw_stats; hw_stats 869 drivers/infiniband/core/sysfs.c stats = p->hw_stats; hw_stats 900 drivers/infiniband/core/sysfs.c stats = dev->hw_stats; hw_stats 904 drivers/infiniband/core/sysfs.c stats = p->hw_stats; hw_stats 1015 drivers/infiniband/core/sysfs.c port->hw_stats = stats; hw_stats 1017 drivers/infiniband/core/sysfs.c device->port_data[port_num].hw_stats = stats; hw_stats 1024 drivers/infiniband/core/sysfs.c device->hw_stats = stats; hw_stats 1318 drivers/infiniband/core/sysfs.c kfree(port->hw_stats); hw_stats 1320 drivers/infiniband/core/sysfs.c device->port_data[port->port_num].hw_stats = NULL; hw_stats 1379 drivers/infiniband/core/sysfs.c kfree(device->hw_stats); hw_stats 4852 drivers/infiniband/hw/i40iw/i40iw_ctrl.c struct i40iw_dev_hw_stats *hw_stats = &stats->hw_stats; hw_stats 4859 drivers/infiniband/hw/i40iw/i40iw_ctrl.c hw_stats->stats_value_32[index] += new_stats_value; hw_stats 4861 drivers/infiniband/hw/i40iw/i40iw_ctrl.c hw_stats->stats_value_32[index] += hw_stats 4864 drivers/infiniband/hw/i40iw/i40iw_ctrl.c *value = hw_stats->stats_value_32[index]; hw_stats 4880 drivers/infiniband/hw/i40iw/i40iw_ctrl.c struct i40iw_dev_hw_stats *hw_stats = &stats->hw_stats; hw_stats 4887 drivers/infiniband/hw/i40iw/i40iw_ctrl.c hw_stats->stats_value_64[index] += new_stats_value; hw_stats 4889 drivers/infiniband/hw/i40iw/i40iw_ctrl.c hw_stats->stats_value_64[index] += hw_stats 4892 drivers/infiniband/hw/i40iw/i40iw_ctrl.c *value = hw_stats->stats_value_64[index]; hw_stats 249 drivers/infiniband/hw/i40iw/i40iw_type.h struct i40iw_dev_hw_stats hw_stats; hw_stats 1518 drivers/infiniband/hw/i40iw/i40iw_utils.c i40iw_hw_stats_read_all(pf_devstat, &pf_devstat->hw_stats); hw_stats 1525 drivers/infiniband/hw/i40iw/i40iw_utils.c i40iw_hw_stats_read_all(vf_devstat, &vf_devstat->hw_stats); hw_stats 2584 drivers/infiniband/hw/i40iw/i40iw_verbs.c struct i40iw_dev_hw_stats *hw_stats = &devstat->hw_stats; hw_stats 2587 drivers/infiniband/hw/i40iw/i40iw_verbs.c i40iw_hw_stats_read_all(devstat, &devstat->hw_stats); hw_stats 2589 drivers/infiniband/hw/i40iw/i40iw_verbs.c if (i40iw_vchnl_vf_get_pe_stats(dev, &devstat->hw_stats)) hw_stats 2593 drivers/infiniband/hw/i40iw/i40iw_verbs.c memcpy(&stats->value[0], hw_stats, sizeof(*hw_stats)); hw_stats 257 drivers/infiniband/hw/i40iw/i40iw_virtchnl.c struct i40iw_dev_hw_stats *hw_stats) hw_stats 267 drivers/infiniband/hw/i40iw/i40iw_virtchnl.c *((struct i40iw_dev_hw_stats *)vchnl_msg_resp->iw_chnl_buf) = *hw_stats; hw_stats 540 drivers/infiniband/hw/i40iw/i40iw_virtchnl.c i40iw_hw_stats_read_all(stats, &stats->hw_stats); hw_stats 542 drivers/infiniband/hw/i40iw/i40iw_virtchnl.c vchnl_pf_send_get_pe_stats_resp(dev, vf_id, vchnl_msg, &stats->hw_stats); hw_stats 732 drivers/infiniband/hw/i40iw/i40iw_virtchnl.c struct i40iw_dev_hw_stats *hw_stats) hw_stats 741 drivers/infiniband/hw/i40iw/i40iw_virtchnl.c vchnl_req.parm = hw_stats; hw_stats 742 drivers/infiniband/hw/i40iw/i40iw_virtchnl.c vchnl_req.parm_len = sizeof(*hw_stats); hw_stats 123 drivers/infiniband/hw/i40iw/i40iw_virtchnl.h struct i40iw_dev_hw_stats *hw_stats); hw_stats 379 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c struct c8sectpfe_hw *hw = &fei->hw_stats; hw_stats 412 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c for_each_set_bit(bit, &tmp, fei->hw_stats.num_ib) { hw_stats 746 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c fei->tsin_count > fei->hw_stats.num_ib) { hw_stats 784 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c if (tsin->tsin_id > fei->hw_stats.num_ib) { hw_stats 787 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c tsin->tsin_id, fei->hw_stats.num_ib); hw_stats 81 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.h struct c8sectpfe_hw hw_stats; hw_stats 1630 drivers/net/ethernet/atheros/alx/main.c struct alx_hw_stats *hw_stats = &alx->hw.stats; hw_stats 1636 drivers/net/ethernet/atheros/alx/main.c net_stats->tx_bytes = hw_stats->tx_byte_cnt; hw_stats 1637 drivers/net/ethernet/atheros/alx/main.c net_stats->rx_bytes = hw_stats->rx_byte_cnt; hw_stats 1638 drivers/net/ethernet/atheros/alx/main.c net_stats->multicast = hw_stats->rx_mcast; hw_stats 1639 drivers/net/ethernet/atheros/alx/main.c net_stats->collisions = hw_stats->tx_single_col + hw_stats 1640 drivers/net/ethernet/atheros/alx/main.c hw_stats->tx_multi_col + hw_stats 1641 drivers/net/ethernet/atheros/alx/main.c hw_stats->tx_late_col + hw_stats 1642 drivers/net/ethernet/atheros/alx/main.c hw_stats->tx_abort_col; hw_stats 1644 drivers/net/ethernet/atheros/alx/main.c net_stats->rx_errors = hw_stats->rx_frag + hw_stats 1645 drivers/net/ethernet/atheros/alx/main.c hw_stats->rx_fcs_err + hw_stats 1646 drivers/net/ethernet/atheros/alx/main.c hw_stats->rx_len_err + hw_stats 1647 drivers/net/ethernet/atheros/alx/main.c hw_stats->rx_ov_sz + hw_stats 1648 drivers/net/ethernet/atheros/alx/main.c hw_stats->rx_ov_rrd + hw_stats 1649 drivers/net/ethernet/atheros/alx/main.c hw_stats->rx_align_err + hw_stats 1650 drivers/net/ethernet/atheros/alx/main.c hw_stats->rx_ov_rxf; hw_stats 1652 drivers/net/ethernet/atheros/alx/main.c net_stats->rx_fifo_errors = hw_stats->rx_ov_rxf; hw_stats 1653 drivers/net/ethernet/atheros/alx/main.c net_stats->rx_length_errors = hw_stats->rx_len_err; hw_stats 1654 drivers/net/ethernet/atheros/alx/main.c net_stats->rx_crc_errors = hw_stats->rx_fcs_err; hw_stats 1655 drivers/net/ethernet/atheros/alx/main.c net_stats->rx_frame_errors = hw_stats->rx_align_err; hw_stats 1656 drivers/net/ethernet/atheros/alx/main.c net_stats->rx_dropped = hw_stats->rx_ov_rrd; hw_stats 1658 drivers/net/ethernet/atheros/alx/main.c net_stats->tx_errors = hw_stats->tx_late_col + hw_stats 1659 drivers/net/ethernet/atheros/alx/main.c hw_stats->tx_abort_col + hw_stats 1660 drivers/net/ethernet/atheros/alx/main.c hw_stats->tx_underrun + hw_stats 1661 drivers/net/ethernet/atheros/alx/main.c hw_stats->tx_trunc; hw_stats 1663 drivers/net/ethernet/atheros/alx/main.c net_stats->tx_aborted_errors = hw_stats->tx_abort_col; hw_stats 1664 drivers/net/ethernet/atheros/alx/main.c net_stats->tx_fifo_errors = hw_stats->tx_underrun; hw_stats 1665 drivers/net/ethernet/atheros/alx/main.c net_stats->tx_window_errors = hw_stats->tx_late_col; hw_stats 1667 drivers/net/ethernet/atheros/alx/main.c net_stats->tx_packets = hw_stats->tx_ok + net_stats->tx_errors; hw_stats 1668 drivers/net/ethernet/atheros/alx/main.c net_stats->rx_packets = hw_stats->rx_ok + net_stats->rx_errors; hw_stats 513 drivers/net/ethernet/atheros/atl1c/atl1c.h struct atl1c_hw_stats hw_stats; hw_stats 1458 drivers/net/ethernet/atheros/atl1c/atl1c_main.c stats_item = &adapter->hw_stats.rx_ok; hw_stats 1467 drivers/net/ethernet/atheros/atl1c/atl1c_main.c stats_item = &adapter->hw_stats.tx_ok; hw_stats 1486 drivers/net/ethernet/atheros/atl1c/atl1c_main.c struct atl1c_hw_stats *hw_stats = &adapter->hw_stats; hw_stats 1490 drivers/net/ethernet/atheros/atl1c/atl1c_main.c net_stats->rx_bytes = hw_stats->rx_byte_cnt; hw_stats 1491 drivers/net/ethernet/atheros/atl1c/atl1c_main.c net_stats->tx_bytes = hw_stats->tx_byte_cnt; hw_stats 1492 drivers/net/ethernet/atheros/atl1c/atl1c_main.c net_stats->multicast = hw_stats->rx_mcast; hw_stats 1493 drivers/net/ethernet/atheros/atl1c/atl1c_main.c net_stats->collisions = hw_stats->tx_1_col + hw_stats 1494 drivers/net/ethernet/atheros/atl1c/atl1c_main.c hw_stats->tx_2_col + hw_stats 1495 drivers/net/ethernet/atheros/atl1c/atl1c_main.c hw_stats->tx_late_col + hw_stats 1496 drivers/net/ethernet/atheros/atl1c/atl1c_main.c hw_stats->tx_abort_col; hw_stats 1498 drivers/net/ethernet/atheros/atl1c/atl1c_main.c net_stats->rx_errors = hw_stats->rx_frag + hw_stats 1499 drivers/net/ethernet/atheros/atl1c/atl1c_main.c hw_stats->rx_fcs_err + hw_stats 1500 drivers/net/ethernet/atheros/atl1c/atl1c_main.c hw_stats->rx_len_err + hw_stats 1501 drivers/net/ethernet/atheros/atl1c/atl1c_main.c hw_stats->rx_sz_ov + hw_stats 1502 drivers/net/ethernet/atheros/atl1c/atl1c_main.c hw_stats->rx_rrd_ov + hw_stats 1503 drivers/net/ethernet/atheros/atl1c/atl1c_main.c hw_stats->rx_align_err + hw_stats 1504 drivers/net/ethernet/atheros/atl1c/atl1c_main.c hw_stats->rx_rxf_ov; hw_stats 1506 drivers/net/ethernet/atheros/atl1c/atl1c_main.c net_stats->rx_fifo_errors = hw_stats->rx_rxf_ov; hw_stats 1507 drivers/net/ethernet/atheros/atl1c/atl1c_main.c net_stats->rx_length_errors = hw_stats->rx_len_err; hw_stats 1508 drivers/net/ethernet/atheros/atl1c/atl1c_main.c net_stats->rx_crc_errors = hw_stats->rx_fcs_err; hw_stats 1509 drivers/net/ethernet/atheros/atl1c/atl1c_main.c net_stats->rx_frame_errors = hw_stats->rx_align_err; hw_stats 1510 drivers/net/ethernet/atheros/atl1c/atl1c_main.c net_stats->rx_dropped = hw_stats->rx_rrd_ov; hw_stats 1512 drivers/net/ethernet/atheros/atl1c/atl1c_main.c net_stats->tx_errors = hw_stats->tx_late_col + hw_stats 1513 drivers/net/ethernet/atheros/atl1c/atl1c_main.c hw_stats->tx_abort_col + hw_stats 1514 drivers/net/ethernet/atheros/atl1c/atl1c_main.c hw_stats->tx_underrun + hw_stats 1515 drivers/net/ethernet/atheros/atl1c/atl1c_main.c hw_stats->tx_trunc; hw_stats 1517 drivers/net/ethernet/atheros/atl1c/atl1c_main.c net_stats->tx_fifo_errors = hw_stats->tx_underrun; hw_stats 1518 drivers/net/ethernet/atheros/atl1c/atl1c_main.c net_stats->tx_aborted_errors = hw_stats->tx_abort_col; hw_stats 1519 drivers/net/ethernet/atheros/atl1c/atl1c_main.c net_stats->tx_window_errors = hw_stats->tx_late_col; hw_stats 1521 drivers/net/ethernet/atheros/atl1c/atl1c_main.c net_stats->rx_packets = hw_stats->rx_ok + net_stats->rx_errors; hw_stats 1522 drivers/net/ethernet/atheros/atl1c/atl1c_main.c net_stats->tx_packets = hw_stats->tx_ok + net_stats->tx_errors; hw_stats 425 drivers/net/ethernet/atheros/atl1e/atl1e.h struct atl1e_hw_stats hw_stats; hw_stats 1157 drivers/net/ethernet/atheros/atl1e/atl1e_main.c struct atl1e_hw_stats *hw_stats = &adapter->hw_stats; hw_stats 1160 drivers/net/ethernet/atheros/atl1e/atl1e_main.c net_stats->rx_bytes = hw_stats->rx_byte_cnt; hw_stats 1161 drivers/net/ethernet/atheros/atl1e/atl1e_main.c net_stats->tx_bytes = hw_stats->tx_byte_cnt; hw_stats 1162 drivers/net/ethernet/atheros/atl1e/atl1e_main.c net_stats->multicast = hw_stats->rx_mcast; hw_stats 1163 drivers/net/ethernet/atheros/atl1e/atl1e_main.c net_stats->collisions = hw_stats->tx_1_col + hw_stats 1164 drivers/net/ethernet/atheros/atl1e/atl1e_main.c hw_stats->tx_2_col + hw_stats 1165 drivers/net/ethernet/atheros/atl1e/atl1e_main.c hw_stats->tx_late_col + hw_stats 1166 drivers/net/ethernet/atheros/atl1e/atl1e_main.c hw_stats->tx_abort_col; hw_stats 1168 drivers/net/ethernet/atheros/atl1e/atl1e_main.c net_stats->rx_errors = hw_stats->rx_frag + hw_stats 1169 drivers/net/ethernet/atheros/atl1e/atl1e_main.c hw_stats->rx_fcs_err + hw_stats 1170 drivers/net/ethernet/atheros/atl1e/atl1e_main.c hw_stats->rx_len_err + hw_stats 1171 drivers/net/ethernet/atheros/atl1e/atl1e_main.c hw_stats->rx_sz_ov + hw_stats 1172 drivers/net/ethernet/atheros/atl1e/atl1e_main.c hw_stats->rx_rrd_ov + hw_stats 1173 drivers/net/ethernet/atheros/atl1e/atl1e_main.c hw_stats->rx_align_err + hw_stats 1174 drivers/net/ethernet/atheros/atl1e/atl1e_main.c hw_stats->rx_rxf_ov; hw_stats 1176 drivers/net/ethernet/atheros/atl1e/atl1e_main.c net_stats->rx_fifo_errors = hw_stats->rx_rxf_ov; hw_stats 1177 drivers/net/ethernet/atheros/atl1e/atl1e_main.c net_stats->rx_length_errors = hw_stats->rx_len_err; hw_stats 1178 drivers/net/ethernet/atheros/atl1e/atl1e_main.c net_stats->rx_crc_errors = hw_stats->rx_fcs_err; hw_stats 1179 drivers/net/ethernet/atheros/atl1e/atl1e_main.c net_stats->rx_frame_errors = hw_stats->rx_align_err; hw_stats 1180 drivers/net/ethernet/atheros/atl1e/atl1e_main.c net_stats->rx_dropped = hw_stats->rx_rrd_ov; hw_stats 1182 drivers/net/ethernet/atheros/atl1e/atl1e_main.c net_stats->tx_errors = hw_stats->tx_late_col + hw_stats 1183 drivers/net/ethernet/atheros/atl1e/atl1e_main.c hw_stats->tx_abort_col + hw_stats 1184 drivers/net/ethernet/atheros/atl1e/atl1e_main.c hw_stats->tx_underrun + hw_stats 1185 drivers/net/ethernet/atheros/atl1e/atl1e_main.c hw_stats->tx_trunc; hw_stats 1187 drivers/net/ethernet/atheros/atl1e/atl1e_main.c net_stats->tx_fifo_errors = hw_stats->tx_underrun; hw_stats 1188 drivers/net/ethernet/atheros/atl1e/atl1e_main.c net_stats->tx_aborted_errors = hw_stats->tx_abort_col; hw_stats 1189 drivers/net/ethernet/atheros/atl1e/atl1e_main.c net_stats->tx_window_errors = hw_stats->tx_late_col; hw_stats 1191 drivers/net/ethernet/atheros/atl1e/atl1e_main.c net_stats->rx_packets = hw_stats->rx_ok + net_stats->rx_errors; hw_stats 1192 drivers/net/ethernet/atheros/atl1e/atl1e_main.c net_stats->tx_packets = hw_stats->tx_ok + net_stats->tx_errors; hw_stats 1204 drivers/net/ethernet/atheros/atl1e/atl1e_main.c stats_item = &adapter->hw_stats.rx_ok; hw_stats 1212 drivers/net/ethernet/atheros/atl1e/atl1e_main.c stats_item = &adapter->hw_stats.tx_ok; hw_stats 507 drivers/net/ethernet/broadcom/b44.c val = &bp->hw_stats.tx_good_octets; hw_stats 508 drivers/net/ethernet/broadcom/b44.c u64_stats_update_begin(&bp->hw_stats.syncp); hw_stats 521 drivers/net/ethernet/broadcom/b44.c u64_stats_update_end(&bp->hw_stats.syncp); hw_stats 1682 drivers/net/ethernet/broadcom/b44.c struct b44_hw_stats *hwstat = &bp->hw_stats; hw_stats 2073 drivers/net/ethernet/broadcom/b44.c struct b44_hw_stats *hwstat = &bp->hw_stats; hw_stats 2374 drivers/net/ethernet/broadcom/b44.c u64_stats_init(&bp->hw_stats.syncp); hw_stats 397 drivers/net/ethernet/broadcom/b44.h struct b44_hw_stats hw_stats; hw_stats 6789 drivers/net/ethernet/broadcom/bnx2.c u32 *hw_stats = (u32 *) bp->stats_blk; hw_stats 6798 drivers/net/ethernet/broadcom/bnx2.c hi = temp_stats[i] + hw_stats[i]; hw_stats 6799 drivers/net/ethernet/broadcom/bnx2.c lo = (u64) temp_stats[i + 1] + (u64) hw_stats[i + 1]; hw_stats 6807 drivers/net/ethernet/broadcom/bnx2.c temp_stats[i] += hw_stats[i]; hw_stats 7674 drivers/net/ethernet/broadcom/bnx2.c u32 *hw_stats = (u32 *) bp->stats_blk; hw_stats 7678 drivers/net/ethernet/broadcom/bnx2.c if (!hw_stats) { hw_stats 7703 drivers/net/ethernet/broadcom/bnx2.c buf[i] = (u64) *(hw_stats + offset) + hw_stats 7708 drivers/net/ethernet/broadcom/bnx2.c buf[i] = (((u64) *(hw_stats + offset)) << 32) + hw_stats 7709 drivers/net/ethernet/broadcom/bnx2.c *(hw_stats + offset + 1) + hw_stats 3238 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c u32 *hw_stats, *offset; hw_stats 3243 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c hw_stats = (u32 *)&bp->fp_stats[i].eth_q_stats; hw_stats 3250 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c offset = (hw_stats + hw_stats 3264 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c hw_stats = (u32 *)&bp->eth_stats; hw_stats 3274 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c offset = (hw_stats + bnx2x_stats_arr[i].offset); hw_stats 3756 drivers/net/ethernet/broadcom/bnxt/bnxt.c if (cpr->hw_stats) { hw_stats 3757 drivers/net/ethernet/broadcom/bnxt/bnxt.c dma_free_coherent(&pdev->dev, size, cpr->hw_stats, hw_stats 3759 drivers/net/ethernet/broadcom/bnxt/bnxt.c cpr->hw_stats = NULL; hw_stats 3775 drivers/net/ethernet/broadcom/bnxt/bnxt.c cpr->hw_stats = dma_alloc_coherent(&pdev->dev, size, hw_stats 3778 drivers/net/ethernet/broadcom/bnxt/bnxt.c if (!cpr->hw_stats) hw_stats 9436 drivers/net/ethernet/broadcom/bnxt/bnxt.c struct ctx_hw_stats *hw_stats = cpr->hw_stats; hw_stats 9438 drivers/net/ethernet/broadcom/bnxt/bnxt.c stats->rx_packets += le64_to_cpu(hw_stats->rx_ucast_pkts); hw_stats 9439 drivers/net/ethernet/broadcom/bnxt/bnxt.c stats->rx_packets += le64_to_cpu(hw_stats->rx_mcast_pkts); hw_stats 9440 drivers/net/ethernet/broadcom/bnxt/bnxt.c stats->rx_packets += le64_to_cpu(hw_stats->rx_bcast_pkts); hw_stats 9442 drivers/net/ethernet/broadcom/bnxt/bnxt.c stats->tx_packets += le64_to_cpu(hw_stats->tx_ucast_pkts); hw_stats 9443 drivers/net/ethernet/broadcom/bnxt/bnxt.c stats->tx_packets += le64_to_cpu(hw_stats->tx_mcast_pkts); hw_stats 9444 drivers/net/ethernet/broadcom/bnxt/bnxt.c stats->tx_packets += le64_to_cpu(hw_stats->tx_bcast_pkts); hw_stats 9446 drivers/net/ethernet/broadcom/bnxt/bnxt.c stats->rx_bytes += le64_to_cpu(hw_stats->rx_ucast_bytes); hw_stats 9447 drivers/net/ethernet/broadcom/bnxt/bnxt.c stats->rx_bytes += le64_to_cpu(hw_stats->rx_mcast_bytes); hw_stats 9448 drivers/net/ethernet/broadcom/bnxt/bnxt.c stats->rx_bytes += le64_to_cpu(hw_stats->rx_bcast_bytes); hw_stats 9450 drivers/net/ethernet/broadcom/bnxt/bnxt.c stats->tx_bytes += le64_to_cpu(hw_stats->tx_ucast_bytes); hw_stats 9451 drivers/net/ethernet/broadcom/bnxt/bnxt.c stats->tx_bytes += le64_to_cpu(hw_stats->tx_mcast_bytes); hw_stats 9452 drivers/net/ethernet/broadcom/bnxt/bnxt.c stats->tx_bytes += le64_to_cpu(hw_stats->tx_bcast_bytes); hw_stats 9455 drivers/net/ethernet/broadcom/bnxt/bnxt.c le64_to_cpu(hw_stats->rx_discard_pkts); hw_stats 9457 drivers/net/ethernet/broadcom/bnxt/bnxt.c stats->multicast += le64_to_cpu(hw_stats->rx_mcast_pkts); hw_stats 9459 drivers/net/ethernet/broadcom/bnxt/bnxt.c stats->tx_dropped += le64_to_cpu(hw_stats->tx_drop_pkts); hw_stats 926 drivers/net/ethernet/broadcom/bnxt/bnxt.h struct ctx_hw_stats *hw_stats; hw_stats 1274 drivers/net/ethernet/broadcom/bnxt/bnxt.h struct bnxt_tc_flow_stats hw_stats; hw_stats 550 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c __le64 *hw_stats = (__le64 *)cpr->hw_stats; hw_stats 554 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c buf[j] = le64_to_cpu(hw_stats[k]); hw_stats 560 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c le64_to_cpu(cpr->hw_stats->rx_discard_pkts); hw_stats 562 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c le64_to_cpu(cpr->hw_stats->tx_discard_pkts); hw_stats 1435 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c stats_batch[i].hw_stats.packets = hw_stats 1437 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c stats_batch[i].hw_stats.bytes = hw_stats 1468 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c struct bnxt_tc_flow_stats *hw_stats) hw_stats 1470 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c accumulate_val(&acc_stats->bytes, hw_stats->bytes, tc_info->bytes_mask); hw_stats 1471 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c accumulate_val(&acc_stats->packets, hw_stats->packets, hw_stats 1492 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c &stats_batch[i].hw_stats); hw_stats 8754 drivers/net/ethernet/broadcom/tg3.c if (tp->hw_stats) { hw_stats 8756 drivers/net/ethernet/broadcom/tg3.c tp->hw_stats, tp->stats_mapping); hw_stats 8757 drivers/net/ethernet/broadcom/tg3.c tp->hw_stats = NULL; hw_stats 8769 drivers/net/ethernet/broadcom/tg3.c tp->hw_stats = dma_alloc_coherent(&tp->pdev->dev, hw_stats 8772 drivers/net/ethernet/broadcom/tg3.c if (!tp->hw_stats) hw_stats 9364 drivers/net/ethernet/broadcom/tg3.c if (tp->hw_stats) { hw_stats 9370 drivers/net/ethernet/broadcom/tg3.c memset(tp->hw_stats, 0, sizeof(struct tg3_hw_stats)); hw_stats 10903 drivers/net/ethernet/broadcom/tg3.c struct tg3_hw_stats *sp = tp->hw_stats; hw_stats 11804 drivers/net/ethernet/broadcom/tg3.c struct tg3_hw_stats *hw_stats = tp->hw_stats; hw_stats 11823 drivers/net/ethernet/broadcom/tg3.c return get_stat64(&hw_stats->rx_fcs_errors); hw_stats 11828 drivers/net/ethernet/broadcom/tg3.c get_stat64(&hw_stats->member) hw_stats 11833 drivers/net/ethernet/broadcom/tg3.c struct tg3_hw_stats *hw_stats = tp->hw_stats; hw_stats 11917 drivers/net/ethernet/broadcom/tg3.c struct tg3_hw_stats *hw_stats = tp->hw_stats; hw_stats 11920 drivers/net/ethernet/broadcom/tg3.c get_stat64(&hw_stats->rx_ucast_packets) + hw_stats 11921 drivers/net/ethernet/broadcom/tg3.c get_stat64(&hw_stats->rx_mcast_packets) + hw_stats 11922 drivers/net/ethernet/broadcom/tg3.c get_stat64(&hw_stats->rx_bcast_packets); hw_stats 11925 drivers/net/ethernet/broadcom/tg3.c get_stat64(&hw_stats->tx_ucast_packets) + hw_stats 11926 drivers/net/ethernet/broadcom/tg3.c get_stat64(&hw_stats->tx_mcast_packets) + hw_stats 11927 drivers/net/ethernet/broadcom/tg3.c get_stat64(&hw_stats->tx_bcast_packets); hw_stats 11930 drivers/net/ethernet/broadcom/tg3.c get_stat64(&hw_stats->rx_octets); hw_stats 11932 drivers/net/ethernet/broadcom/tg3.c get_stat64(&hw_stats->tx_octets); hw_stats 11935 drivers/net/ethernet/broadcom/tg3.c get_stat64(&hw_stats->rx_errors); hw_stats 11937 drivers/net/ethernet/broadcom/tg3.c get_stat64(&hw_stats->tx_errors) + hw_stats 11938 drivers/net/ethernet/broadcom/tg3.c get_stat64(&hw_stats->tx_mac_errors) + hw_stats 11939 drivers/net/ethernet/broadcom/tg3.c get_stat64(&hw_stats->tx_carrier_sense_errors) + hw_stats 11940 drivers/net/ethernet/broadcom/tg3.c get_stat64(&hw_stats->tx_discards); hw_stats 11943 drivers/net/ethernet/broadcom/tg3.c get_stat64(&hw_stats->rx_mcast_packets); hw_stats 11945 drivers/net/ethernet/broadcom/tg3.c get_stat64(&hw_stats->tx_collisions); hw_stats 11948 drivers/net/ethernet/broadcom/tg3.c get_stat64(&hw_stats->rx_frame_too_long_errors) + hw_stats 11949 drivers/net/ethernet/broadcom/tg3.c get_stat64(&hw_stats->rx_undersize_packets); hw_stats 11952 drivers/net/ethernet/broadcom/tg3.c get_stat64(&hw_stats->rx_align_errors); hw_stats 11954 drivers/net/ethernet/broadcom/tg3.c get_stat64(&hw_stats->tx_discards); hw_stats 11956 drivers/net/ethernet/broadcom/tg3.c get_stat64(&hw_stats->tx_carrier_sense_errors); hw_stats 11962 drivers/net/ethernet/broadcom/tg3.c get_stat64(&hw_stats->rx_discards); hw_stats 12796 drivers/net/ethernet/broadcom/tg3.c if (tp->hw_stats) hw_stats 14207 drivers/net/ethernet/broadcom/tg3.c if (!tp->hw_stats || !tg3_flag(tp, INIT_COMPLETE)) { hw_stats 3372 drivers/net/ethernet/broadcom/tg3.h struct tg3_hw_stats *hw_stats; hw_stats 66 drivers/net/ethernet/brocade/bna/bna_enet.c stats_dst = (u64 *)&bna->stats.hw_stats._name ## _stats; \ hw_stats 200 drivers/net/ethernet/brocade/bna/bna_enet.c stats_dst = (u64 *)&(bna->stats.hw_stats.rxf_stats[i]); hw_stats 215 drivers/net/ethernet/brocade/bna/bna_enet.c stats_dst = (u64 *)&(bna->stats.hw_stats.txf_stats[i]); hw_stats 886 drivers/net/ethernet/brocade/bna/bna_types.h struct bfi_enet_stats hw_stats; hw_stats 2432 drivers/net/ethernet/brocade/bna/bnad.c mac_stats = &bnad->stats.bna_stats->hw_stats.mac_stats; hw_stats 2456 drivers/net/ethernet/brocade/bna/bnad.c hw_stats.rxf_stats[i].frame_drops; hw_stats 891 drivers/net/ethernet/brocade/bna/bnad_ethtool.c stats64 = (u64 *) &bnad->stats.bna_stats->hw_stats; hw_stats 903 drivers/net/ethernet/brocade/bna/bnad_ethtool.c hw_stats.txf_stats[i]; hw_stats 916 drivers/net/ethernet/brocade/bna/bnad_ethtool.c hw_stats.rxf_stats[i]; hw_stats 1183 drivers/net/ethernet/cadence/macb.h } hw_stats; hw_stats 644 drivers/net/ethernet/cadence/macb_main.c u32 *p = &bp->hw_stats.macb.rx_pause_frames; hw_stats 645 drivers/net/ethernet/cadence/macb_main.c u32 *end = &bp->hw_stats.macb.tx_pause_frames + 1; hw_stats 1452 drivers/net/ethernet/cadence/macb_main.c bp->hw_stats.gem.rx_overruns++; hw_stats 1454 drivers/net/ethernet/cadence/macb_main.c bp->hw_stats.macb.rx_overruns++; hw_stats 2510 drivers/net/ethernet/cadence/macb_main.c u32 *p = &bp->hw_stats.gem.tx_octets_31_0; hw_stats 2535 drivers/net/ethernet/cadence/macb_main.c struct gem_stats *hwstat = &bp->hw_stats.gem; hw_stats 2623 drivers/net/ethernet/cadence/macb_main.c struct macb_stats *hwstat = &bp->hw_stats.macb; hw_stats 364 drivers/net/ethernet/cavium/thunder/nic.h struct nicvf_hw_stats hw_stats; hw_stats 335 drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c *(data++) = ((u64 *)&nic->hw_stats) hw_stats 1666 drivers/net/ethernet/cavium/thunder/nicvf_main.c struct nicvf_hw_stats *stats = &nic->hw_stats; hw_stats 1729 drivers/net/ethernet/cavium/thunder/nicvf_main.c struct nicvf_hw_stats *hw_stats = &nic->hw_stats; hw_stats 1733 drivers/net/ethernet/cavium/thunder/nicvf_main.c stats->rx_bytes = hw_stats->rx_bytes; hw_stats 1734 drivers/net/ethernet/cavium/thunder/nicvf_main.c stats->rx_packets = hw_stats->rx_frames; hw_stats 1735 drivers/net/ethernet/cavium/thunder/nicvf_main.c stats->rx_dropped = hw_stats->rx_drops; hw_stats 1736 drivers/net/ethernet/cavium/thunder/nicvf_main.c stats->multicast = hw_stats->rx_mcast_frames; hw_stats 1738 drivers/net/ethernet/cavium/thunder/nicvf_main.c stats->tx_bytes = hw_stats->tx_bytes; hw_stats 1739 drivers/net/ethernet/cavium/thunder/nicvf_main.c stats->tx_packets = hw_stats->tx_frames; hw_stats 1740 drivers/net/ethernet/cavium/thunder/nicvf_main.c stats->tx_dropped = hw_stats->tx_drops; hw_stats 591 drivers/net/ethernet/chelsio/cxgb/vsc7326.c } hw_stats[] = { hw_stats 617 drivers/net/ethernet/chelsio/cxgb/vsc7326.c }, *p = hw_stats; hw_stats 622 drivers/net/ethernet/chelsio/cxgb/vsc7326.c for (i = 0; i < ARRAY_SIZE(hw_stats); i++) hw_stats 140 drivers/net/ethernet/cortina/gemini.c u64 hw_stats[RX_STATS_NUM]; hw_stats 1618 drivers/net/ethernet/cortina/gemini.c port->hw_stats[0] += rx_discards; hw_stats 1619 drivers/net/ethernet/cortina/gemini.c port->hw_stats[1] += readl(port->gmac_base + GMAC_IN_ERRORS); hw_stats 1621 drivers/net/ethernet/cortina/gemini.c port->hw_stats[2] += rx_mcast; hw_stats 1623 drivers/net/ethernet/cortina/gemini.c port->hw_stats[3] += rx_bcast; hw_stats 1624 drivers/net/ethernet/cortina/gemini.c port->hw_stats[4] += readl(port->gmac_base + GMAC_IN_MAC1); hw_stats 1625 drivers/net/ethernet/cortina/gemini.c port->hw_stats[5] += readl(port->gmac_base + GMAC_IN_MAC2); hw_stats 2049 drivers/net/ethernet/cortina/gemini.c *p++ = port->hw_stats[i]; hw_stats 342 drivers/net/ethernet/dnet.c u32 *p = &bp->hw_stats.rx_pkt_ignr; hw_stats 343 drivers/net/ethernet/dnet.c u32 *end = &bp->hw_stats.rx_byte + 1; hw_stats 352 drivers/net/ethernet/dnet.c p = &bp->hw_stats.tx_unicast; hw_stats 353 drivers/net/ethernet/dnet.c end = &bp->hw_stats.tx_byte + 1; hw_stats 696 drivers/net/ethernet/dnet.c struct dnet_stats *hwstat = &bp->hw_stats; hw_stats 210 drivers/net/ethernet/dnet.h struct dnet_stats hw_stats; hw_stats 818 drivers/net/ethernet/emulex/benet/be_cmds.h struct be_hw_stats_v0 hw_stats; hw_stats 2046 drivers/net/ethernet/emulex/benet/be_cmds.h struct be_hw_stats_v1 hw_stats; hw_stats 2069 drivers/net/ethernet/emulex/benet/be_cmds.h struct be_hw_stats_v2 hw_stats; hw_stats 387 drivers/net/ethernet/emulex/benet/be_main.c return &cmd->hw_stats; hw_stats 391 drivers/net/ethernet/emulex/benet/be_main.c return &cmd->hw_stats; hw_stats 395 drivers/net/ethernet/emulex/benet/be_main.c return &cmd->hw_stats; hw_stats 403 drivers/net/ethernet/emulex/benet/be_main.c struct be_hw_stats_v0 *hw_stats = hw_stats_from_cmd(adapter); hw_stats 405 drivers/net/ethernet/emulex/benet/be_main.c return &hw_stats->erx; hw_stats 407 drivers/net/ethernet/emulex/benet/be_main.c struct be_hw_stats_v1 *hw_stats = hw_stats_from_cmd(adapter); hw_stats 409 drivers/net/ethernet/emulex/benet/be_main.c return &hw_stats->erx; hw_stats 411 drivers/net/ethernet/emulex/benet/be_main.c struct be_hw_stats_v2 *hw_stats = hw_stats_from_cmd(adapter); hw_stats 413 drivers/net/ethernet/emulex/benet/be_main.c return &hw_stats->erx; hw_stats 419 drivers/net/ethernet/emulex/benet/be_main.c struct be_hw_stats_v0 *hw_stats = hw_stats_from_cmd(adapter); hw_stats 420 drivers/net/ethernet/emulex/benet/be_main.c struct be_pmem_stats *pmem_sts = &hw_stats->pmem; hw_stats 421 drivers/net/ethernet/emulex/benet/be_main.c struct be_rxf_stats_v0 *rxf_stats = &hw_stats->rxf; hw_stats 426 drivers/net/ethernet/emulex/benet/be_main.c be_dws_le_to_cpu(hw_stats, sizeof(*hw_stats)); hw_stats 468 drivers/net/ethernet/emulex/benet/be_main.c struct be_hw_stats_v1 *hw_stats = hw_stats_from_cmd(adapter); hw_stats 469 drivers/net/ethernet/emulex/benet/be_main.c struct be_pmem_stats *pmem_sts = &hw_stats->pmem; hw_stats 470 drivers/net/ethernet/emulex/benet/be_main.c struct be_rxf_stats_v1 *rxf_stats = &hw_stats->rxf; hw_stats 475 drivers/net/ethernet/emulex/benet/be_main.c be_dws_le_to_cpu(hw_stats, sizeof(*hw_stats)); hw_stats 514 drivers/net/ethernet/emulex/benet/be_main.c struct be_hw_stats_v2 *hw_stats = hw_stats_from_cmd(adapter); hw_stats 515 drivers/net/ethernet/emulex/benet/be_main.c struct be_pmem_stats *pmem_sts = &hw_stats->pmem; hw_stats 516 drivers/net/ethernet/emulex/benet/be_main.c struct be_rxf_stats_v2 *rxf_stats = &hw_stats->rxf; hw_stats 521 drivers/net/ethernet/emulex/benet/be_main.c be_dws_le_to_cpu(hw_stats, sizeof(*hw_stats)); hw_stats 677 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c rx_missed_errors = ppe_cb->hw_stats.rx_drop_no_buf; hw_stats 678 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c tx_errors += ppe_cb->hw_stats.tx_err_checksum hw_stats 679 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c + ppe_cb->hw_stats.tx_err_fifo_empty; hw_stats 684 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c rx_missed_errors += dsaf_dev->hw_stats[port].bp_drop; hw_stats 685 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c rx_missed_errors += dsaf_dev->hw_stats[port].pad_drop; hw_stats 686 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c rx_missed_errors += dsaf_dev->hw_stats[port].crc_false; hw_stats 691 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c tx_dropped += dsaf_dev->hw_stats[port].bp_drop; hw_stats 692 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c tx_dropped += dsaf_dev->hw_stats[port].pad_drop; hw_stats 693 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c tx_dropped += dsaf_dev->hw_stats[port].crc_false; hw_stats 694 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c tx_dropped += dsaf_dev->hw_stats[port].rslt_drop; hw_stats 695 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c tx_dropped += dsaf_dev->hw_stats[port].vlan_drop; hw_stats 696 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c tx_dropped += dsaf_dev->hw_stats[port].stp_drop; hw_stats 700 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c rx_errors += mac_cb->hw_stats.rx_fifo_overrun_err; hw_stats 702 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c tx_errors += mac_cb->hw_stats.tx_bad_pkts hw_stats 703 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c + mac_cb->hw_stats.tx_fragment_err hw_stats 704 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c + mac_cb->hw_stats.tx_jabber_err hw_stats 705 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c + mac_cb->hw_stats.tx_underrun_err hw_stats 706 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c + mac_cb->hw_stats.tx_crc_err; hw_stats 717 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c net_stats->rx_crc_errors = mac_cb->hw_stats.rx_fcs_err; hw_stats 718 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c net_stats->rx_frame_errors = mac_cb->hw_stats.rx_align_err; hw_stats 719 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c net_stats->rx_fifo_errors = mac_cb->hw_stats.rx_fifo_overrun_err; hw_stats 720 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c net_stats->rx_length_errors = mac_cb->hw_stats.rx_len_err; hw_stats 721 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c net_stats->multicast = mac_cb->hw_stats.rx_mc_pkts; hw_stats 380 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c struct mac_hw_stats *hw_stats = NULL; hw_stats 383 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c hw_stats = &drv->mac_cb->hw_stats; hw_stats 386 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c hw_stats->rx_good_bytes hw_stats 388 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c hw_stats->rx_bad_bytes hw_stats 390 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c hw_stats->rx_uc_pkts += dsaf_read_dev(drv, GMAC_RX_UC_PKTS_REG); hw_stats 391 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c hw_stats->rx_mc_pkts += dsaf_read_dev(drv, GMAC_RX_MC_PKTS_REG); hw_stats 392 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c hw_stats->rx_bc_pkts += dsaf_read_dev(drv, GMAC_RX_BC_PKTS_REG); hw_stats 393 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c hw_stats->rx_64bytes hw_stats 395 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c hw_stats->rx_65to127 hw_stats 397 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c hw_stats->rx_128to255 hw_stats 399 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c hw_stats->rx_256to511 hw_stats 401 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c hw_stats->rx_512to1023 hw_stats 403 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c hw_stats->rx_1024to1518 hw_stats 405 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c hw_stats->rx_1519tomax hw_stats 407 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c hw_stats->rx_fcs_err += dsaf_read_dev(drv, GMAC_RX_FCS_ERRORS_REG); hw_stats 408 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c hw_stats->rx_vlan_pkts += dsaf_read_dev(drv, GMAC_RX_TAGGED_REG); hw_stats 409 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c hw_stats->rx_data_err += dsaf_read_dev(drv, GMAC_RX_DATA_ERR_REG); hw_stats 410 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c hw_stats->rx_align_err hw_stats 412 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c hw_stats->rx_oversize hw_stats 414 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c hw_stats->rx_jabber_err hw_stats 416 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c hw_stats->rx_pfc_tc0 hw_stats 418 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c hw_stats->rx_unknown_ctrl hw_stats 420 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c hw_stats->rx_long_err hw_stats 422 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c hw_stats->rx_minto64 hw_stats 424 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c hw_stats->rx_under_min hw_stats 426 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c hw_stats->rx_filter_pkts hw_stats 428 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c hw_stats->rx_filter_bytes hw_stats 430 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c hw_stats->rx_fifo_overrun_err hw_stats 432 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c hw_stats->rx_len_err hw_stats 434 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c hw_stats->rx_comma_err hw_stats 438 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c hw_stats->tx_good_bytes hw_stats 440 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c hw_stats->tx_bad_bytes hw_stats 442 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c hw_stats->tx_uc_pkts += dsaf_read_dev(drv, GMAC_TX_UC_PKTS_REG); hw_stats 443 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c hw_stats->tx_mc_pkts += dsaf_read_dev(drv, GMAC_TX_MC_PKTS_REG); hw_stats 444 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c hw_stats->tx_bc_pkts += dsaf_read_dev(drv, GMAC_TX_BC_PKTS_REG); hw_stats 445 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c hw_stats->tx_64bytes hw_stats 447 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c hw_stats->tx_65to127 hw_stats 449 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c hw_stats->tx_128to255 hw_stats 451 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c hw_stats->tx_256to511 hw_stats 453 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c hw_stats->tx_512to1023 hw_stats 455 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c hw_stats->tx_1024to1518 hw_stats 457 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c hw_stats->tx_1519tomax hw_stats 459 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c hw_stats->tx_jabber_err hw_stats 461 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c hw_stats->tx_underrun_err hw_stats 463 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c hw_stats->tx_vlan += dsaf_read_dev(drv, GMAC_TX_TAGGED_REG); hw_stats 464 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c hw_stats->tx_crc_err += dsaf_read_dev(drv, GMAC_TX_CRC_ERROR_REG); hw_stats 465 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c hw_stats->tx_pfc_tc0 hw_stats 678 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c struct mac_hw_stats *hw_stats = NULL; hw_stats 680 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c hw_stats = &drv->mac_cb->hw_stats; hw_stats 683 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c buf[i] = DSAF_STATS_READ(hw_stats, hw_stats 1208 drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c txpkts = mac_cb->txpkt_for_led - mac_cb->hw_stats.tx_good_pkts; hw_stats 1209 drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c rxpkts = mac_cb->rxpkt_for_led - mac_cb->hw_stats.rx_good_pkts; hw_stats 1214 drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c mac_cb->txpkt_for_led = mac_cb->hw_stats.tx_good_pkts; hw_stats 1215 drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c mac_cb->rxpkt_for_led = mac_cb->hw_stats.rx_good_pkts; hw_stats 338 drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.h struct mac_hw_stats hw_stats; hw_stats 2200 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c struct dsaf_hw_stats *hw_stats hw_stats 2201 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c = &dsaf_dev->hw_stats[node_num]; hw_stats 2206 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c hw_stats->pad_drop += dsaf_read_dev(dsaf_dev, hw_stats 2208 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c hw_stats->man_pkts += dsaf_read_dev(dsaf_dev, hw_stats 2210 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c hw_stats->rx_pkts += dsaf_read_dev(dsaf_dev, hw_stats 2212 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c hw_stats->rx_pkt_id += dsaf_read_dev(dsaf_dev, hw_stats 2217 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c hw_stats->rx_pause_frame += hw_stats 2220 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c hw_stats->release_buf_num += dsaf_read_dev(dsaf_dev, hw_stats 2222 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c hw_stats->sbm_drop += dsaf_read_dev(dsaf_dev, hw_stats 2224 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c hw_stats->crc_false += dsaf_read_dev(dsaf_dev, hw_stats 2226 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c hw_stats->bp_drop += dsaf_read_dev(dsaf_dev, hw_stats 2228 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c hw_stats->rslt_drop += dsaf_read_dev(dsaf_dev, hw_stats 2230 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c hw_stats->local_addr_false += dsaf_read_dev(dsaf_dev, hw_stats 2233 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c hw_stats->vlan_drop += dsaf_read_dev(dsaf_dev, hw_stats 2235 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c hw_stats->stp_drop += dsaf_read_dev(dsaf_dev, hw_stats 2242 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c hw_stats->rx_pfc[i] += dsaf_read_dev(dsaf_dev, hw_stats 2244 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c hw_stats->tx_pfc[i] += dsaf_read_dev(dsaf_dev, hw_stats 2250 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c hw_stats->tx_pkts += dsaf_read_dev(dsaf_dev, hw_stats 2643 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c struct dsaf_hw_stats *hw_stats = &ddev->hw_stats[node_num]; hw_stats 2646 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c p[0] = hw_stats->pad_drop; hw_stats 2647 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c p[1] = hw_stats->man_pkts; hw_stats 2648 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c p[2] = hw_stats->rx_pkts; hw_stats 2649 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c p[3] = hw_stats->rx_pkt_id; hw_stats 2650 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c p[4] = hw_stats->rx_pause_frame; hw_stats 2651 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c p[5] = hw_stats->release_buf_num; hw_stats 2652 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c p[6] = hw_stats->sbm_drop; hw_stats 2653 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c p[7] = hw_stats->crc_false; hw_stats 2654 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c p[8] = hw_stats->bp_drop; hw_stats 2655 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c p[9] = hw_stats->rslt_drop; hw_stats 2656 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c p[10] = hw_stats->local_addr_false; hw_stats 2657 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c p[11] = hw_stats->vlan_drop; hw_stats 2658 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c p[12] = hw_stats->stp_drop; hw_stats 2661 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c p[13 + i + 0 * DSAF_PRIO_NR] = hw_stats->rx_pfc[i]; hw_stats 2662 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c p[13 + i + 1 * DSAF_PRIO_NR] = hw_stats->tx_pfc[i]; hw_stats 2664 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c p[29] = hw_stats->tx_pkts; hw_stats 2668 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c p[13] = hw_stats->tx_pkts; hw_stats 347 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.h struct dsaf_hw_stats hw_stats[DSAF_NODE_NUM]; hw_stats 415 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c struct hns_ppe_hw_stats *hw_stats = &ppe_cb->hw_stats; hw_stats 417 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c hw_stats->rx_pkts_from_sw hw_stats 419 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c hw_stats->rx_pkts hw_stats 421 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c hw_stats->rx_drop_no_bd hw_stats 423 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c hw_stats->rx_alloc_buf_fail hw_stats 425 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c hw_stats->rx_alloc_buf_wait hw_stats 427 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c hw_stats->rx_drop_no_buf hw_stats 429 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c hw_stats->rx_err_fifo_full hw_stats 432 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c hw_stats->tx_bd_form_rcb hw_stats 434 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c hw_stats->tx_pkts_from_rcb hw_stats 436 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c hw_stats->tx_pkts hw_stats 438 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c hw_stats->tx_err_fifo_empty hw_stats 440 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c hw_stats->tx_err_checksum hw_stats 496 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c struct hns_ppe_hw_stats *hw_stats = &ppe_cb->hw_stats; hw_stats 498 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c regs_buff[0] = hw_stats->rx_pkts_from_sw; hw_stats 499 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c regs_buff[1] = hw_stats->rx_pkts; hw_stats 500 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c regs_buff[2] = hw_stats->rx_drop_no_bd; hw_stats 501 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c regs_buff[3] = hw_stats->rx_alloc_buf_fail; hw_stats 502 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c regs_buff[4] = hw_stats->rx_alloc_buf_wait; hw_stats 503 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c regs_buff[5] = hw_stats->rx_drop_no_buf; hw_stats 504 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c regs_buff[6] = hw_stats->rx_err_fifo_full; hw_stats 506 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c regs_buff[7] = hw_stats->tx_bd_form_rcb; hw_stats 507 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c regs_buff[8] = hw_stats->tx_pkts_from_rcb; hw_stats 508 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c regs_buff[9] = hw_stats->tx_pkts; hw_stats 509 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c regs_buff[10] = hw_stats->tx_err_fifo_empty; hw_stats 510 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c regs_buff[11] = hw_stats->tx_err_checksum; hw_stats 76 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.h struct hns_ppe_hw_stats hw_stats; hw_stats 824 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c struct hns_ring_hw_stats *hw_stats = &ring->hw_stats; hw_stats 826 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c hw_stats->rx_pkts += dsaf_read_dev(queue, hw_stats 830 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c hw_stats->ppe_rx_ok_pkts += dsaf_read_dev(ppe_common, hw_stats 832 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c hw_stats->ppe_rx_drop_pkts += dsaf_read_dev(ppe_common, hw_stats 835 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c hw_stats->tx_pkts += dsaf_read_dev(queue, hw_stats 839 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c hw_stats->ppe_tx_ok_pkts += dsaf_read_dev(ppe_common, hw_stats 841 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c hw_stats->ppe_tx_drop_pkts += dsaf_read_dev(ppe_common, hw_stats 855 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c struct hns_ring_hw_stats *hw_stats = &ring->hw_stats; hw_stats 857 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c regs_buff[0] = hw_stats->tx_pkts; hw_stats 858 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c regs_buff[1] = hw_stats->ppe_tx_ok_pkts; hw_stats 859 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c regs_buff[2] = hw_stats->ppe_tx_drop_pkts; hw_stats 872 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c regs_buff[12] = hw_stats->rx_pkts; hw_stats 873 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c regs_buff[13] = hw_stats->ppe_rx_ok_pkts; hw_stats 874 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c regs_buff[14] = hw_stats->ppe_rx_drop_pkts; hw_stats 97 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.h struct hns_ring_hw_stats hw_stats; hw_stats 313 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c struct mac_hw_stats *hw_stats = &drv->mac_cb->hw_stats; hw_stats 316 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c hw_stats->tx_fragment_err hw_stats 318 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c hw_stats->tx_undersize hw_stats 320 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c hw_stats->tx_under_min_pkts hw_stats 322 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c hw_stats->tx_64bytes = hns_mac_reg_read64(drv, XGMAC_TX_PKTS_64OCTETS); hw_stats 323 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c hw_stats->tx_65to127 hw_stats 325 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c hw_stats->tx_128to255 hw_stats 327 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c hw_stats->tx_256to511 hw_stats 329 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c hw_stats->tx_512to1023 hw_stats 331 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c hw_stats->tx_1024to1518 hw_stats 333 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c hw_stats->tx_1519tomax hw_stats 335 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c hw_stats->tx_1519tomax_good hw_stats 337 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c hw_stats->tx_oversize = hns_mac_reg_read64(drv, XGMAC_TX_PKTS_OVERSIZE); hw_stats 338 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c hw_stats->tx_jabber_err = hns_mac_reg_read64(drv, XGMAC_TX_PKTS_JABBER); hw_stats 339 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c hw_stats->tx_good_pkts = hns_mac_reg_read64(drv, XGMAC_TX_GOODPKTS); hw_stats 340 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c hw_stats->tx_good_bytes = hns_mac_reg_read64(drv, XGMAC_TX_GOODOCTETS); hw_stats 341 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c hw_stats->tx_total_pkts = hns_mac_reg_read64(drv, XGMAC_TX_TOTAL_PKTS); hw_stats 342 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c hw_stats->tx_total_bytes hw_stats 344 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c hw_stats->tx_uc_pkts = hns_mac_reg_read64(drv, XGMAC_TX_UNICASTPKTS); hw_stats 345 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c hw_stats->tx_mc_pkts = hns_mac_reg_read64(drv, XGMAC_TX_MULTICASTPKTS); hw_stats 346 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c hw_stats->tx_bc_pkts = hns_mac_reg_read64(drv, XGMAC_TX_BROADCASTPKTS); hw_stats 347 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c hw_stats->tx_pfc_tc0 = hns_mac_reg_read64(drv, XGMAC_TX_PRI0PAUSEPKTS); hw_stats 348 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c hw_stats->tx_pfc_tc1 = hns_mac_reg_read64(drv, XGMAC_TX_PRI1PAUSEPKTS); hw_stats 349 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c hw_stats->tx_pfc_tc2 = hns_mac_reg_read64(drv, XGMAC_TX_PRI2PAUSEPKTS); hw_stats 350 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c hw_stats->tx_pfc_tc3 = hns_mac_reg_read64(drv, XGMAC_TX_PRI3PAUSEPKTS); hw_stats 351 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c hw_stats->tx_pfc_tc4 = hns_mac_reg_read64(drv, XGMAC_TX_PRI4PAUSEPKTS); hw_stats 352 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c hw_stats->tx_pfc_tc5 = hns_mac_reg_read64(drv, XGMAC_TX_PRI5PAUSEPKTS); hw_stats 353 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c hw_stats->tx_pfc_tc6 = hns_mac_reg_read64(drv, XGMAC_TX_PRI6PAUSEPKTS); hw_stats 354 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c hw_stats->tx_pfc_tc7 = hns_mac_reg_read64(drv, XGMAC_TX_PRI7PAUSEPKTS); hw_stats 355 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c hw_stats->tx_ctrl = hns_mac_reg_read64(drv, XGMAC_TX_MACCTRLPKTS); hw_stats 356 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c hw_stats->tx_1731_pkts = hns_mac_reg_read64(drv, XGMAC_TX_1731PKTS); hw_stats 357 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c hw_stats->tx_1588_pkts = hns_mac_reg_read64(drv, XGMAC_TX_1588PKTS); hw_stats 358 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c hw_stats->rx_good_from_sw hw_stats 360 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c hw_stats->rx_bad_from_sw hw_stats 362 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c hw_stats->tx_bad_pkts = hns_mac_reg_read64(drv, XGMAC_TX_ERRALLPKTS); hw_stats 365 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c hw_stats->rx_fragment_err hw_stats 367 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c hw_stats->rx_undersize hw_stats 369 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c hw_stats->rx_under_min hw_stats 371 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c hw_stats->rx_64bytes = hns_mac_reg_read64(drv, XGMAC_RX_PKTS_64OCTETS); hw_stats 372 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c hw_stats->rx_65to127 hw_stats 374 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c hw_stats->rx_128to255 hw_stats 376 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c hw_stats->rx_256to511 hw_stats 378 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c hw_stats->rx_512to1023 hw_stats 380 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c hw_stats->rx_1024to1518 hw_stats 382 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c hw_stats->rx_1519tomax hw_stats 384 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c hw_stats->rx_1519tomax_good hw_stats 386 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c hw_stats->rx_oversize = hns_mac_reg_read64(drv, XGMAC_RX_PKTS_OVERSIZE); hw_stats 387 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c hw_stats->rx_jabber_err = hns_mac_reg_read64(drv, XGMAC_RX_PKTS_JABBER); hw_stats 388 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c hw_stats->rx_good_pkts = hns_mac_reg_read64(drv, XGMAC_RX_GOODPKTS); hw_stats 389 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c hw_stats->rx_good_bytes = hns_mac_reg_read64(drv, XGMAC_RX_GOODOCTETS); hw_stats 390 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c hw_stats->rx_total_pkts = hns_mac_reg_read64(drv, XGMAC_RX_TOTAL_PKTS); hw_stats 391 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c hw_stats->rx_total_bytes hw_stats 393 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c hw_stats->rx_uc_pkts = hns_mac_reg_read64(drv, XGMAC_RX_UNICASTPKTS); hw_stats 394 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c hw_stats->rx_mc_pkts = hns_mac_reg_read64(drv, XGMAC_RX_MULTICASTPKTS); hw_stats 395 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c hw_stats->rx_bc_pkts = hns_mac_reg_read64(drv, XGMAC_RX_BROADCASTPKTS); hw_stats 396 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c hw_stats->rx_pfc_tc0 = hns_mac_reg_read64(drv, XGMAC_RX_PRI0PAUSEPKTS); hw_stats 397 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c hw_stats->rx_pfc_tc1 = hns_mac_reg_read64(drv, XGMAC_RX_PRI1PAUSEPKTS); hw_stats 398 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c hw_stats->rx_pfc_tc2 = hns_mac_reg_read64(drv, XGMAC_RX_PRI2PAUSEPKTS); hw_stats 399 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c hw_stats->rx_pfc_tc3 = hns_mac_reg_read64(drv, XGMAC_RX_PRI3PAUSEPKTS); hw_stats 400 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c hw_stats->rx_pfc_tc4 = hns_mac_reg_read64(drv, XGMAC_RX_PRI4PAUSEPKTS); hw_stats 401 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c hw_stats->rx_pfc_tc5 = hns_mac_reg_read64(drv, XGMAC_RX_PRI5PAUSEPKTS); hw_stats 402 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c hw_stats->rx_pfc_tc6 = hns_mac_reg_read64(drv, XGMAC_RX_PRI6PAUSEPKTS); hw_stats 403 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c hw_stats->rx_pfc_tc7 = hns_mac_reg_read64(drv, XGMAC_RX_PRI7PAUSEPKTS); hw_stats 405 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c hw_stats->rx_unknown_ctrl hw_stats 407 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c hw_stats->tx_good_to_sw hw_stats 409 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c hw_stats->tx_bad_to_sw hw_stats 411 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c hw_stats->rx_1731_pkts = hns_mac_reg_read64(drv, XGMAC_RX_1731PKTS); hw_stats 412 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c hw_stats->rx_symbol_err hw_stats 414 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c hw_stats->rx_fcs_err = hns_mac_reg_read64(drv, XGMAC_RX_FCSERRPKTS); hw_stats 744 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c struct mac_hw_stats *hw_stats = NULL; hw_stats 746 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c hw_stats = &drv->mac_cb->hw_stats; hw_stats 749 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c buf[i] = DSAF_STATS_READ(hw_stats, hw_stats 418 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c u64 *data = (u64 *)(&hdev->hw_stats.mac_stats); hw_stats 455 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c u64 *data = (u64 *)(&hdev->hw_stats.mac_stats); hw_stats 804 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c p = hclge_comm_get_stats(&hdev->hw_stats.mac_stats, g_mac_stats_string, hw_stats 817 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c mac_stats->tx_pause_cnt = hdev->hw_stats.mac_stats.mac_tx_mac_pause_num; hw_stats 818 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c mac_stats->rx_pause_cnt = hdev->hw_stats.mac_stats.mac_rx_mac_pause_num; hw_stats 2656 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c hdev->hw_stats.stats_timer++; hw_stats 3905 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c if (hdev->hw_stats.stats_timer >= HCLGE_STATS_TIMER_INTERVAL) { hw_stats 3907 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c hdev->hw_stats.stats_timer = 0; hw_stats 9371 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c memset(&hdev->hw_stats, 0, sizeof(hdev->hw_stats)); hw_stats 718 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h struct hclge_hw_stats hw_stats; hw_stats 668 drivers/net/ethernet/mediatek/mtk_eth_soc.c struct mtk_hw_stats *hw_stats = mac->hw_stats; hw_stats 672 drivers/net/ethernet/mediatek/mtk_eth_soc.c base += hw_stats->reg_offset; hw_stats 674 drivers/net/ethernet/mediatek/mtk_eth_soc.c u64_stats_update_begin(&hw_stats->syncp); hw_stats 676 drivers/net/ethernet/mediatek/mtk_eth_soc.c hw_stats->rx_bytes += mtk_r32(mac->hw, base); hw_stats 679 drivers/net/ethernet/mediatek/mtk_eth_soc.c hw_stats->rx_bytes += (stats << 32); hw_stats 680 drivers/net/ethernet/mediatek/mtk_eth_soc.c hw_stats->rx_packets += mtk_r32(mac->hw, base + 0x08); hw_stats 681 drivers/net/ethernet/mediatek/mtk_eth_soc.c hw_stats->rx_overflow += mtk_r32(mac->hw, base + 0x10); hw_stats 682 drivers/net/ethernet/mediatek/mtk_eth_soc.c hw_stats->rx_fcs_errors += mtk_r32(mac->hw, base + 0x14); hw_stats 683 drivers/net/ethernet/mediatek/mtk_eth_soc.c hw_stats->rx_short_errors += mtk_r32(mac->hw, base + 0x18); hw_stats 684 drivers/net/ethernet/mediatek/mtk_eth_soc.c hw_stats->rx_long_errors += mtk_r32(mac->hw, base + 0x1c); hw_stats 685 drivers/net/ethernet/mediatek/mtk_eth_soc.c hw_stats->rx_checksum_errors += mtk_r32(mac->hw, base + 0x20); hw_stats 686 drivers/net/ethernet/mediatek/mtk_eth_soc.c hw_stats->rx_flow_control_packets += hw_stats 688 drivers/net/ethernet/mediatek/mtk_eth_soc.c hw_stats->tx_skip += mtk_r32(mac->hw, base + 0x28); hw_stats 689 drivers/net/ethernet/mediatek/mtk_eth_soc.c hw_stats->tx_collisions += mtk_r32(mac->hw, base + 0x2c); hw_stats 690 drivers/net/ethernet/mediatek/mtk_eth_soc.c hw_stats->tx_bytes += mtk_r32(mac->hw, base + 0x30); hw_stats 693 drivers/net/ethernet/mediatek/mtk_eth_soc.c hw_stats->tx_bytes += (stats << 32); hw_stats 694 drivers/net/ethernet/mediatek/mtk_eth_soc.c hw_stats->tx_packets += mtk_r32(mac->hw, base + 0x38); hw_stats 695 drivers/net/ethernet/mediatek/mtk_eth_soc.c u64_stats_update_end(&hw_stats->syncp); hw_stats 703 drivers/net/ethernet/mediatek/mtk_eth_soc.c if (!eth->mac[i] || !eth->mac[i]->hw_stats) hw_stats 705 drivers/net/ethernet/mediatek/mtk_eth_soc.c if (spin_trylock(ð->mac[i]->hw_stats->stats_lock)) { hw_stats 707 drivers/net/ethernet/mediatek/mtk_eth_soc.c spin_unlock(ð->mac[i]->hw_stats->stats_lock); hw_stats 716 drivers/net/ethernet/mediatek/mtk_eth_soc.c struct mtk_hw_stats *hw_stats = mac->hw_stats; hw_stats 720 drivers/net/ethernet/mediatek/mtk_eth_soc.c if (spin_trylock_bh(&hw_stats->stats_lock)) { hw_stats 722 drivers/net/ethernet/mediatek/mtk_eth_soc.c spin_unlock_bh(&hw_stats->stats_lock); hw_stats 727 drivers/net/ethernet/mediatek/mtk_eth_soc.c start = u64_stats_fetch_begin_irq(&hw_stats->syncp); hw_stats 728 drivers/net/ethernet/mediatek/mtk_eth_soc.c storage->rx_packets = hw_stats->rx_packets; hw_stats 729 drivers/net/ethernet/mediatek/mtk_eth_soc.c storage->tx_packets = hw_stats->tx_packets; hw_stats 730 drivers/net/ethernet/mediatek/mtk_eth_soc.c storage->rx_bytes = hw_stats->rx_bytes; hw_stats 731 drivers/net/ethernet/mediatek/mtk_eth_soc.c storage->tx_bytes = hw_stats->tx_bytes; hw_stats 732 drivers/net/ethernet/mediatek/mtk_eth_soc.c storage->collisions = hw_stats->tx_collisions; hw_stats 733 drivers/net/ethernet/mediatek/mtk_eth_soc.c storage->rx_length_errors = hw_stats->rx_short_errors + hw_stats 734 drivers/net/ethernet/mediatek/mtk_eth_soc.c hw_stats->rx_long_errors; hw_stats 735 drivers/net/ethernet/mediatek/mtk_eth_soc.c storage->rx_over_errors = hw_stats->rx_overflow; hw_stats 736 drivers/net/ethernet/mediatek/mtk_eth_soc.c storage->rx_crc_errors = hw_stats->rx_fcs_errors; hw_stats 737 drivers/net/ethernet/mediatek/mtk_eth_soc.c storage->rx_errors = hw_stats->rx_checksum_errors; hw_stats 738 drivers/net/ethernet/mediatek/mtk_eth_soc.c storage->tx_aborted_errors = hw_stats->tx_skip; hw_stats 739 drivers/net/ethernet/mediatek/mtk_eth_soc.c } while (u64_stats_fetch_retry_irq(&hw_stats->syncp, start)); hw_stats 2665 drivers/net/ethernet/mediatek/mtk_eth_soc.c struct mtk_hw_stats *hwstats = mac->hw_stats; hw_stats 2817 drivers/net/ethernet/mediatek/mtk_eth_soc.c mac->hw_stats = devm_kzalloc(eth->dev, hw_stats 2818 drivers/net/ethernet/mediatek/mtk_eth_soc.c sizeof(*mac->hw_stats), hw_stats 2820 drivers/net/ethernet/mediatek/mtk_eth_soc.c if (!mac->hw_stats) { hw_stats 2825 drivers/net/ethernet/mediatek/mtk_eth_soc.c spin_lock_init(&mac->hw_stats->stats_lock); hw_stats 2826 drivers/net/ethernet/mediatek/mtk_eth_soc.c u64_stats_init(&mac->hw_stats->syncp); hw_stats 2827 drivers/net/ethernet/mediatek/mtk_eth_soc.c mac->hw_stats->reg_offset = id * MTK_STAT_OFFSET; hw_stats 915 drivers/net/ethernet/mediatek/mtk_eth_soc.h struct mtk_hw_stats *hw_stats; hw_stats 618 drivers/net/ethernet/mellanox/mlx4/mlx4_en.h struct mlx4_en_stat_out_mbox hw_stats; hw_stats 2449 drivers/net/ethernet/mellanox/mlxsw/spectrum.c struct mlxsw_sp_port_hw_stats *hw_stats; hw_stats 2454 drivers/net/ethernet/mellanox/mlxsw/spectrum.c err = mlxsw_sp_get_hw_stats_by_group(&hw_stats, &len, grp); hw_stats 2459 drivers/net/ethernet/mellanox/mlxsw/spectrum.c data[data_index + i] = hw_stats[i].getter(ppcnt_pl); hw_stats 2460 drivers/net/ethernet/mellanox/mlxsw/spectrum.c if (!hw_stats[i].cells_bytes) hw_stats 1508 drivers/net/ethernet/neterion/vxge/vxge-config.c struct vxge_hw_vpath_stats_hw_info *hw_stats) hw_stats 1521 drivers/net/ethernet/neterion/vxge/vxge-config.c hw_stats->ini_num_mwr_sent = hw_stats 1525 drivers/net/ethernet/neterion/vxge/vxge-config.c hw_stats->ini_num_mrd_sent = hw_stats 1529 drivers/net/ethernet/neterion/vxge/vxge-config.c hw_stats->ini_num_cpl_rcvd = hw_stats 1533 drivers/net/ethernet/neterion/vxge/vxge-config.c hw_stats->ini_num_mwr_byte_sent = hw_stats 1537 drivers/net/ethernet/neterion/vxge/vxge-config.c hw_stats->ini_num_cpl_byte_rcvd = hw_stats 1541 drivers/net/ethernet/neterion/vxge/vxge-config.c hw_stats->wrcrdtarb_xoff = hw_stats 1545 drivers/net/ethernet/neterion/vxge/vxge-config.c hw_stats->rdcrdtarb_xoff = hw_stats 1549 drivers/net/ethernet/neterion/vxge/vxge-config.c hw_stats->vpath_genstats_count0 = hw_stats 1554 drivers/net/ethernet/neterion/vxge/vxge-config.c hw_stats->vpath_genstats_count1 = hw_stats 1559 drivers/net/ethernet/neterion/vxge/vxge-config.c hw_stats->vpath_genstats_count2 = hw_stats 1564 drivers/net/ethernet/neterion/vxge/vxge-config.c hw_stats->vpath_genstats_count3 = hw_stats 1569 drivers/net/ethernet/neterion/vxge/vxge-config.c hw_stats->vpath_genstats_count4 = hw_stats 1574 drivers/net/ethernet/neterion/vxge/vxge-config.c hw_stats->vpath_genstats_count5 = hw_stats 1578 drivers/net/ethernet/neterion/vxge/vxge-config.c status = __vxge_hw_vpath_xmac_tx_stats_get(vpath, &hw_stats->tx_stats); hw_stats 1582 drivers/net/ethernet/neterion/vxge/vxge-config.c status = __vxge_hw_vpath_xmac_rx_stats_get(vpath, &hw_stats->rx_stats); hw_stats 1589 drivers/net/ethernet/neterion/vxge/vxge-config.c hw_stats->prog_event_vnum0 = hw_stats 1592 drivers/net/ethernet/neterion/vxge/vxge-config.c hw_stats->prog_event_vnum1 = hw_stats 1598 drivers/net/ethernet/neterion/vxge/vxge-config.c hw_stats->prog_event_vnum2 = hw_stats 1601 drivers/net/ethernet/neterion/vxge/vxge-config.c hw_stats->prog_event_vnum3 = hw_stats 1605 drivers/net/ethernet/neterion/vxge/vxge-config.c hw_stats->rx_multi_cast_frame_discard = hw_stats 1609 drivers/net/ethernet/neterion/vxge/vxge-config.c hw_stats->rx_frm_transferred = hw_stats 1613 drivers/net/ethernet/neterion/vxge/vxge-config.c hw_stats->rxd_returned = hw_stats 1617 drivers/net/ethernet/neterion/vxge/vxge-config.c hw_stats->rx_mpa_len_fail_frms = hw_stats 1619 drivers/net/ethernet/neterion/vxge/vxge-config.c hw_stats->rx_mpa_mrk_fail_frms = hw_stats 1621 drivers/net/ethernet/neterion/vxge/vxge-config.c hw_stats->rx_mpa_crc_fail_frms = hw_stats 1625 drivers/net/ethernet/neterion/vxge/vxge-config.c hw_stats->rx_permitted_frms = hw_stats 1627 drivers/net/ethernet/neterion/vxge/vxge-config.c hw_stats->rx_vp_reset_discarded_frms = hw_stats 1629 drivers/net/ethernet/neterion/vxge/vxge-config.c hw_stats->rx_wol_frms = hw_stats 1633 drivers/net/ethernet/neterion/vxge/vxge-config.c hw_stats->tx_vp_reset_discarded_frms = hw_stats 1646 drivers/net/ethernet/neterion/vxge/vxge-config.c struct vxge_hw_device_stats_hw_info *hw_stats) hw_stats 1658 drivers/net/ethernet/neterion/vxge/vxge-config.c hldev->virtual_paths[i].hw_stats, hw_stats 1663 drivers/net/ethernet/neterion/vxge/vxge-config.c hldev->virtual_paths[i].hw_stats); hw_stats 1666 drivers/net/ethernet/neterion/vxge/vxge-config.c memcpy(hw_stats, &hldev->stats.hw_dev_info_stats, hw_stats 4631 drivers/net/ethernet/neterion/vxge/vxge-config.c vpath->hw_stats = NULL; hw_stats 4748 drivers/net/ethernet/neterion/vxge/vxge-config.c memcpy(vpath->hw_stats_sav, vpath->hw_stats, hw_stats 4751 drivers/net/ethernet/neterion/vxge/vxge-config.c status = __vxge_hw_vpath_stats_get(vpath, vpath->hw_stats); hw_stats 4848 drivers/net/ethernet/neterion/vxge/vxge-config.c vpath->hw_stats = vpath->stats_block->memblock; hw_stats 4849 drivers/net/ethernet/neterion/vxge/vxge-config.c memset(vpath->hw_stats, 0, hw_stats 4853 drivers/net/ethernet/neterion/vxge/vxge-config.c vpath->hw_stats; hw_stats 5071 drivers/net/ethernet/neterion/vxge/vxge-config.c memset(vpath->hw_stats, 0, hw_stats 700 drivers/net/ethernet/neterion/vxge/vxge-config.h struct vxge_hw_vpath_stats_hw_info *hw_stats; hw_stats 240 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c struct vxge_hw_device_stats_hw_info *hw_stats; hw_stats 265 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c hw_stats = kzalloc(sizeof(struct vxge_hw_device_stats_hw_info), hw_stats 267 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c if (hw_stats == NULL) { hw_stats 292 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c status = vxge_hw_device_stats_get(hldev, hw_stats); hw_stats 303 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c vpath_info = hw_stats->vpath_info[j]; hw_stats 537 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c vpath_info = hw_stats->vpath_info[j]; hw_stats 597 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c kfree(hw_stats); hw_stats 1733 drivers/net/ethernet/neterion/vxge/vxge-traffic.h struct vxge_hw_device_stats_hw_info *hw_stats); hw_stats 463 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_ethtool.c char *hw_stats = (char *)&adapter->stats; hw_stats 467 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_ethtool.c char *p = hw_stats + gstats->offset; hw_stats 873 drivers/net/ethernet/tehuti/tehuti.c struct bdx_stats *stats = &priv->hw_stats; hw_stats 2365 drivers/net/ethernet/tehuti/tehuti.c memcpy(data, &priv->hw_stats, sizeof(priv->hw_stats)); hw_stats 269 drivers/net/ethernet/tehuti/tehuti.h struct bdx_stats hw_stats; hw_stats 281 drivers/net/ethernet/ti/cpsw_ethtool.c data[l] = readl(cpsw->hw_stats + hw_stats 47 drivers/net/ethernet/ti/cpsw_priv.c cpsw->hw_stats = ss_regs + CPSW1_HW_STATS; hw_stats 61 drivers/net/ethernet/ti/cpsw_priv.c cpsw->hw_stats = ss_regs + CPSW2_HW_STATS; hw_stats 330 drivers/net/ethernet/ti/cpsw_priv.h u8 __iomem *hw_stats; hw_stats 749 drivers/net/ethernet/ti/netcp_ethss.c u64 *hw_stats; hw_stats 1826 drivers/net/ethernet/ti/netcp_ethss.c gbe_dev->hw_stats[i] = 0; hw_stats 1847 drivers/net/ethernet/ti/netcp_ethss.c gbe_dev->hw_stats[et_stats_entry] += delta; hw_stats 1858 drivers/net/ethernet/ti/netcp_ethss.c data[i] = gbe_dev->hw_stats[i]; hw_stats 1907 drivers/net/ethernet/ti/netcp_ethss.c data[et_entry] = gbe_dev->hw_stats[et_entry]; hw_stats 3282 drivers/net/ethernet/ti/netcp_ethss.c gbe_dev->hw_stats = devm_kcalloc(gbe_dev->dev, hw_stats 3285 drivers/net/ethernet/ti/netcp_ethss.c if (!gbe_dev->hw_stats) { hw_stats 3402 drivers/net/ethernet/ti/netcp_ethss.c gbe_dev->hw_stats = devm_kcalloc(gbe_dev->dev, hw_stats 3405 drivers/net/ethernet/ti/netcp_ethss.c if (!gbe_dev->hw_stats) { hw_stats 3474 drivers/net/ethernet/ti/netcp_ethss.c gbe_dev->hw_stats = devm_kcalloc(gbe_dev->dev, hw_stats 3477 drivers/net/ethernet/ti/netcp_ethss.c if (!gbe_dev->hw_stats) { hw_stats 411 drivers/net/phy/mscc.c const struct vsc85xx_hw_stat *hw_stats; hw_stats 464 drivers/net/phy/mscc.c strlcpy(data + i * ETH_GSTRING_LEN, priv->hw_stats[i].string, hw_stats 473 drivers/net/phy/mscc.c val = phy_read_paged(phydev, priv->hw_stats[i].page, hw_stats 474 drivers/net/phy/mscc.c priv->hw_stats[i].reg); hw_stats 478 drivers/net/phy/mscc.c val = val & priv->hw_stats[i].mask; hw_stats 2227 drivers/net/phy/mscc.c vsc8531->hw_stats = vsc85xx_hw_stats; hw_stats 2252 drivers/net/phy/mscc.c vsc8531->hw_stats = vsc8584_hw_stats; hw_stats 2282 drivers/net/phy/mscc.c vsc8531->hw_stats = vsc8584_hw_stats; hw_stats 2312 drivers/net/phy/mscc.c vsc8531->hw_stats = vsc85xx_hw_stats; hw_stats 2172 include/rdma/ib_verbs.h struct rdma_hw_stats *hw_stats; hw_stats 2636 include/rdma/ib_verbs.h struct rdma_hw_stats *hw_stats; hw_stats 355 net/sched/sch_gred.c struct tc_gred_qopt_offload *hw_stats; hw_stats 359 net/sched/sch_gred.c hw_stats = kzalloc(sizeof(*hw_stats), GFP_KERNEL); hw_stats 360 net/sched/sch_gred.c if (!hw_stats) hw_stats 363 net/sched/sch_gred.c hw_stats->command = TC_GRED_STATS; hw_stats 364 net/sched/sch_gred.c hw_stats->handle = sch->handle; hw_stats 365 net/sched/sch_gred.c hw_stats->parent = sch->parent; hw_stats 369 net/sched/sch_gred.c hw_stats->stats.xstats[i] = &table->tab[i]->stats; hw_stats 371 net/sched/sch_gred.c ret = qdisc_offload_dump_helper(sch, TC_SETUP_QDISC_GRED, hw_stats); hw_stats 378 net/sched/sch_gred.c table->tab[i]->packetsin += hw_stats->stats.bstats[i].packets; hw_stats 379 net/sched/sch_gred.c table->tab[i]->bytesin += hw_stats->stats.bstats[i].bytes; hw_stats 380 net/sched/sch_gred.c table->tab[i]->backlog += hw_stats->stats.qstats[i].backlog; hw_stats 383 net/sched/sch_gred.c hw_stats->stats.bstats[i].bytes, hw_stats 384 net/sched/sch_gred.c hw_stats->stats.bstats[i].packets); hw_stats 385 net/sched/sch_gred.c sch->qstats.qlen += hw_stats->stats.qstats[i].qlen; hw_stats 386 net/sched/sch_gred.c sch->qstats.backlog += hw_stats->stats.qstats[i].backlog; hw_stats 387 net/sched/sch_gred.c sch->qstats.drops += hw_stats->stats.qstats[i].drops; hw_stats 388 net/sched/sch_gred.c sch->qstats.requeues += hw_stats->stats.qstats[i].requeues; hw_stats 389 net/sched/sch_gred.c sch->qstats.overlimits += hw_stats->stats.qstats[i].overlimits; hw_stats 392 net/sched/sch_gred.c kfree(hw_stats); hw_stats 249 net/sched/sch_prio.c struct tc_prio_qopt_offload hw_stats = { hw_stats 261 net/sched/sch_prio.c return qdisc_offload_dump_helper(sch, TC_SETUP_QDISC_PRIO, &hw_stats); hw_stats 286 net/sched/sch_red.c struct tc_red_qopt_offload hw_stats = { hw_stats 296 net/sched/sch_red.c return qdisc_offload_dump_helper(sch, TC_SETUP_QDISC_RED, &hw_stats);