Searched refs:nstats (Results 1 – 9 of 9) sorted by relevance
62 struct net_device_stats *nstats = &dev->stats; in t3e3_get_stats() local66 memset(nstats, 0, sizeof(struct net_device_stats)); in t3e3_get_stats()67 nstats->rx_packets = stats->in_packets; in t3e3_get_stats()68 nstats->tx_packets = stats->out_packets; in t3e3_get_stats()69 nstats->rx_bytes = stats->in_bytes; in t3e3_get_stats()70 nstats->tx_bytes = stats->out_bytes; in t3e3_get_stats()72 nstats->rx_errors = stats->in_errors; in t3e3_get_stats()73 nstats->tx_errors = stats->out_errors; in t3e3_get_stats()74 nstats->rx_crc_errors = stats->in_error_crc; in t3e3_get_stats()77 nstats->rx_dropped = stats->in_dropped; in t3e3_get_stats()[all …]
341 struct net_device_stats *nstats; in chan_get_stats() local356 nstats = &ndev->stats; in chan_get_stats()359 memset (nstats, 0, sizeof (struct net_device_stats)); in chan_get_stats()360 nstats->rx_packets = stats->rx_packets; in chan_get_stats()361 nstats->tx_packets = stats->tx_packets; in chan_get_stats()362 nstats->rx_bytes = stats->rx_bytes; in chan_get_stats()363 nstats->tx_bytes = stats->tx_bytes; in chan_get_stats()364 nstats->rx_errors = stats->rx_length_errors + in chan_get_stats()370 nstats->tx_errors = stats->tx_dropped + in chan_get_stats()373 nstats->rx_dropped = stats->rx_dropped; in chan_get_stats()[all …]
1128 struct net_device_stats *nstats = &bp->dev->stats; in bnx2x_net_stats_update() local1132 nstats->rx_packets = in bnx2x_net_stats_update()1137 nstats->tx_packets = in bnx2x_net_stats_update()1142 nstats->rx_bytes = bnx2x_hilo(&estats->total_bytes_received_hi); in bnx2x_net_stats_update()1144 nstats->tx_bytes = bnx2x_hilo(&estats->total_bytes_transmitted_hi); in bnx2x_net_stats_update()1152 nstats->rx_dropped = tmp + bp->net_stats_old.rx_dropped; in bnx2x_net_stats_update()1154 nstats->tx_dropped = 0; in bnx2x_net_stats_update()1156 nstats->multicast = in bnx2x_net_stats_update()1159 nstats->collisions = in bnx2x_net_stats_update()1162 nstats->rx_length_errors = in bnx2x_net_stats_update()[all …]
1207 unsigned int nstats = min(6U, rem); in t4vf_get_port_stats() local1222 FW_VI_STATS_CMD_NSTATS(nstats)); in t4vf_get_port_stats()1227 memcpy(fwsp, &rpl.u.ctl.stat0, sizeof(__be64) * nstats); in t4vf_get_port_stats()1229 rem -= nstats; in t4vf_get_port_stats()1230 fwsp += nstats; in t4vf_get_port_stats()
51 uint8_t nstats; member
1113 cmdp->u.ctl.nstats_port = FW_FCOE_STATS_CMD_NSTATS(portparams->nstats) | in csio_fcoe_read_portparams_init_mb()1140 memcpy(dst, src, (portparams->nstats * 8)); in csio_mb_process_portparams_rsp()
1386 portparams.nstats = 6; in csio_get_phy_port_stats()1388 portparams.nstats = 4; in csio_get_phy_port_stats()
265 struct net_device_stats nstats; member
1910 struct net_device_stats *nst = &dev->nstats; in emac_stats()