Searched refs:nstats (Results 1 – 10 of 10) sorted by relevance
/Linux-v4.19/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_stats.c | 1117 struct net_device_stats *nstats = &bp->dev->stats; in bnx2x_net_stats_update() local 1121 nstats->rx_packets = in bnx2x_net_stats_update() 1126 nstats->tx_packets = in bnx2x_net_stats_update() 1131 nstats->rx_bytes = bnx2x_hilo(&estats->total_bytes_received_hi); in bnx2x_net_stats_update() 1133 nstats->tx_bytes = bnx2x_hilo(&estats->total_bytes_transmitted_hi); in bnx2x_net_stats_update() 1141 nstats->rx_dropped = tmp + bp->net_stats_old.rx_dropped; in bnx2x_net_stats_update() 1143 nstats->tx_dropped = 0; in bnx2x_net_stats_update() 1145 nstats->multicast = in bnx2x_net_stats_update() 1148 nstats->collisions = in bnx2x_net_stats_update() 1151 nstats->rx_length_errors = in bnx2x_net_stats_update() [all …]
|
/Linux-v4.19/drivers/net/ethernet/renesas/ |
D | ravb_main.c | 1610 struct net_device_stats *nstats, *stats0, *stats1; in ravb_get_stats() local 1612 nstats = &ndev->stats; in ravb_get_stats() 1616 nstats->tx_dropped += ravb_read(ndev, TROCR); in ravb_get_stats() 1618 nstats->collisions += ravb_read(ndev, CDCR); in ravb_get_stats() 1620 nstats->tx_carrier_errors += ravb_read(ndev, LCCR); in ravb_get_stats() 1623 nstats->tx_carrier_errors += ravb_read(ndev, CERCR); in ravb_get_stats() 1625 nstats->tx_carrier_errors += ravb_read(ndev, CEECR); in ravb_get_stats() 1628 nstats->rx_packets = stats0->rx_packets + stats1->rx_packets; in ravb_get_stats() 1629 nstats->tx_packets = stats0->tx_packets + stats1->tx_packets; in ravb_get_stats() 1630 nstats->rx_bytes = stats0->rx_bytes + stats1->rx_bytes; in ravb_get_stats() [all …]
|
/Linux-v4.19/drivers/staging/ks7010/ |
D | ks_hostif.c | 291 priv->nstats.rx_errors++; in hostif_data_indication_wpa() 363 priv->nstats.rx_errors++; in hostif_data_indication() 380 priv->nstats.rx_errors++; in hostif_data_indication() 402 priv->nstats.rx_dropped++; in hostif_data_indication() 422 priv->nstats.rx_dropped++; in hostif_data_indication() 443 priv->nstats.rx_errors++; in hostif_data_indication() 454 priv->nstats.rx_packets++; in hostif_data_indication() 455 priv->nstats.rx_bytes += rx_ind_size; in hostif_data_indication()
|
D | ks_wlan.h | 441 struct net_device_stats nstats; member
|
D | ks7010_sdio.c | 937 memset(&priv->nstats, 0, sizeof(priv->nstats)); in ks7010_private_init()
|
D | ks_wlan_net.c | 2480 return &priv->nstats; in ks_wlan_get_stats() 2509 priv->nstats.tx_errors++; in ks_wlan_tx_timeout() 2544 priv->nstats.tx_packets++; in send_packet_complete() 2550 priv->nstats.tx_bytes += skb->len; in send_packet_complete()
|
/Linux-v4.19/drivers/scsi/csiostor/ |
D | csio_mb.h | 51 uint8_t nstats; member
|
D | csio_mb.c | 1042 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()
|
D | csio_lnode.c | 1401 portparams.nstats = 6; in csio_get_phy_port_stats() 1403 portparams.nstats = 4; in csio_get_phy_port_stats()
|
/Linux-v4.19/drivers/net/ethernet/chelsio/cxgb4vf/ |
D | t4vf_hw.c | 1769 unsigned int nstats = min(6U, rem); in t4vf_get_port_stats() local 1784 FW_VI_STATS_CMD_NSTATS_V(nstats)); in t4vf_get_port_stats() 1789 memcpy(fwsp, &rpl.u.ctl.stat0, sizeof(__be64) * nstats); in t4vf_get_port_stats() 1791 rem -= nstats; in t4vf_get_port_stats() 1792 fwsp += nstats; in t4vf_get_port_stats()
|