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

/drivers/staging/sbe-2t3e3/
H A Dnetdev.c62 struct net_device_stats *nstats = &dev->stats; local
66 memset(nstats, 0, sizeof(struct net_device_stats));
67 nstats->rx_packets = stats->in_packets;
68 nstats->tx_packets = stats->out_packets;
69 nstats->rx_bytes = stats->in_bytes;
70 nstats->tx_bytes = stats->out_bytes;
72 nstats->rx_errors = stats->in_errors;
73 nstats->tx_errors = stats->out_errors;
74 nstats->rx_crc_errors = stats->in_error_crc;
77 nstats
[all...]
/drivers/staging/cxt1e1/
H A Dlinux.c341 struct net_device_stats *nstats; local
356 nstats = &ndev->stats;
359 memset (nstats, 0, sizeof (struct net_device_stats));
360 nstats->rx_packets = stats->rx_packets;
361 nstats->tx_packets = stats->tx_packets;
362 nstats->rx_bytes = stats->rx_bytes;
363 nstats->tx_bytes = stats->tx_bytes;
364 nstats->rx_errors = stats->rx_length_errors +
370 nstats->tx_errors = stats->tx_dropped +
373 nstats
[all...]
/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_stats.c1032 struct net_device_stats *nstats = &bp->dev->stats; local
1036 nstats->rx_packets =
1041 nstats->tx_packets =
1046 nstats->rx_bytes = bnx2x_hilo(&estats->total_bytes_received_hi);
1048 nstats->tx_bytes = bnx2x_hilo(&estats->total_bytes_transmitted_hi);
1053 nstats->rx_dropped = tmp + bp->net_stats_old.rx_dropped;
1055 nstats->tx_dropped = 0;
1057 nstats->multicast =
1060 nstats->collisions =
1063 nstats
1527 struct net_device_stats *nstats = &bp->dev->stats; local
[all...]
/drivers/net/ethernet/chelsio/cxgb4vf/
H A Dt4vf_hw.c1202 unsigned int nstats = min(6U, rem); local
1217 FW_VI_STATS_CMD_NSTATS(nstats));
1222 memcpy(fwsp, &rpl.u.ctl.stat0, sizeof(__be64) * nstats);
1224 rem -= nstats;
1225 fwsp += nstats;
/drivers/net/ethernet/ibm/emac/
H A Dcore.h265 struct net_device_stats nstats; member in struct:emac_instance
H A Dcore.c1890 struct net_device_stats *nst = &dev->nstats;

Completed in 144 milliseconds