Home
last modified time | relevance | path

Searched refs:port_stats (Results 1 – 25 of 37) sorted by relevance

12

/drivers/net/ethernet/neterion/vxge/
Dvxge-ethtool.c392 *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 …]
Dvxge-traffic.h1099 port_stats[VXGE_HW_MAC_MAX_MAC_PORT_ID+1]; member
/drivers/net/ethernet/mellanox/mlx4/
Den_port.c213 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 …]
Dmlx4_en.h606 struct mlx4_en_port_stats port_stats; member
/drivers/net/ethernet/qlogic/qed/
Dqed_l2.c1780 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 …]
Dqed_ll2.c1928 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/
Dbe_main.c418 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/
Dqlcnic_ctx.c1188 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 …]
Dqlcnic_ethtool.c1346 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()
Dqlcnic_sysfs.c780 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/
Dbnx2x_stats.c239 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/
Dehea.h332 struct port_stats { struct
357 struct port_stats p_stats; argument
/drivers/net/ethernet/chelsio/cxgb/
Dsge.c270 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/
Dteam_mode_loadbalance.c208 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/
Dcxgb4.h119 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);
Dcxgb4_ethtool.c421 (struct port_stats *)data, in get_stats()
424 data += sizeof(struct port_stats) / sizeof(u64); in get_stats()
/drivers/net/ethernet/chelsio/cxgb3/
Dadapter.h212 unsigned long port_stats[SGE_PSTAT_MAX]; member
Dsge.c1282 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/
Dbfa_defs_fcs.h282 struct bfa_lport_stats_s port_stats; /* base class (port) stats */ member
Dbfad_bsg.h310 struct bfa_lport_stats_s port_stats; member
Dbfa_fcs.h306 struct bfa_lport_stats_s *port_stats);
Dbfa_defs_svc.h504 struct bfa_fw_port_stats_s port_stats; member
/drivers/scsi/csiostor/
Dt4fw_api_stor.h420 } port_stats; member
Dcsio_lnode.c1380 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/
Dvirtio_console.c180 struct port_stats { struct
216 struct port_stats stats;
1427 port->stats = (struct port_stats) { 0 }; in add_port()

12