Searched refs:tstats (Results 1 – 11 of 11) sorted by relevance
| /linux/drivers/net/ethernet/cavium/liquidio/ |
| H A D | lio_core.c | 1304 struct nic_tx_stats *tstats = &oct_dev->link_stats.fromhost; in octnet_nic_stats_callback() local 1353 tstats->total_pkts_sent = rsp_tstats->total_pkts_sent; in octnet_nic_stats_callback() 1354 tstats->total_bytes_sent = rsp_tstats->total_bytes_sent; in octnet_nic_stats_callback() 1355 tstats->mcast_pkts_sent = rsp_tstats->mcast_pkts_sent; in octnet_nic_stats_callback() 1356 tstats->bcast_pkts_sent = rsp_tstats->bcast_pkts_sent; in octnet_nic_stats_callback() 1357 tstats->ctl_sent = rsp_tstats->ctl_sent; in octnet_nic_stats_callback() 1359 tstats->one_collision_sent = rsp_tstats->one_collision_sent; in octnet_nic_stats_callback() 1361 tstats->multi_collision_sent = rsp_tstats->multi_collision_sent; in octnet_nic_stats_callback() 1363 tstats->max_collision_fail = rsp_tstats->max_collision_fail; in octnet_nic_stats_callback() 1365 tstats->max_deferral_fail = rsp_tstats->max_deferral_fail; in octnet_nic_stats_callback() [all …]
|
| /linux/drivers/net/ethernet/qlogic/qed/ |
| H A D | qed_fcoe.c | 646 struct fcoe_rx_stat tstats; in _qed_fcoe_get_tstats() local 649 memset(&tstats, 0, sizeof(tstats)); in _qed_fcoe_get_tstats() 652 qed_memcpy_from(p_hwfn, p_ptt, &tstats, tstats_addr, sizeof(tstats)); in _qed_fcoe_get_tstats() 654 p_stats->fcoe_rx_byte_cnt = HILO_64_REGPAIR(tstats.fcoe_rx_byte_cnt); in _qed_fcoe_get_tstats() 656 HILO_64_REGPAIR(tstats.fcoe_rx_data_pkt_cnt); in _qed_fcoe_get_tstats() 658 HILO_64_REGPAIR(tstats.fcoe_rx_xfer_pkt_cnt); in _qed_fcoe_get_tstats() 660 HILO_64_REGPAIR(tstats.fcoe_rx_other_pkt_cnt); in _qed_fcoe_get_tstats() 663 le32_to_cpu(tstats.fcoe_silent_drop_pkt_cmdq_full_cnt); in _qed_fcoe_get_tstats() 665 le32_to_cpu(tstats.fcoe_silent_drop_pkt_rq_full_cnt); in _qed_fcoe_get_tstats() 667 le32_to_cpu(tstats.fcoe_silent_drop_pkt_crc_error_cnt); in _qed_fcoe_get_tstats() [all …]
|
| H A D | qed_iscsi.c | 887 struct tstorm_iscsi_stats_drv tstats; in _qed_iscsi_get_tstats() local 890 memset(&tstats, 0, sizeof(tstats)); in _qed_iscsi_get_tstats() 893 qed_memcpy_from(p_hwfn, p_ptt, &tstats, tstats_addr, sizeof(tstats)); in _qed_iscsi_get_tstats() 896 HILO_64_REGPAIR(tstats.iscsi_rx_bytes_cnt); in _qed_iscsi_get_tstats() 898 HILO_64_REGPAIR(tstats.iscsi_rx_packet_cnt); in _qed_iscsi_get_tstats() 900 HILO_64_REGPAIR(tstats.iscsi_rx_new_ooo_isle_events_cnt); in _qed_iscsi_get_tstats() 902 le32_to_cpu(tstats.iscsi_cmdq_threshold_cnt); in _qed_iscsi_get_tstats() 904 le32_to_cpu(tstats.iscsi_rq_threshold_cnt); in _qed_iscsi_get_tstats() 906 le32_to_cpu(tstats.iscsi_immq_threshold_cnt); in _qed_iscsi_get_tstats()
|
| H A D | qed_ll2.c | 2259 struct core_ll2_tstorm_per_queue_stat tstats; in _qed_ll2_get_tstats() local 2263 memset(&tstats, 0, sizeof(tstats)); in _qed_ll2_get_tstats() 2266 qed_memcpy_from(p_hwfn, p_ptt, &tstats, tstats_addr, sizeof(tstats)); in _qed_ll2_get_tstats() 2269 HILO_64_REGPAIR(tstats.packet_too_big_discard); in _qed_ll2_get_tstats() 2270 p_stats->no_buff_discard += HILO_64_REGPAIR(tstats.no_buff_discard); in _qed_ll2_get_tstats()
|
| H A D | qed_vf.h | 146 struct pfvf_storm_stats tstats; member
|
| H A D | qed_sriov.c | 1531 p_stats->tstats.address = 0; in qed_iov_vf_mbx_acquire_stats() 1532 p_stats->tstats.len = 0; in qed_iov_vf_mbx_acquire_stats()
|
| /linux/include/net/ |
| H A D | ip_tunnels.h | 679 struct pcpu_sw_netstats *tstats = get_cpu_ptr(dev->tstats); in iptunnel_xmit_stats() local 681 u64_stats_update_begin(&tstats->syncp); in iptunnel_xmit_stats() 682 u64_stats_add(&tstats->tx_bytes, pkt_len); in iptunnel_xmit_stats() 683 u64_stats_inc(&tstats->tx_packets); in iptunnel_xmit_stats() 684 u64_stats_update_end(&tstats->syncp); in iptunnel_xmit_stats() 685 put_cpu_ptr(tstats); in iptunnel_xmit_stats()
|
| /linux/Documentation/networking/ |
| H A D | gen_stats.rst | 32 mystruct->tstats.packet++;
|
| /linux/net/sched/ |
| H A D | sch_cake.c | 2998 struct nlattr *tstats, *ts; in cake_dump_stats() local 3027 tstats = nla_nest_start_noflag(d->skb, TCA_CAKE_STATS_TIN_STATS); in cake_dump_stats() 3028 if (!tstats) in cake_dump_stats() 3086 nla_nest_end(d->skb, tstats); in cake_dump_stats()
|
| /linux/drivers/net/ |
| H A D | macsec.c | 3786 if (!dev->tstats) in macsec_get_stats64() 3789 dev_fetch_sw_netstats(s, dev->tstats); in macsec_get_stats64()
|
| /linux/net/dsa/ |
| H A D | user.c | 1056 s = per_cpu_ptr(dev->tstats, i); in dsa_user_get_ethtool_stats()
|