Home
last modified time | relevance | path

Searched refs:bytes_compl (Results 1 – 25 of 40) sorted by relevance

12

/openbmc/linux/drivers/net/ethernet/sfc/siena/
H A Dtx_common.c125 unsigned int *bytes_compl) in efx_dequeue_buffer() argument
143 EFX_WARN_ON_PARANOID(!pkts_compl || !bytes_compl); in efx_dequeue_buffer()
145 (*bytes_compl) += skb->len; in efx_dequeue_buffer()
182 unsigned int pkts_compl = 0, bytes_compl = 0; in efx_siena_fini_tx_queue() local
185 efx_dequeue_buffer(tx_queue, buffer, &pkts_compl, &bytes_compl); in efx_siena_fini_tx_queue()
201 unsigned int *bytes_compl) in efx_dequeue_buffers() argument
220 efx_dequeue_buffer(tx_queue, buffer, pkts_compl, bytes_compl); in efx_dequeue_buffers()
242 unsigned int fill_level, pkts_compl = 0, bytes_compl = 0; in efx_siena_xmit_done() local
247 efx_dequeue_buffers(tx_queue, index, &pkts_compl, &bytes_compl); in efx_siena_xmit_done()
249 tx_queue->bytes_compl += bytes_compl; in efx_siena_xmit_done()
[all …]
H A Defx_channels.c1218 tx_queue->bytes_compl = 0; in efx_process_channel()
1232 if (tx_queue->bytes_compl) { in efx_process_channel()
1235 tx_queue->bytes_compl); in efx_process_channel()
/openbmc/linux/drivers/net/ethernet/sfc/
H A Dtx_common.c112 unsigned int pkts_compl = 0, bytes_compl = 0; in efx_fini_tx_queue() local
116 efx_dequeue_buffer(tx_queue, buffer, &pkts_compl, &bytes_compl, in efx_fini_tx_queue()
152 unsigned int *bytes_compl, in efx_dequeue_buffer() argument
175 EFX_WARN_ON_PARANOID(!pkts_compl || !bytes_compl); in efx_dequeue_buffer()
177 (*bytes_compl) += skb->len; in efx_dequeue_buffer()
212 unsigned int *bytes_compl, in efx_dequeue_buffers() argument
232 efx_dequeue_buffer(tx_queue, buffer, pkts_compl, bytes_compl, in efx_dequeue_buffers()
255 unsigned int fill_level, pkts_compl = 0, bytes_compl = 0; in efx_xmit_done() local
261 efx_dequeue_buffers(tx_queue, index, &pkts_compl, &bytes_compl, in efx_xmit_done()
264 tx_queue->bytes_compl += bytes_compl; in efx_xmit_done()
[all …]
H A Dtx.c556 unsigned int pkts_compl = 0, bytes_compl = 0; in efx_xmit_done_single() local
579 efx_dequeue_buffer(tx_queue, buffer, &pkts_compl, &bytes_compl, in efx_xmit_done_single()
587 tx_queue->bytes_compl += bytes_compl; in efx_xmit_done_single()
H A Dtx_common.h22 unsigned int *bytes_compl,
H A Defx_channels.c1193 tx_queue->bytes_compl = 0; in efx_process_channel()
1207 if (tx_queue->bytes_compl) { in efx_process_channel()
1210 tx_queue->bytes_compl); in efx_process_channel()
/openbmc/linux/drivers/net/ethernet/sfc/falcon/
H A Dtx.c54 unsigned int *bytes_compl) in ef4_dequeue_buffer() argument
70 (*bytes_compl) += buffer->skb->len; in ef4_dequeue_buffer()
358 unsigned int *bytes_compl) in ef4_dequeue_buffers() argument
378 ef4_dequeue_buffer(tx_queue, buffer, pkts_compl, bytes_compl); in ef4_dequeue_buffers()
497 unsigned int pkts_compl = 0, bytes_compl = 0; in ef4_xmit_done() local
501 ef4_dequeue_buffers(tx_queue, index, &pkts_compl, &bytes_compl); in ef4_xmit_done()
503 tx_queue->bytes_compl += bytes_compl; in ef4_xmit_done()
619 unsigned int pkts_compl = 0, bytes_compl = 0; in ef4_fini_tx_queue() local
621 ef4_dequeue_buffer(tx_queue, buffer, &pkts_compl, &bytes_compl); in ef4_fini_tx_queue()
H A Dnet_driver.h232 unsigned int bytes_compl; member
/openbmc/linux/drivers/net/ethernet/cavium/liquidio/
H A Docteon_main.h70 unsigned int *bytes_compl);
72 unsigned int bytes_compl);
H A Drequest_manager.c371 unsigned int pkts_compl = 0, bytes_compl = 0; in lio_process_iq_request_list() local
383 &bytes_compl); in lio_process_iq_request_list()
426 if (bytes_compl) in lio_process_iq_request_list()
428 bytes_compl); in lio_process_iq_request_list()
H A Dlio_core.c191 unsigned int bytes_compl) in octeon_report_tx_completion_to_bql() argument
195 netdev_tx_completed_queue(netdev_queue, pkts_compl, bytes_compl); in octeon_report_tx_completion_to_bql()
200 unsigned int *bytes_compl) in octeon_update_tx_completion_counters() argument
224 *bytes_compl += skb->len; in octeon_update_tx_completion_counters()
/openbmc/linux/drivers/net/ethernet/hisilicon/
H A Dhip04_eth.c452 unsigned int bytes_compl = 0, pkts_compl = 0; in hip04_tx_reclaim() local
476 bytes_compl += priv->tx_skb[tx_tail]->len; in hip04_tx_reclaim()
487 if (pkts_compl || bytes_compl) in hip04_tx_reclaim()
488 netdev_completed_queue(ndev, pkts_compl, bytes_compl); in hip04_tx_reclaim()
H A Dhisi_femac.c156 unsigned int bytes_compl = 0, pkts_compl = 0; in hisi_femac_xmit_reclaim() local
171 bytes_compl += skb->len; in hisi_femac_xmit_reclaim()
181 netdev_completed_queue(dev, pkts_compl, bytes_compl); in hisi_femac_xmit_reclaim()
H A Dhix5hd2_gmac.c592 unsigned int bytes_compl = 0, pkts_compl = 0; in hix5hd2_xmit_reclaim() local
612 bytes_compl += skb->len; in hix5hd2_xmit_reclaim()
633 if (pkts_compl || bytes_compl) in hix5hd2_xmit_reclaim()
634 netdev_completed_queue(dev, pkts_compl, bytes_compl); in hix5hd2_xmit_reclaim()
/openbmc/linux/drivers/net/ethernet/atheros/
H A Dag71xx.c793 int sent = 0, bytes_compl = 0, n = 0; in ag71xx_tx_packets() local
832 bytes_compl += ring->buf[i].tx.len; in ag71xx_tx_packets()
848 ag->ndev->stats.tx_bytes += bytes_compl; in ag71xx_tx_packets()
851 netdev_completed_queue(ag->ndev, sent, bytes_compl); in ag71xx_tx_packets()
1143 u32 bytes_compl = 0, pkts_compl = 0; in ag71xx_ring_tx_clean() local
1157 bytes_compl += ring->buf[i].tx.len; in ag71xx_ring_tx_clean()
1168 netdev_completed_queue(ndev, pkts_compl, bytes_compl); in ag71xx_ring_tx_clean()
/openbmc/linux/drivers/net/ethernet/broadcom/
H A Dbcmsysport.c887 unsigned int *bytes_compl, in bcm_sysport_tx_reclaim_one() argument
894 *bytes_compl += cb->skb->len; in bcm_sysport_tx_reclaim_one()
902 *bytes_compl += dma_unmap_len(cb, dma_len); in bcm_sysport_tx_reclaim_one()
913 unsigned int pkts_compl = 0, bytes_compl = 0; in __bcm_sysport_tx_reclaim() local
939 bcm_sysport_tx_reclaim_one(ring, cb, &bytes_compl, &pkts_compl); in __bcm_sysport_tx_reclaim()
952 ring->bytes += bytes_compl; in __bcm_sysport_tx_reclaim()
959 ring->index, ring->c_index, pkts_compl, bytes_compl); in __bcm_sysport_tx_reclaim()
H A Dbgmac.c239 unsigned bytes_compl = 0, pkts_compl = 0; in bgmac_dma_tx_free() local
271 bytes_compl += slot->skb->len; in bgmac_dma_tx_free()
286 netdev_completed_queue(bgmac->net_dev, pkts_compl, bytes_compl); in bgmac_dma_tx_free()
/openbmc/linux/arch/um/drivers/
H A Dvector_kern.c383 int bytes_compl = 0; in consume_vector_skbs() local
390 bytes_compl += skb->len; in consume_vector_skbs()
394 qi->dev->stats.tx_bytes += bytes_compl; in consume_vector_skbs()
396 netdev_completed_queue(qi->dev, count, bytes_compl); in consume_vector_skbs()
/openbmc/linux/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_cmn.c196 unsigned int *bytes_compl) in bnx2x_free_tx_pkt() argument
263 (*bytes_compl) += skb->len; in bnx2x_free_tx_pkt()
277 unsigned int pkts_compl = 0, bytes_compl = 0; in bnx2x_tx_int() local
301 &pkts_compl, &bytes_compl); in bnx2x_tx_int()
306 netdev_tx_completed_queue(txq, pkts_compl, bytes_compl); in bnx2x_tx_int()
1511 unsigned pkts_compl = 0, bytes_compl = 0; in bnx2x_free_tx_skbs_queue() local
1518 &pkts_compl, &bytes_compl); in bnx2x_free_tx_skbs_queue()
4097 unsigned int pkts_compl = 0, bytes_compl = 0; in bnx2x_start_xmit() local
4110 &pkts_compl, &bytes_compl); in bnx2x_start_xmit()
/openbmc/linux/drivers/net/ethernet/3com/
H A D3c59x.c2261 unsigned int bytes_compl = 0, pkts_compl = 0; in _vortex_interrupt() local
2309 bytes_compl += vp->tx_skb->len; in _vortex_interrupt()
2354 netdev_completed_queue(dev, pkts_compl, bytes_compl); in _vortex_interrupt()
2377 unsigned int bytes_compl = 0, pkts_compl = 0; in _boomerang_interrupt() local
2451 bytes_compl += skb->len; in _boomerang_interrupt()
2492 netdev_completed_queue(dev, pkts_compl, bytes_compl); in _boomerang_interrupt()
/openbmc/linux/drivers/net/ethernet/qualcomm/emac/
H A Demac-mac.c1182 u32 hw_consume_idx, pkts_compl = 0, bytes_compl = 0; in emac_mac_tx_process() local
1198 bytes_compl += tpbuf->skb->len; in emac_mac_tx_process()
1207 netdev_completed_queue(adpt->netdev, pkts_compl, bytes_compl); in emac_mac_tx_process()
/openbmc/linux/drivers/net/ethernet/mediatek/
H A Dmtk_star_emac.c1161 int ret = 0, pkts_compl = 0, bytes_compl = 0, count = 0; in mtk_star_tx_poll() local
1174 bytes_compl += ret; in mtk_star_tx_poll()
1178 netdev_completed_queue(ndev, pkts_compl, bytes_compl); in mtk_star_tx_poll()
/openbmc/linux/drivers/net/ethernet/qlogic/qede/
H A Dqede_fp.c434 unsigned int pkts_compl = 0, bytes_compl = 0; in qede_tx_int() local
455 bytes_compl += len; in qede_tx_int()
461 netdev_tx_completed_queue(netdev_txq, pkts_compl, bytes_compl); in qede_tx_int()
/openbmc/linux/drivers/net/ethernet/realtek/
H A D8139cp.c652 unsigned bytes_compl = 0, pkts_compl = 0; in cp_tx() local
692 bytes_compl += skb->len; in cp_tx()
704 netdev_completed_queue(cp->dev, pkts_compl, bytes_compl); in cp_tx()
/openbmc/linux/drivers/net/ethernet/via/
H A Dvia-rhine.c1916 unsigned int pkts_compl = 0, bytes_compl = 0; in rhine_tx() local
1978 bytes_compl += skb->len; in rhine_tx()
1989 netdev_completed_queue(dev, pkts_compl, bytes_compl); in rhine_tx()

12