Lines Matching refs:swstats

880 	struct swStat *swstats;
890 swstats = &stats->sw_stat;
913 swstats->mem_freed += PAGE_SIZE;
926 swstats->mem_freed += PAGE_SIZE;
929 swstats->mem_freed += tx_cfg->fifo_len *
945 swstats->mem_freed += size;
947 swstats->mem_freed += sizeof(struct rxd_info) *
967 swstats->mem_freed +=
970 swstats->mem_freed +=
975 swstats->mem_freed += sizeof(struct buffAdd) *
979 swstats->mem_freed += sizeof(struct buffAdd *) *
989 swstats->mem_freed += tx_cfg->fifo_len *
996 swstats->mem_freed += mac_control->stats_mem_sz;
2374 struct swStat *swstats = &stats->sw_stat;
2386 swstats->mem_freed += skb->truesize;
2465 struct swStat *swstats = &ring->nic->mac_control.stats_info->sw_stat;
2522 swstats->mem_alloc_fail_cnt++;
2526 swstats->mem_allocated += skb->truesize;
2652 swstats->pci_map_fail_cnt++;
2653 swstats->mem_freed += skb->truesize;
2668 struct swStat *swstats = &stats->sw_stat;
2698 swstats->mem_freed += skb->truesize;
3004 struct swStat *swstats = &stats->sw_stat;
3020 swstats->parity_err_cnt++;
3027 swstats->tx_buf_abort_cnt++;
3031 swstats->tx_desc_abort_cnt++;
3035 swstats->tx_parity_err_cnt++;
3039 swstats->tx_link_loss_cnt++;
3043 swstats->tx_list_proc_err_cnt++;
3058 swstats->mem_freed += skb->truesize;
3406 struct swStat *swstats;
3462 swstats = &stats->sw_stat;
3465 up_cnt = swstats->link_up_cnt;
3466 down_cnt = swstats->link_down_cnt;
3467 up_time = swstats->link_up_time;
3468 down_time = swstats->link_down_time;
3469 reset_cnt = swstats->soft_reset_cnt;
3470 mem_alloc_cnt = swstats->mem_allocated;
3471 mem_free_cnt = swstats->mem_freed;
3472 watchdog_cnt = swstats->watchdog_timer_cnt;
3477 swstats->link_up_cnt = up_cnt;
3478 swstats->link_down_cnt = down_cnt;
3479 swstats->link_up_time = up_time;
3480 swstats->link_down_time = down_time;
3481 swstats->soft_reset_cnt = reset_cnt;
3482 swstats->mem_allocated = mem_alloc_cnt;
3483 swstats->mem_freed = mem_free_cnt;
3484 swstats->watchdog_timer_cnt = watchdog_cnt;
3729 struct swStat *swstats = &stats->sw_stat;
3736 swstats->mem_alloc_fail_cnt++;
3739 swstats->mem_allocated += size;
3746 swstats->mem_alloc_fail_cnt++;
3748 swstats->mem_freed
3752 swstats->mem_allocated += size;
3784 swstats->mem_freed += nic->num_entries *
3787 swstats->mem_freed += nic->num_entries *
3908 struct swStat *swstats = &sp->mac_control.stats_info->sw_stat;
3939 swstats->mem_freed += sp->num_entries *
3944 swstats->mem_freed += sp->num_entries *
4018 struct swStat *swstats = &stats->sw_stat;
4167 swstats->fifo_full_cnt++;
4173 swstats->mem_allocated += skb->truesize;
4182 swstats->pci_map_fail_cnt++;
4184 swstats->mem_freed += skb->truesize;
5675 struct swStat *swstats = &nic->mac_control.stats_info->sw_stat;
5688 swstats->mem_alloc_fail_cnt++;
5691 swstats->mem_allocated += 256;
5737 swstats->mem_freed += 256;
6229 struct swStat *swstats = &stats->sw_stat;
6417 tmp_stats[i++] = swstats->single_ecc_errs;
6418 tmp_stats[i++] = swstats->double_ecc_errs;
6419 tmp_stats[i++] = swstats->parity_err_cnt;
6420 tmp_stats[i++] = swstats->serious_err_cnt;
6421 tmp_stats[i++] = swstats->soft_reset_cnt;
6422 tmp_stats[i++] = swstats->fifo_full_cnt;
6424 tmp_stats[i++] = swstats->ring_full_cnt[k];
6437 tmp_stats[i++] = swstats->clubbed_frms_cnt;
6438 tmp_stats[i++] = swstats->sending_both;
6439 tmp_stats[i++] = swstats->outof_sequence_pkts;
6440 tmp_stats[i++] = swstats->flush_max_pkts;
6441 if (swstats->num_aggregations) {
6442 u64 tmp = swstats->sum_avg_pkts_aggregated;
6448 while (tmp >= swstats->num_aggregations) {
6449 tmp -= swstats->num_aggregations;
6455 tmp_stats[i++] = swstats->mem_alloc_fail_cnt;
6456 tmp_stats[i++] = swstats->pci_map_fail_cnt;
6457 tmp_stats[i++] = swstats->watchdog_timer_cnt;
6458 tmp_stats[i++] = swstats->mem_allocated;
6459 tmp_stats[i++] = swstats->mem_freed;
6460 tmp_stats[i++] = swstats->link_up_cnt;
6461 tmp_stats[i++] = swstats->link_down_cnt;
6462 tmp_stats[i++] = swstats->link_up_time;
6463 tmp_stats[i++] = swstats->link_down_time;
6465 tmp_stats[i++] = swstats->tx_buf_abort_cnt;
6466 tmp_stats[i++] = swstats->tx_desc_abort_cnt;
6467 tmp_stats[i++] = swstats->tx_parity_err_cnt;
6468 tmp_stats[i++] = swstats->tx_link_loss_cnt;
6469 tmp_stats[i++] = swstats->tx_list_proc_err_cnt;
6471 tmp_stats[i++] = swstats->rx_parity_err_cnt;
6472 tmp_stats[i++] = swstats->rx_abort_cnt;
6473 tmp_stats[i++] = swstats->rx_parity_abort_cnt;
6474 tmp_stats[i++] = swstats->rx_rda_fail_cnt;
6475 tmp_stats[i++] = swstats->rx_unkn_prot_cnt;
6476 tmp_stats[i++] = swstats->rx_fcs_err_cnt;
6477 tmp_stats[i++] = swstats->rx_buf_size_err_cnt;
6478 tmp_stats[i++] = swstats->rx_rxd_corrupt_cnt;
6479 tmp_stats[i++] = swstats->rx_unkn_err_cnt;
6480 tmp_stats[i++] = swstats->tda_err_cnt;
6481 tmp_stats[i++] = swstats->pfc_err_cnt;
6482 tmp_stats[i++] = swstats->pcc_err_cnt;
6483 tmp_stats[i++] = swstats->tti_err_cnt;
6484 tmp_stats[i++] = swstats->tpa_err_cnt;
6485 tmp_stats[i++] = swstats->sm_err_cnt;
6486 tmp_stats[i++] = swstats->lso_err_cnt;
6487 tmp_stats[i++] = swstats->mac_tmac_err_cnt;
6488 tmp_stats[i++] = swstats->mac_rmac_err_cnt;
6489 tmp_stats[i++] = swstats->xgxs_txgxs_err_cnt;
6490 tmp_stats[i++] = swstats->xgxs_rxgxs_err_cnt;
6491 tmp_stats[i++] = swstats->rc_err_cnt;
6492 tmp_stats[i++] = swstats->prc_pcix_err_cnt;
6493 tmp_stats[i++] = swstats->rpa_err_cnt;
6494 tmp_stats[i++] = swstats->rda_err_cnt;
6495 tmp_stats[i++] = swstats->rti_err_cnt;
6496 tmp_stats[i++] = swstats->mc_err_cnt;
7248 struct swStat *swstats = &sp->mac_control.stats_info->sw_stat;
7251 swstats->watchdog_timer_cnt++;
7253 swstats->soft_reset_cnt++;
7282 struct swStat *swstats = &sp->mac_control.stats_info->sw_stat;
7289 swstats->parity_err_cnt++;
7294 swstats->rx_parity_err_cnt++;
7298 swstats->rx_abort_cnt++;
7302 swstats->rx_parity_abort_cnt++;
7306 swstats->rx_rda_fail_cnt++;
7310 swstats->rx_unkn_prot_cnt++;
7314 swstats->rx_fcs_err_cnt++;
7318 swstats->rx_buf_size_err_cnt++;
7322 swstats->rx_rxd_corrupt_cnt++;
7326 swstats->rx_unkn_err_cnt++;
7340 swstats->mem_freed
7400 swstats->flush_max_pkts++;
7404 swstats->sending_both++;
7433 swstats->mem_freed += skb->truesize;
7458 struct swStat *swstats = &sp->mac_control.stats_info->sw_stat;
7466 if (swstats->link_up_cnt)
7467 swstats->link_up_time =
7469 swstats->link_down_cnt++;
7472 if (swstats->link_down_cnt)
7473 swstats->link_down_time =
7475 swstats->link_up_cnt++;
8256 struct swStat *swstats = &sp->mac_control.stats_info->sw_stat;
8277 swstats->sum_avg_pkts_aggregated += lro->sg_num;
8278 swstats->num_aggregations++;
8369 struct swStat *swstats = &sp->mac_control.stats_info->sw_stat;
8396 swstats->outof_sequence_pkts++;
8484 struct swStat *swstats = &sp->mac_control.stats_info->sw_stat;
8495 swstats->clubbed_frms_cnt++;