/linux-4.4.14/drivers/net/ethernet/neterion/vxge/ |
D | vxge-ethtool.c | 385 *ptr++ = xmac_stats->port_stats[k].tx_ttl_frms; in vxge_get_ethtool_stats() 386 *ptr++ = xmac_stats->port_stats[k].tx_ttl_octets; in vxge_get_ethtool_stats() 387 *ptr++ = xmac_stats->port_stats[k].tx_data_octets; in vxge_get_ethtool_stats() 388 *ptr++ = xmac_stats->port_stats[k].tx_mcast_frms; in vxge_get_ethtool_stats() 389 *ptr++ = xmac_stats->port_stats[k].tx_bcast_frms; in vxge_get_ethtool_stats() 390 *ptr++ = xmac_stats->port_stats[k].tx_ucast_frms; in vxge_get_ethtool_stats() 391 *ptr++ = xmac_stats->port_stats[k].tx_tagged_frms; in vxge_get_ethtool_stats() 392 *ptr++ = xmac_stats->port_stats[k].tx_vld_ip; in vxge_get_ethtool_stats() 393 *ptr++ = xmac_stats->port_stats[k].tx_vld_ip_octets; in vxge_get_ethtool_stats() 394 *ptr++ = xmac_stats->port_stats[k].tx_icmp; in vxge_get_ethtool_stats() [all …]
|
D | vxge-traffic.h | 1099 port_stats[VXGE_HW_MAC_MAX_MAC_PORT_ID+1]; member
|
D | vxge-config.c | 1766 struct vxge_hw_xmac_port_stats *port_stats) in vxge_hw_device_xmac_port_stats_get() argument 1772 val64 = (u64 *) port_stats; in vxge_hw_device_xmac_port_stats_get() 1819 i, &xmac_stats->port_stats[i]); in vxge_hw_device_xmac_stats_get()
|
/linux-4.4.14/drivers/net/ethernet/qlogic/qed/ |
D | qed_dev.c | 1552 struct port_stats port_stats; in __qed_get_vport_stats() local 1580 memset(&port_stats, 0, sizeof(port_stats)); in __qed_get_vport_stats() 1583 qed_memcpy_from(p_hwfn, p_ptt, &port_stats, in __qed_get_vport_stats() 1586 sizeof(port_stats)); in __qed_get_vport_stats() 1636 stats->rx_64_byte_packets += port_stats.pmm.r64; in __qed_get_vport_stats() 1637 stats->rx_127_byte_packets += port_stats.pmm.r127; in __qed_get_vport_stats() 1638 stats->rx_255_byte_packets += port_stats.pmm.r255; in __qed_get_vport_stats() 1639 stats->rx_511_byte_packets += port_stats.pmm.r511; in __qed_get_vport_stats() 1640 stats->rx_1023_byte_packets += port_stats.pmm.r1023; in __qed_get_vport_stats() 1641 stats->rx_1518_byte_packets += port_stats.pmm.r1518; in __qed_get_vport_stats() [all …]
|
D | qed_hsi.h | 3445 struct port_stats { struct 3781 struct port_stats stats;
|
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx4/ |
D | en_port.c | 177 priv->port_stats.rx_chksum_good = 0; in mlx4_en_DUMP_ETH_STATS() 178 priv->port_stats.rx_chksum_none = 0; in mlx4_en_DUMP_ETH_STATS() 179 priv->port_stats.rx_chksum_complete = 0; in mlx4_en_DUMP_ETH_STATS() 183 priv->port_stats.rx_chksum_good += priv->rx_ring[i]->csum_ok; in mlx4_en_DUMP_ETH_STATS() 184 priv->port_stats.rx_chksum_none += priv->rx_ring[i]->csum_none; in mlx4_en_DUMP_ETH_STATS() 185 priv->port_stats.rx_chksum_complete += priv->rx_ring[i]->csum_complete; in mlx4_en_DUMP_ETH_STATS() 189 priv->port_stats.tx_chksum_offload = 0; in mlx4_en_DUMP_ETH_STATS() 190 priv->port_stats.queue_stopped = 0; in mlx4_en_DUMP_ETH_STATS() 191 priv->port_stats.wake_queue = 0; in mlx4_en_DUMP_ETH_STATS() 192 priv->port_stats.tso_packets = 0; in mlx4_en_DUMP_ETH_STATS() [all …]
|
D | mlx4_en.h | 576 struct mlx4_en_port_stats port_stats; member
|
D | en_netdev.c | 1311 priv->port_stats.tx_timeout++; in mlx4_en_tx_timeout() 1907 memset(&priv->port_stats, 0, sizeof(priv->port_stats)); in mlx4_en_clear_stats()
|
D | en_ethtool.c | 373 data[index++] = ((unsigned long *)&priv->port_stats)[i]; in mlx4_en_get_ethtool_stats()
|
/linux-4.4.14/drivers/net/ethernet/emulex/benet/ |
D | be_main.c | 364 struct be_port_rxf_stats_v0 *port_stats = in populate_be_v0_stats() local 369 drvs->rx_pause_frames = port_stats->rx_pause_frames; in populate_be_v0_stats() 370 drvs->rx_crc_errors = port_stats->rx_crc_errors; in populate_be_v0_stats() 371 drvs->rx_control_frames = port_stats->rx_control_frames; in populate_be_v0_stats() 372 drvs->rx_in_range_errors = port_stats->rx_in_range_errors; in populate_be_v0_stats() 373 drvs->rx_frame_too_long = port_stats->rx_frame_too_long; in populate_be_v0_stats() 374 drvs->rx_dropped_runt = port_stats->rx_dropped_runt; in populate_be_v0_stats() 375 drvs->rx_ip_checksum_errs = port_stats->rx_ip_checksum_errs; in populate_be_v0_stats() 376 drvs->rx_tcp_checksum_errs = port_stats->rx_tcp_checksum_errs; in populate_be_v0_stats() 377 drvs->rx_udp_checksum_errs = port_stats->rx_udp_checksum_errs; in populate_be_v0_stats() [all …]
|
/linux-4.4.14/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_ctx.c | 1186 struct __qlcnic_esw_statistics port_stats; in qlcnic_get_eswitch_stats() local 1211 memset(&port_stats, 0, sizeof(struct __qlcnic_esw_statistics)); in qlcnic_get_eswitch_stats() 1213 rx_tx, &port_stats)) in qlcnic_get_eswitch_stats() 1216 esw_stats->size = port_stats.size; in qlcnic_get_eswitch_stats() 1217 esw_stats->version = port_stats.version; in qlcnic_get_eswitch_stats() 1219 port_stats.unicast_frames); in qlcnic_get_eswitch_stats() 1221 port_stats.multicast_frames); in qlcnic_get_eswitch_stats() 1223 port_stats.broadcast_frames); in qlcnic_get_eswitch_stats() 1225 port_stats.dropped_frames); in qlcnic_get_eswitch_stats() 1227 port_stats.errors); in qlcnic_get_eswitch_stats() [all …]
|
D | qlcnic_ethtool.c | 1335 struct qlcnic_esw_statistics port_stats; in qlcnic_get_ethtool_stats() local 1373 memset(&port_stats, 0, sizeof(struct qlcnic_esw_statistics)); in qlcnic_get_ethtool_stats() 1375 QLCNIC_QUERY_RX_COUNTER, &port_stats.rx); in qlcnic_get_ethtool_stats() 1379 data = qlcnic_fill_stats(data, &port_stats.rx, QLCNIC_ESW_STATS); in qlcnic_get_ethtool_stats() 1381 QLCNIC_QUERY_TX_COUNTER, &port_stats.tx); in qlcnic_get_ethtool_stats() 1385 qlcnic_fill_stats(data, &port_stats.tx, QLCNIC_ESW_STATS); in qlcnic_get_ethtool_stats()
|
D | qlcnic_sysfs.c | 780 struct qlcnic_esw_statistics port_stats; in qlcnic_sysfs_get_port_stats() local 792 memset(&port_stats, 0, size); in qlcnic_sysfs_get_port_stats() 794 &port_stats.rx); in qlcnic_sysfs_get_port_stats() 799 &port_stats.tx); in qlcnic_sysfs_get_port_stats() 803 memcpy(buf, &port_stats, size); in qlcnic_sysfs_get_port_stats()
|
/linux-4.4.14/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_stats.c | 239 dmae->dst_addr_lo = U64_LO(bnx2x_sp_mapping(bp, port_stats)); in bnx2x_stats_pmf_update() 240 dmae->dst_addr_hi = U64_HI(bnx2x_sp_mapping(bp, port_stats)); in bnx2x_stats_pmf_update() 250 dmae->dst_addr_lo = U64_LO(bnx2x_sp_mapping(bp, port_stats) + in bnx2x_stats_pmf_update() 252 dmae->dst_addr_hi = U64_HI(bnx2x_sp_mapping(bp, port_stats) + in bnx2x_stats_pmf_update() 290 dmae->src_addr_lo = U64_LO(bnx2x_sp_mapping(bp, port_stats)); in bnx2x_port_stats_init() 291 dmae->src_addr_hi = U64_HI(bnx2x_sp_mapping(bp, port_stats)); in bnx2x_port_stats_init() 551 struct host_port_stats *pstats = bnx2x_sp(bp, port_stats); in bnx2x_bmac_stats_update() 657 struct host_port_stats *pstats = bnx2x_sp(bp, port_stats); in bnx2x_mstat_stats_update() 748 struct host_port_stats *pstats = bnx2x_sp(bp, port_stats); in bnx2x_emac_stats_update() 806 struct host_port_stats *pstats = bnx2x_sp(bp, port_stats); in bnx2x_hw_stats_update() [all …]
|
D | bnx2x.h | 1276 struct host_port_stats port_stats; member
|
D | bnx2x_main.c | 2653 pstats = bnx2x_sp(bp, port_stats); in bnx2x_link_attn()
|
/linux-4.4.14/drivers/net/ethernet/ibm/ehea/ |
D | ehea.h | 332 struct port_stats { struct 357 struct port_stats p_stats; argument
|
/linux-4.4.14/drivers/net/team/ |
D | team_mode_loadbalance.c | 194 struct lb_stats *port_stats; in lb_update_tx_stats() local 198 port_stats = this_cpu_ptr(lb_port_priv->pcpu_stats); in lb_update_tx_stats() 201 port_stats->tx_bytes += tx_bytes; in lb_update_tx_stats()
|
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb/ |
D | sge.c | 270 struct sge_port_stats __percpu *port_stats[MAX_NPORTS]; member 805 free_percpu(sge->port_stats[i]); in t1_sge_destroy() 984 struct sge_port_stats *st = per_cpu_ptr(sge->port_stats[port], cpu); in t1_sge_get_port_stats() 1374 st = this_cpu_ptr(sge->port_stats[p->iff]); in sge_rx() 1776 struct sge_port_stats *st = this_cpu_ptr(sge->port_stats[dev->if_port]); in t1_start_xmit() 2074 sge->port_stats[i] = alloc_percpu(struct sge_port_stats); in t1_sge_create() 2075 if (!sge->port_stats[i]) in t1_sge_create() 2118 free_percpu(sge->port_stats[i]); in t1_sge_create()
|
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4.h | 109 struct port_stats { struct 451 struct port_stats stats_base; 1318 void t4_get_port_stats(struct adapter *adap, int idx, struct port_stats *p); 1320 struct port_stats *stats, 1321 struct port_stats *offset);
|
D | cxgb4_ethtool.c | 421 (struct port_stats *)data, in get_stats() 424 data += sizeof(struct port_stats) / sizeof(u64); in get_stats()
|
D | t4_hw.c | 5357 struct port_stats *stats, in t4_get_port_stats_offset() 5358 struct port_stats *offset) in t4_get_port_stats_offset() 5365 i < (sizeof(struct port_stats) / sizeof(u64)); in t4_get_port_stats_offset() 5378 void t4_get_port_stats(struct adapter *adap, int idx, struct port_stats *p) in t4_get_port_stats()
|
D | cxgb4_main.c | 2908 struct port_stats stats; in cxgb_get_stats()
|
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb3/ |
D | adapter.h | 213 unsigned long port_stats[SGE_PSTAT_MAX]; member
|
D | sge.c | 1282 qs->port_stats[SGE_PSTAT_TX_CSUM]++; in t3_eth_xmit() 1284 qs->port_stats[SGE_PSTAT_TSO]++; in t3_eth_xmit() 1286 qs->port_stats[SGE_PSTAT_VLANINS]++; in t3_eth_xmit() 2025 qs->port_stats[SGE_PSTAT_RX_CSUM_GOOD]++; in rx_eth() 2032 qs->port_stats[SGE_PSTAT_VLANEX]++; in rx_eth() 2110 qs->port_stats[SGE_PSTAT_RX_CSUM_GOOD]++; in lro_add_page() 2134 qs->port_stats[SGE_PSTAT_VLANEX]++; in lro_add_page()
|
D | cxgb3_main.c | 1657 tot += adapter->sge.qs[i].port_stats[idx]; in collect_sge_port_stats()
|
/linux-4.4.14/drivers/scsi/bfa/ |
D | bfa_defs_fcs.h | 281 struct bfa_lport_stats_s port_stats; /* base class (port) stats */ member
|
D | bfad_bsg.h | 309 struct bfa_lport_stats_s port_stats; member
|
D | bfa_fcs.h | 305 struct bfa_lport_stats_s *port_stats);
|
D | bfa_defs_svc.h | 503 struct bfa_fw_port_stats_s port_stats; member
|
D | bfad_bsg.c | 492 bfa_fcs_lport_get_stats(fcs_port, &iocmd->port_stats); in bfad_iocmd_lport_get_stats() 841 memcpy((void *)&iocmd->vport_stats.port_stats, in bfad_iocmd_vport_get_stats()
|
D | bfa_fcs_lport.c | 5949 struct bfa_lport_stats_s *port_stats) in bfa_fcs_lport_get_stats() argument 5951 *port_stats = fcs_port->stats; in bfa_fcs_lport_get_stats()
|
/linux-4.4.14/drivers/scsi/csiostor/ |
D | t4fw_api_stor.h | 420 } port_stats; member
|
D | csio_lnode.c | 1370 struct fw_fcoe_port_stats *port_stats) in csio_get_phy_port_stats() argument 1397 &portparams, port_stats); in csio_get_phy_port_stats()
|
/linux-4.4.14/drivers/char/ |
D | virtio_console.c | 175 struct port_stats { struct 211 struct port_stats stats; 1417 port->stats = (struct port_stats) { 0 }; in add_port()
|