• Home
  • Raw
  • Download

Lines Matching refs:hw_stats

2205 	struct dsaf_hw_stats *hw_stats  in hns_dsaf_update_stats()  local
2206 = &dsaf_dev->hw_stats[node_num]; in hns_dsaf_update_stats()
2211 hw_stats->pad_drop += dsaf_read_dev(dsaf_dev, in hns_dsaf_update_stats()
2213 hw_stats->man_pkts += dsaf_read_dev(dsaf_dev, in hns_dsaf_update_stats()
2215 hw_stats->rx_pkts += dsaf_read_dev(dsaf_dev, in hns_dsaf_update_stats()
2217 hw_stats->rx_pkt_id += dsaf_read_dev(dsaf_dev, in hns_dsaf_update_stats()
2222 hw_stats->rx_pause_frame += in hns_dsaf_update_stats()
2225 hw_stats->release_buf_num += dsaf_read_dev(dsaf_dev, in hns_dsaf_update_stats()
2227 hw_stats->sbm_drop += dsaf_read_dev(dsaf_dev, in hns_dsaf_update_stats()
2229 hw_stats->crc_false += dsaf_read_dev(dsaf_dev, in hns_dsaf_update_stats()
2231 hw_stats->bp_drop += dsaf_read_dev(dsaf_dev, in hns_dsaf_update_stats()
2233 hw_stats->rslt_drop += dsaf_read_dev(dsaf_dev, in hns_dsaf_update_stats()
2235 hw_stats->local_addr_false += dsaf_read_dev(dsaf_dev, in hns_dsaf_update_stats()
2238 hw_stats->vlan_drop += dsaf_read_dev(dsaf_dev, in hns_dsaf_update_stats()
2240 hw_stats->stp_drop += dsaf_read_dev(dsaf_dev, in hns_dsaf_update_stats()
2247 hw_stats->rx_pfc[i] += dsaf_read_dev(dsaf_dev, in hns_dsaf_update_stats()
2249 hw_stats->tx_pfc[i] += dsaf_read_dev(dsaf_dev, in hns_dsaf_update_stats()
2255 hw_stats->tx_pkts += dsaf_read_dev(dsaf_dev, in hns_dsaf_update_stats()
2649 struct dsaf_hw_stats *hw_stats = &ddev->hw_stats[node_num]; in hns_dsaf_get_node_stats() local
2652 p[0] = hw_stats->pad_drop; in hns_dsaf_get_node_stats()
2653 p[1] = hw_stats->man_pkts; in hns_dsaf_get_node_stats()
2654 p[2] = hw_stats->rx_pkts; in hns_dsaf_get_node_stats()
2655 p[3] = hw_stats->rx_pkt_id; in hns_dsaf_get_node_stats()
2656 p[4] = hw_stats->rx_pause_frame; in hns_dsaf_get_node_stats()
2657 p[5] = hw_stats->release_buf_num; in hns_dsaf_get_node_stats()
2658 p[6] = hw_stats->sbm_drop; in hns_dsaf_get_node_stats()
2659 p[7] = hw_stats->crc_false; in hns_dsaf_get_node_stats()
2660 p[8] = hw_stats->bp_drop; in hns_dsaf_get_node_stats()
2661 p[9] = hw_stats->rslt_drop; in hns_dsaf_get_node_stats()
2662 p[10] = hw_stats->local_addr_false; in hns_dsaf_get_node_stats()
2663 p[11] = hw_stats->vlan_drop; in hns_dsaf_get_node_stats()
2664 p[12] = hw_stats->stp_drop; in hns_dsaf_get_node_stats()
2667 p[13 + i + 0 * DSAF_PRIO_NR] = hw_stats->rx_pfc[i]; in hns_dsaf_get_node_stats()
2668 p[13 + i + 1 * DSAF_PRIO_NR] = hw_stats->tx_pfc[i]; in hns_dsaf_get_node_stats()
2670 p[29] = hw_stats->tx_pkts; in hns_dsaf_get_node_stats()
2674 p[13] = hw_stats->tx_pkts; in hns_dsaf_get_node_stats()