Home
last modified time | relevance | path

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

/drivers/net/ethernet/broadcom/bnx2x/
A Dbnx2x_stats.c1122 nstats->rx_packets = in bnx2x_net_stats_update()
1127 nstats->tx_packets = in bnx2x_net_stats_update()
1144 nstats->tx_dropped = 0; in bnx2x_net_stats_update()
1146 nstats->multicast = in bnx2x_net_stats_update()
1149 nstats->collisions = in bnx2x_net_stats_update()
1152 nstats->rx_length_errors = in bnx2x_net_stats_update()
1157 nstats->rx_crc_errors = in bnx2x_net_stats_update()
1159 nstats->rx_frame_errors = in bnx2x_net_stats_update()
1164 nstats->rx_errors = nstats->rx_length_errors + in bnx2x_net_stats_update()
1171 nstats->tx_aborted_errors = in bnx2x_net_stats_update()
[all …]
/drivers/net/ethernet/renesas/
A Dravb_main.c2259 nstats = &ndev->stats; in ravb_get_stats()
2280 nstats->rx_packets = stats0->rx_packets; in ravb_get_stats()
2281 nstats->tx_packets = stats0->tx_packets; in ravb_get_stats()
2282 nstats->rx_bytes = stats0->rx_bytes; in ravb_get_stats()
2283 nstats->tx_bytes = stats0->tx_bytes; in ravb_get_stats()
2284 nstats->multicast = stats0->multicast; in ravb_get_stats()
2285 nstats->rx_errors = stats0->rx_errors; in ravb_get_stats()
2296 nstats->rx_bytes += stats1->rx_bytes; in ravb_get_stats()
2297 nstats->tx_bytes += stats1->tx_bytes; in ravb_get_stats()
2298 nstats->multicast += stats1->multicast; in ravb_get_stats()
[all …]
/drivers/net/phy/mscc/
A Dmscc_main.c132 return priv->nstats; in vsc85xx_get_sset_count()
143 for (i = 0; i < priv->nstats; i++) in vsc85xx_get_strings()
172 for (i = 0; i < priv->nstats; i++) in vsc85xx_get_stats()
2225 vsc8531->nstats = ARRAY_SIZE(vsc85xx_hw_stats); in vsc8514_probe()
2226 vsc8531->stats = devm_kcalloc(&phydev->mdio.dev, vsc8531->nstats, in vsc8514_probe()
2254 vsc8531->nstats = ARRAY_SIZE(vsc8584_hw_stats); in vsc8574_probe()
2255 vsc8531->stats = devm_kcalloc(&phydev->mdio.dev, vsc8531->nstats, in vsc8574_probe()
2289 vsc8531->nstats = ARRAY_SIZE(vsc8584_hw_stats); in vsc8584_probe()
2290 vsc8531->stats = devm_kcalloc(&phydev->mdio.dev, vsc8531->nstats, in vsc8584_probe()
2329 vsc8531->nstats = ARRAY_SIZE(vsc85xx_hw_stats); in vsc85xx_probe()
[all …]
A Dmscc.h372 int nstats; member
/drivers/net/ethernet/chelsio/cxgb4vf/
A Dt4vf_hw.c1779 unsigned int nstats = min(6U, rem); in t4vf_get_port_stats() local
1794 FW_VI_STATS_CMD_NSTATS_V(nstats)); in t4vf_get_port_stats()
1799 memcpy(fwsp, &rpl.u.ctl.stat0, sizeof(__be64) * nstats); in t4vf_get_port_stats()
1801 rem -= nstats; in t4vf_get_port_stats()
1802 fwsp += nstats; in t4vf_get_port_stats()
/drivers/scsi/csiostor/
A Dcsio_mb.h51 uint8_t nstats; member
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()
A Dcsio_lnode.c1403 portparams.nstats = 6; in csio_get_phy_port_stats()
1405 portparams.nstats = 4; in csio_get_phy_port_stats()
/drivers/net/ethernet/fungible/funeth/
A Dfuneth_main.c1474 unsigned int nstats; in fun_init_stats_area() local
1479 nstats = PORT_MAC_RX_STATS_MAX + PORT_MAC_TX_STATS_MAX + in fun_init_stats_area()
1482 fp->stats = dma_alloc_coherent(&fp->pdev->dev, nstats * sizeof(u64), in fun_init_stats_area()
1491 unsigned int nstats; in fun_free_stats_area() local
1494 nstats = PORT_MAC_RX_STATS_MAX + PORT_MAC_TX_STATS_MAX; in fun_free_stats_area()
1495 dma_free_coherent(&fp->pdev->dev, nstats * sizeof(u64), in fun_free_stats_area()

Completed in 43 milliseconds