Home
last modified time | relevance | path

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

12

/drivers/net/ethernet/neterion/vxge/
Dvxge-ethtool.c385 *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 …]
Dvxge-traffic.h1099 port_stats[VXGE_HW_MAC_MAX_MAC_PORT_ID+1]; member
/drivers/net/ethernet/mellanox/mlx4/
Den_port.c179 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 …]
Dmlx4_en.h599 struct mlx4_en_port_stats port_stats; member
/drivers/net/ethernet/qlogic/qed/
Dqed_l2.c1471 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/
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.c1186 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 …]
Dqlcnic_ethtool.c1335 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()
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/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/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/ethernet/chelsio/cxgb4/
Dcxgb4.h111 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);
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.h213 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.c1370 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/
Dvirtio_console.c180 struct port_stats { struct
216 struct port_stats stats;
1431 port->stats = (struct port_stats) { 0 }; in add_port()
/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_ethtool.c232 __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()

12