Home
last modified time | relevance | path

Searched refs:nstats (Results 1 – 13 of 13) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_stats.c1119 struct net_device_stats *nstats = &bp->dev->stats; in bnx2x_net_stats_update() local
1123 nstats->rx_packets = in bnx2x_net_stats_update()
1128 nstats->tx_packets = in bnx2x_net_stats_update()
1133 nstats->rx_bytes = bnx2x_hilo(&estats->total_bytes_received_hi); in bnx2x_net_stats_update()
1135 nstats->tx_bytes = bnx2x_hilo(&estats->total_bytes_transmitted_hi); in bnx2x_net_stats_update()
1143 nstats->rx_dropped = tmp + bp->net_stats_old.rx_dropped; in bnx2x_net_stats_update()
1145 nstats->tx_dropped = 0; in bnx2x_net_stats_update()
1147 nstats->multicast = in bnx2x_net_stats_update()
1150 nstats->collisions = in bnx2x_net_stats_update()
1153 nstats->rx_length_errors = in bnx2x_net_stats_update()
[all …]
/OK3568_Linux_fs/yocto/poky/scripts/contrib/bb-perf/
H A Dbuildstats-plot.sh113 nstats=${#statsarray[@]}
137 …echo -e "plot for [COL=3:`expr 3 + ${nstats} - 1`] '${OUTDATA_FILE}' using COL:xtic(stringcolumn(1…
143 for i in `seq $nstats`; do
158 …echo -e "plot for [COL=2:`expr 2 + ${nstats} - 1`] '${OUTDATA_FILE}' using COL:xtic(1) title colum…
/OK3568_Linux_fs/kernel/drivers/net/ethernet/renesas/
H A Dravb_main.c1629 struct net_device_stats *nstats, *stats0, *stats1; in ravb_get_stats() local
1631 nstats = &ndev->stats; in ravb_get_stats()
1636 nstats->tx_dropped += ravb_read(ndev, TROCR); in ravb_get_stats()
1640 nstats->rx_packets = stats0->rx_packets + stats1->rx_packets; in ravb_get_stats()
1641 nstats->tx_packets = stats0->tx_packets + stats1->tx_packets; in ravb_get_stats()
1642 nstats->rx_bytes = stats0->rx_bytes + stats1->rx_bytes; in ravb_get_stats()
1643 nstats->tx_bytes = stats0->tx_bytes + stats1->tx_bytes; in ravb_get_stats()
1644 nstats->multicast = stats0->multicast + stats1->multicast; in ravb_get_stats()
1645 nstats->rx_errors = stats0->rx_errors + stats1->rx_errors; in ravb_get_stats()
1646 nstats->rx_crc_errors = stats0->rx_crc_errors + stats1->rx_crc_errors; in ravb_get_stats()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/phy/mscc/
H A Dmscc_main.c127 return priv->nstats; in vsc85xx_get_sset_count()
138 for (i = 0; i < priv->nstats; i++) in vsc85xx_get_strings()
168 for (i = 0; i < priv->nstats; i++) in vsc85xx_get_stats()
2099 vsc8531->nstats = ARRAY_SIZE(vsc85xx_hw_stats); in vsc8514_probe()
2100 vsc8531->stats = devm_kcalloc(&phydev->mdio.dev, vsc8531->nstats, in vsc8514_probe()
2128 vsc8531->nstats = ARRAY_SIZE(vsc8584_hw_stats); in vsc8574_probe()
2129 vsc8531->stats = devm_kcalloc(&phydev->mdio.dev, vsc8531->nstats, in vsc8574_probe()
2163 vsc8531->nstats = ARRAY_SIZE(vsc8584_hw_stats); in vsc8584_probe()
2164 vsc8531->stats = devm_kcalloc(&phydev->mdio.dev, vsc8531->nstats, in vsc8584_probe()
2203 vsc8531->nstats = ARRAY_SIZE(vsc85xx_hw_stats); in vsc85xx_probe()
[all …]
H A Dmscc.h361 int nstats; member
/OK3568_Linux_fs/kernel/drivers/staging/ks7010/
H A Dks_hostif.c353 priv->nstats.rx_errors++; in hostif_data_indication_wpa()
429 priv->nstats.rx_errors++; in hostif_data_indication()
442 priv->nstats.rx_errors++; in hostif_data_indication()
464 priv->nstats.rx_dropped++; in hostif_data_indication()
484 priv->nstats.rx_dropped++; in hostif_data_indication()
505 priv->nstats.rx_errors++; in hostif_data_indication()
516 priv->nstats.rx_packets++; in hostif_data_indication()
517 priv->nstats.rx_bytes += rx_ind_size; in hostif_data_indication()
H A Dks_wlan.h441 struct net_device_stats nstats; member
H A Dks7010_sdio.c938 memset(&priv->nstats, 0, sizeof(priv->nstats)); in ks7010_private_init()
H A Dks_wlan_net.c2482 return &priv->nstats; in ks_wlan_get_stats()
2511 priv->nstats.tx_errors++; in ks_wlan_tx_timeout()
2546 priv->nstats.tx_packets++; in send_packet_complete()
2552 priv->nstats.tx_bytes += skb->len; in send_packet_complete()
/OK3568_Linux_fs/kernel/drivers/scsi/csiostor/
H A Dcsio_mb.h51 uint8_t nstats; member
H A Dcsio_mb.c1042 cmdp->u.ctl.nstats_port = FW_FCOE_STATS_CMD_NSTATS(portparams->nstats) | in csio_fcoe_read_portparams_init_mb()
1069 memcpy(dst, src, (portparams->nstats * 8)); in csio_mb_process_portparams_rsp()
H A Dcsio_lnode.c1403 portparams.nstats = 6; in csio_get_phy_port_stats()
1405 portparams.nstats = 4; in csio_get_phy_port_stats()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/chelsio/cxgb4vf/
H A Dt4vf_hw.c1778 unsigned int nstats = min(6U, rem); in t4vf_get_port_stats() local
1793 FW_VI_STATS_CMD_NSTATS_V(nstats)); in t4vf_get_port_stats()
1798 memcpy(fwsp, &rpl.u.ctl.stat0, sizeof(__be64) * nstats); in t4vf_get_port_stats()
1800 rem -= nstats; in t4vf_get_port_stats()
1801 fwsp += nstats; in t4vf_get_port_stats()