/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
|
/drivers/net/ethernet/mellanox/mlx4/ |
D | en_port.c | 179 priv->port_stats.rx_chksum_good = 0; in mlx4_en_DUMP_ETH_STATS() 180 priv->port_stats.rx_chksum_none = 0; in mlx4_en_DUMP_ETH_STATS() 181 priv->port_stats.rx_chksum_complete = 0; in mlx4_en_DUMP_ETH_STATS() 186 priv->port_stats.rx_chksum_good += priv->rx_ring[i]->csum_ok; in mlx4_en_DUMP_ETH_STATS() 187 priv->port_stats.rx_chksum_none += priv->rx_ring[i]->csum_none; in mlx4_en_DUMP_ETH_STATS() 188 priv->port_stats.rx_chksum_complete += priv->rx_ring[i]->csum_complete; in mlx4_en_DUMP_ETH_STATS() 193 priv->port_stats.tx_chksum_offload = 0; in mlx4_en_DUMP_ETH_STATS() 194 priv->port_stats.queue_stopped = 0; in mlx4_en_DUMP_ETH_STATS() 195 priv->port_stats.wake_queue = 0; in mlx4_en_DUMP_ETH_STATS() 196 priv->port_stats.tso_packets = 0; in mlx4_en_DUMP_ETH_STATS() [all …]
|
D | mlx4_en.h | 599 struct mlx4_en_port_stats port_stats; member
|
/drivers/net/ethernet/qlogic/qed/ |
D | qed_l2.c | 1471 struct port_stats port_stats; in __qed_get_vport_port_stats() local 1474 memset(&port_stats, 0, sizeof(port_stats)); in __qed_get_vport_port_stats() 1476 qed_memcpy_from(p_hwfn, p_ptt, &port_stats, in __qed_get_vport_port_stats() 1479 sizeof(port_stats)); in __qed_get_vport_port_stats() 1481 p_stats->rx_64_byte_packets += port_stats.eth.r64; in __qed_get_vport_port_stats() 1482 p_stats->rx_65_to_127_byte_packets += port_stats.eth.r127; in __qed_get_vport_port_stats() 1483 p_stats->rx_128_to_255_byte_packets += port_stats.eth.r255; in __qed_get_vport_port_stats() 1484 p_stats->rx_256_to_511_byte_packets += port_stats.eth.r511; in __qed_get_vport_port_stats() 1485 p_stats->rx_512_to_1023_byte_packets += port_stats.eth.r1023; in __qed_get_vport_port_stats() 1486 p_stats->rx_1024_to_1518_byte_packets += port_stats.eth.r1518; in __qed_get_vport_port_stats() [all …]
|
/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 | 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()
|
/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/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/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/ethernet/chelsio/cxgb4/ |
D | cxgb4.h | 111 struct port_stats { struct 485 struct port_stats stats_base; 1538 void t4_get_port_stats(struct adapter *adap, int idx, struct port_stats *p); 1540 struct port_stats *stats, 1541 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 | 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()
|
/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 | 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()
|
/drivers/char/ |
D | virtio_console.c | 180 struct port_stats { struct 216 struct port_stats stats; 1431 port->stats = (struct port_stats) { 0 }; in add_port()
|
/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_ethtool.c | 232 __le64 *port_stats = (__le64 *)bp->hw_rx_port_stats; in bnxt_get_ethtool_stats() local 235 buf[j] = le64_to_cpu(*(port_stats + in bnxt_get_ethtool_stats()
|