/drivers/net/ethernet/neterion/vxge/ |
D | vxge-ethtool.c | 392 *ptr++ = xmac_stats->port_stats[k].tx_ttl_frms; in vxge_get_ethtool_stats() 393 *ptr++ = xmac_stats->port_stats[k].tx_ttl_octets; in vxge_get_ethtool_stats() 394 *ptr++ = xmac_stats->port_stats[k].tx_data_octets; in vxge_get_ethtool_stats() 395 *ptr++ = xmac_stats->port_stats[k].tx_mcast_frms; in vxge_get_ethtool_stats() 396 *ptr++ = xmac_stats->port_stats[k].tx_bcast_frms; in vxge_get_ethtool_stats() 397 *ptr++ = xmac_stats->port_stats[k].tx_ucast_frms; in vxge_get_ethtool_stats() 398 *ptr++ = xmac_stats->port_stats[k].tx_tagged_frms; in vxge_get_ethtool_stats() 399 *ptr++ = xmac_stats->port_stats[k].tx_vld_ip; in vxge_get_ethtool_stats() 400 *ptr++ = xmac_stats->port_stats[k].tx_vld_ip_octets; in vxge_get_ethtool_stats() 401 *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
|
/drivers/net/ethernet/mellanox/mlx4/ |
D | en_port.c | 213 priv->port_stats.rx_chksum_good = 0; in mlx4_en_DUMP_ETH_STATS() 214 priv->port_stats.rx_chksum_none = 0; in mlx4_en_DUMP_ETH_STATS() 215 priv->port_stats.rx_chksum_complete = 0; in mlx4_en_DUMP_ETH_STATS() 216 priv->port_stats.rx_alloc_pages = 0; in mlx4_en_DUMP_ETH_STATS() 224 priv->port_stats.rx_chksum_good += READ_ONCE(ring->csum_ok); in mlx4_en_DUMP_ETH_STATS() 225 priv->port_stats.rx_chksum_none += READ_ONCE(ring->csum_none); in mlx4_en_DUMP_ETH_STATS() 226 priv->port_stats.rx_chksum_complete += READ_ONCE(ring->csum_complete); in mlx4_en_DUMP_ETH_STATS() 227 priv->port_stats.rx_alloc_pages += READ_ONCE(ring->rx_alloc_pages); in mlx4_en_DUMP_ETH_STATS() 232 priv->port_stats.tx_chksum_offload = 0; in mlx4_en_DUMP_ETH_STATS() 233 priv->port_stats.queue_stopped = 0; in mlx4_en_DUMP_ETH_STATS() [all …]
|
D | mlx4_en.h | 606 struct mlx4_en_port_stats port_stats; member
|
/drivers/net/ethernet/qlogic/qed/ |
D | qed_l2.c | 1780 struct port_stats port_stats; in __qed_get_vport_port_stats() local 1783 memset(&port_stats, 0, sizeof(port_stats)); in __qed_get_vport_port_stats() 1785 qed_memcpy_from(p_hwfn, p_ptt, &port_stats, in __qed_get_vport_port_stats() 1788 sizeof(port_stats)); in __qed_get_vport_port_stats() 1790 p_common->rx_64_byte_packets += port_stats.eth.r64; in __qed_get_vport_port_stats() 1791 p_common->rx_65_to_127_byte_packets += port_stats.eth.r127; in __qed_get_vport_port_stats() 1792 p_common->rx_128_to_255_byte_packets += port_stats.eth.r255; in __qed_get_vport_port_stats() 1793 p_common->rx_256_to_511_byte_packets += port_stats.eth.r511; in __qed_get_vport_port_stats() 1794 p_common->rx_512_to_1023_byte_packets += port_stats.eth.r1023; in __qed_get_vport_port_stats() 1795 p_common->rx_1024_to_1518_byte_packets += port_stats.eth.r1518; in __qed_get_vport_port_stats() [all …]
|
D | qed_ll2.c | 1928 struct core_ll2_port_stats port_stats; in _qed_ll2_get_port_stats() local 1930 memset(&port_stats, 0, sizeof(port_stats)); in _qed_ll2_get_port_stats() 1931 qed_memcpy_from(p_hwfn, p_ptt, &port_stats, in _qed_ll2_get_port_stats() 1934 sizeof(port_stats)); in _qed_ll2_get_port_stats() 1936 p_stats->gsi_invalid_hdr = HILO_64_REGPAIR(port_stats.gsi_invalid_hdr); in _qed_ll2_get_port_stats() 1938 HILO_64_REGPAIR(port_stats.gsi_invalid_pkt_length); in _qed_ll2_get_port_stats() 1940 HILO_64_REGPAIR(port_stats.gsi_unsupported_pkt_typ); in _qed_ll2_get_port_stats() 1942 HILO_64_REGPAIR(port_stats.gsi_crcchksm_error); in _qed_ll2_get_port_stats()
|
/drivers/net/ethernet/emulex/benet/ |
D | be_main.c | 418 struct be_port_rxf_stats_v0 *port_stats = in populate_be_v0_stats() local 423 drvs->rx_pause_frames = port_stats->rx_pause_frames; in populate_be_v0_stats() 424 drvs->rx_crc_errors = port_stats->rx_crc_errors; in populate_be_v0_stats() 425 drvs->rx_control_frames = port_stats->rx_control_frames; in populate_be_v0_stats() 426 drvs->rx_in_range_errors = port_stats->rx_in_range_errors; in populate_be_v0_stats() 427 drvs->rx_frame_too_long = port_stats->rx_frame_too_long; in populate_be_v0_stats() 428 drvs->rx_dropped_runt = port_stats->rx_dropped_runt; in populate_be_v0_stats() 429 drvs->rx_ip_checksum_errs = port_stats->rx_ip_checksum_errs; in populate_be_v0_stats() 430 drvs->rx_tcp_checksum_errs = port_stats->rx_tcp_checksum_errs; in populate_be_v0_stats() 431 drvs->rx_udp_checksum_errs = port_stats->rx_udp_checksum_errs; in populate_be_v0_stats() [all …]
|
/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_ctx.c | 1188 struct __qlcnic_esw_statistics port_stats; in qlcnic_get_eswitch_stats() local 1213 memset(&port_stats, 0, sizeof(struct __qlcnic_esw_statistics)); in qlcnic_get_eswitch_stats() 1215 rx_tx, &port_stats)) in qlcnic_get_eswitch_stats() 1218 esw_stats->size = port_stats.size; in qlcnic_get_eswitch_stats() 1219 esw_stats->version = port_stats.version; in qlcnic_get_eswitch_stats() 1221 port_stats.unicast_frames); in qlcnic_get_eswitch_stats() 1223 port_stats.multicast_frames); in qlcnic_get_eswitch_stats() 1225 port_stats.broadcast_frames); in qlcnic_get_eswitch_stats() 1227 port_stats.dropped_frames); in qlcnic_get_eswitch_stats() 1229 port_stats.errors); in qlcnic_get_eswitch_stats() [all …]
|
D | qlcnic_ethtool.c | 1346 struct qlcnic_esw_statistics port_stats; in qlcnic_get_ethtool_stats() local 1384 memset(&port_stats, 0, sizeof(struct qlcnic_esw_statistics)); in qlcnic_get_ethtool_stats() 1386 QLCNIC_QUERY_RX_COUNTER, &port_stats.rx); in qlcnic_get_ethtool_stats() 1390 data = qlcnic_fill_stats(data, &port_stats.rx, QLCNIC_ESW_STATS); in qlcnic_get_ethtool_stats() 1392 QLCNIC_QUERY_TX_COUNTER, &port_stats.tx); in qlcnic_get_ethtool_stats() 1396 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()
|
/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 …]
|
/drivers/net/ethernet/ibm/ehea/ |
D | ehea.h | 332 struct port_stats { struct 357 struct port_stats p_stats; argument
|
/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() 1775 struct sge_port_stats *st = this_cpu_ptr(sge->port_stats[dev->if_port]); in t1_start_xmit() 2073 sge->port_stats[i] = alloc_percpu(struct sge_port_stats); in t1_sge_create() 2074 if (!sge->port_stats[i]) in t1_sge_create() 2117 free_percpu(sge->port_stats[i]); in t1_sge_create()
|
/drivers/net/team/ |
D | team_mode_loadbalance.c | 208 struct lb_stats *port_stats; in lb_update_tx_stats() local 212 port_stats = this_cpu_ptr(lb_port_priv->pcpu_stats); in lb_update_tx_stats() 215 port_stats->tx_bytes += tx_bytes; in lb_update_tx_stats()
|
/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4.h | 119 struct port_stats { struct 525 struct port_stats stats_base; 1496 void t4_get_port_stats(struct adapter *adap, int idx, struct port_stats *p); 1498 struct port_stats *stats, 1499 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()
|
/drivers/net/ethernet/chelsio/cxgb3/ |
D | adapter.h | 212 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()
|
/drivers/scsi/bfa/ |
D | bfa_defs_fcs.h | 282 struct bfa_lport_stats_s port_stats; /* base class (port) stats */ member
|
D | bfad_bsg.h | 310 struct bfa_lport_stats_s port_stats; member
|
D | bfa_fcs.h | 306 struct bfa_lport_stats_s *port_stats);
|
D | bfa_defs_svc.h | 504 struct bfa_fw_port_stats_s port_stats; member
|
/drivers/scsi/csiostor/ |
D | t4fw_api_stor.h | 420 } port_stats; member
|
D | csio_lnode.c | 1380 struct fw_fcoe_port_stats *port_stats) in csio_get_phy_port_stats() argument 1407 &portparams, port_stats); in csio_get_phy_port_stats()
|
/drivers/char/ |
D | virtio_console.c | 180 struct port_stats { struct 216 struct port_stats stats; 1427 port->stats = (struct port_stats) { 0 }; in add_port()
|