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;
2376 struct swStat *swstats = &stats->sw_stat;
2388 swstats->mem_freed += skb->truesize;
2467 struct swStat *swstats = &ring->nic->mac_control.stats_info->sw_stat;
2524 swstats->mem_alloc_fail_cnt++;
2528 swstats->mem_allocated += skb->truesize;
2654 swstats->pci_map_fail_cnt++;
2655 swstats->mem_freed += skb->truesize;
2670 struct swStat *swstats = &stats->sw_stat;
2700 swstats->mem_freed += skb->truesize;
3006 struct swStat *swstats = &stats->sw_stat;
3022 swstats->parity_err_cnt++;
3029 swstats->tx_buf_abort_cnt++;
3033 swstats->tx_desc_abort_cnt++;
3037 swstats->tx_parity_err_cnt++;
3041 swstats->tx_link_loss_cnt++;
3045 swstats->tx_list_proc_err_cnt++;
3060 swstats->mem_freed += skb->truesize;
3410 struct swStat *swstats;
3466 swstats = &stats->sw_stat;
3469 up_cnt = swstats->link_up_cnt;
3470 down_cnt = swstats->link_down_cnt;
3471 up_time = swstats->link_up_time;
3472 down_time = swstats->link_down_time;
3473 reset_cnt = swstats->soft_reset_cnt;
3474 mem_alloc_cnt = swstats->mem_allocated;
3475 mem_free_cnt = swstats->mem_freed;
3476 watchdog_cnt = swstats->watchdog_timer_cnt;
3481 swstats->link_up_cnt = up_cnt;
3482 swstats->link_down_cnt = down_cnt;
3483 swstats->link_up_time = up_time;
3484 swstats->link_down_time = down_time;
3485 swstats->soft_reset_cnt = reset_cnt;
3486 swstats->mem_allocated = mem_alloc_cnt;
3487 swstats->mem_freed = mem_free_cnt;
3488 swstats->watchdog_timer_cnt = watchdog_cnt;
3733 struct swStat *swstats = &stats->sw_stat;
3740 swstats->mem_alloc_fail_cnt++;
3743 swstats->mem_allocated += size;
3750 swstats->mem_alloc_fail_cnt++;
3752 swstats->mem_freed
3756 swstats->mem_allocated += size;
3788 swstats->mem_freed += nic->num_entries *
3791 swstats->mem_freed += nic->num_entries *
3912 struct swStat *swstats = &sp->mac_control.stats_info->sw_stat;
3943 swstats->mem_freed += sp->num_entries *
3948 swstats->mem_freed += sp->num_entries *
4022 struct swStat *swstats = &stats->sw_stat;
4171 swstats->fifo_full_cnt++;
4177 swstats->mem_allocated += skb->truesize;
4186 swstats->pci_map_fail_cnt++;
4188 swstats->mem_freed += skb->truesize;
5682 struct swStat *swstats = &nic->mac_control.stats_info->sw_stat;
5695 swstats->mem_alloc_fail_cnt++;
5698 swstats->mem_allocated += 256;
5744 swstats->mem_freed += 256;
6236 struct swStat *swstats = &stats->sw_stat;
6424 tmp_stats[i++] = swstats->single_ecc_errs;
6425 tmp_stats[i++] = swstats->double_ecc_errs;
6426 tmp_stats[i++] = swstats->parity_err_cnt;
6427 tmp_stats[i++] = swstats->serious_err_cnt;
6428 tmp_stats[i++] = swstats->soft_reset_cnt;
6429 tmp_stats[i++] = swstats->fifo_full_cnt;
6431 tmp_stats[i++] = swstats->ring_full_cnt[k];
6444 tmp_stats[i++] = swstats->clubbed_frms_cnt;
6445 tmp_stats[i++] = swstats->sending_both;
6446 tmp_stats[i++] = swstats->outof_sequence_pkts;
6447 tmp_stats[i++] = swstats->flush_max_pkts;
6448 if (swstats->num_aggregations) {
6449 u64 tmp = swstats->sum_avg_pkts_aggregated;
6455 while (tmp >= swstats->num_aggregations) {
6456 tmp -= swstats->num_aggregations;
6462 tmp_stats[i++] = swstats->mem_alloc_fail_cnt;
6463 tmp_stats[i++] = swstats->pci_map_fail_cnt;
6464 tmp_stats[i++] = swstats->watchdog_timer_cnt;
6465 tmp_stats[i++] = swstats->mem_allocated;
6466 tmp_stats[i++] = swstats->mem_freed;
6467 tmp_stats[i++] = swstats->link_up_cnt;
6468 tmp_stats[i++] = swstats->link_down_cnt;
6469 tmp_stats[i++] = swstats->link_up_time;
6470 tmp_stats[i++] = swstats->link_down_time;
6472 tmp_stats[i++] = swstats->tx_buf_abort_cnt;
6473 tmp_stats[i++] = swstats->tx_desc_abort_cnt;
6474 tmp_stats[i++] = swstats->tx_parity_err_cnt;
6475 tmp_stats[i++] = swstats->tx_link_loss_cnt;
6476 tmp_stats[i++] = swstats->tx_list_proc_err_cnt;
6478 tmp_stats[i++] = swstats->rx_parity_err_cnt;
6479 tmp_stats[i++] = swstats->rx_abort_cnt;
6480 tmp_stats[i++] = swstats->rx_parity_abort_cnt;
6481 tmp_stats[i++] = swstats->rx_rda_fail_cnt;
6482 tmp_stats[i++] = swstats->rx_unkn_prot_cnt;
6483 tmp_stats[i++] = swstats->rx_fcs_err_cnt;
6484 tmp_stats[i++] = swstats->rx_buf_size_err_cnt;
6485 tmp_stats[i++] = swstats->rx_rxd_corrupt_cnt;
6486 tmp_stats[i++] = swstats->rx_unkn_err_cnt;
6487 tmp_stats[i++] = swstats->tda_err_cnt;
6488 tmp_stats[i++] = swstats->pfc_err_cnt;
6489 tmp_stats[i++] = swstats->pcc_err_cnt;
6490 tmp_stats[i++] = swstats->tti_err_cnt;
6491 tmp_stats[i++] = swstats->tpa_err_cnt;
6492 tmp_stats[i++] = swstats->sm_err_cnt;
6493 tmp_stats[i++] = swstats->lso_err_cnt;
6494 tmp_stats[i++] = swstats->mac_tmac_err_cnt;
6495 tmp_stats[i++] = swstats->mac_rmac_err_cnt;
6496 tmp_stats[i++] = swstats->xgxs_txgxs_err_cnt;
6497 tmp_stats[i++] = swstats->xgxs_rxgxs_err_cnt;
6498 tmp_stats[i++] = swstats->rc_err_cnt;
6499 tmp_stats[i++] = swstats->prc_pcix_err_cnt;
6500 tmp_stats[i++] = swstats->rpa_err_cnt;
6501 tmp_stats[i++] = swstats->rda_err_cnt;
6502 tmp_stats[i++] = swstats->rti_err_cnt;
6503 tmp_stats[i++] = swstats->mc_err_cnt;
7255 struct swStat *swstats = &sp->mac_control.stats_info->sw_stat;
7258 swstats->watchdog_timer_cnt++;
7260 swstats->soft_reset_cnt++;
7289 struct swStat *swstats = &sp->mac_control.stats_info->sw_stat;
7296 swstats->parity_err_cnt++;
7301 swstats->rx_parity_err_cnt++;
7305 swstats->rx_abort_cnt++;
7309 swstats->rx_parity_abort_cnt++;
7313 swstats->rx_rda_fail_cnt++;
7317 swstats->rx_unkn_prot_cnt++;
7321 swstats->rx_fcs_err_cnt++;
7325 swstats->rx_buf_size_err_cnt++;
7329 swstats->rx_rxd_corrupt_cnt++;
7333 swstats->rx_unkn_err_cnt++;
7347 swstats->mem_freed
7406 swstats->flush_max_pkts++;
7410 swstats->sending_both++;
7439 swstats->mem_freed += skb->truesize;
7464 struct swStat *swstats = &sp->mac_control.stats_info->sw_stat;
7472 if (swstats->link_up_cnt)
7473 swstats->link_up_time =
7475 swstats->link_down_cnt++;
7478 if (swstats->link_down_cnt)
7479 swstats->link_down_time =
7481 swstats->link_up_cnt++;
8250 struct swStat *swstats = &sp->mac_control.stats_info->sw_stat;
8271 swstats->sum_avg_pkts_aggregated += lro->sg_num;
8272 swstats->num_aggregations++;
8363 struct swStat *swstats = &sp->mac_control.stats_info->sw_stat;
8390 swstats->outof_sequence_pkts++;
8478 struct swStat *swstats = &sp->mac_control.stats_info->sw_stat;
8489 swstats->clubbed_frms_cnt++;