Searched refs:nstats (Results 1 - 8 of 8) sorted by relevance

/linux-4.1.27/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_stats.c1115 struct net_device_stats *nstats = &bp->dev->stats; bnx2x_net_stats_update() local
1119 nstats->rx_packets = bnx2x_net_stats_update()
1124 nstats->tx_packets = bnx2x_net_stats_update()
1129 nstats->rx_bytes = bnx2x_hilo(&estats->total_bytes_received_hi); bnx2x_net_stats_update()
1131 nstats->tx_bytes = bnx2x_hilo(&estats->total_bytes_transmitted_hi); bnx2x_net_stats_update()
1139 nstats->rx_dropped = tmp + bp->net_stats_old.rx_dropped;
1141 nstats->tx_dropped = 0;
1143 nstats->multicast =
1146 nstats->collisions =
1149 nstats->rx_length_errors =
1152 nstats->rx_over_errors = bnx2x_hilo(&estats->brb_drop_hi) +
1154 nstats->rx_crc_errors =
1156 nstats->rx_frame_errors =
1158 nstats->rx_fifo_errors = bnx2x_hilo(&estats->no_buff_discard_hi);
1159 nstats->rx_missed_errors = 0;
1161 nstats->rx_errors = nstats->rx_length_errors +
1162 nstats->rx_over_errors +
1163 nstats->rx_crc_errors +
1164 nstats->rx_frame_errors +
1165 nstats->rx_fifo_errors +
1166 nstats->rx_missed_errors;
1168 nstats->tx_aborted_errors =
1171 nstats->tx_carrier_errors =
1173 nstats->tx_fifo_errors = 0;
1174 nstats->tx_heartbeat_errors = 0;
1175 nstats->tx_window_errors = 0;
1177 nstats->tx_errors = nstats->tx_aborted_errors +
1178 nstats->tx_carrier_errors +
1658 struct net_device_stats *nstats = &bp->dev->stats; bnx2x_save_statistics() local
1685 bp->net_stats_old.rx_dropped = nstats->rx_dropped;
/linux-4.1.27/drivers/scsi/csiostor/
H A Dcsio_mb.h51 uint8_t nstats; member in struct:fw_fcoe_port_cmd_params
H A Dcsio_mb.c1038 cmdp->u.ctl.nstats_port = FW_FCOE_STATS_CMD_NSTATS(portparams->nstats) | csio_fcoe_read_portparams_init_mb()
1065 memcpy(dst, src, (portparams->nstats * 8)); csio_mb_process_portparams_rsp()
H A Dcsio_lnode.c1386 portparams.nstats = 6; csio_get_phy_port_stats()
1388 portparams.nstats = 4; csio_get_phy_port_stats()
/linux-4.1.27/drivers/net/ethernet/ibm/emac/
H A Dcore.h264 struct net_device_stats nstats; member in struct:emac_instance
H A Dcore.c1904 struct net_device_stats *nst = &dev->nstats; emac_stats()
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb4vf/
H A Dt4vf_hw.c1371 unsigned int nstats = min(6U, rem); t4vf_get_port_stats() local
1386 FW_VI_STATS_CMD_NSTATS_V(nstats)); t4vf_get_port_stats()
1391 memcpy(fwsp, &rpl.u.ctl.stat0, sizeof(__be64) * nstats); t4vf_get_port_stats()
1393 rem -= nstats; t4vf_get_port_stats()
1394 fwsp += nstats; t4vf_get_port_stats()
/linux-4.1.27/scripts/
H A Dget_maintainer.pl1908 # print("commits: <$commits>\nsigners:<@signers>\nauthors: <@authors>\nstats: <@stats>\n");

Completed in 244 milliseconds