Searched refs:rx_work_done (Results 1 – 7 of 7) sorted by relevance
/drivers/net/ethernet/pensando/ionic/ |
D | ionic_txrx.c | 571 u32 rx_work_done = 0; in ionic_txrx_napi() local 582 rx_work_done = ionic_cq_service(rxcq, budget, in ionic_txrx_napi() 587 if (rx_work_done < budget && napi_complete_done(napi, rx_work_done)) { in ionic_txrx_napi() 593 if (rx_work_done || flags) { in ionic_txrx_napi() 596 tx_work_done + rx_work_done, flags); in ionic_txrx_napi() 599 DEBUG_STATS_NAPI_POLL(qcq, rx_work_done); in ionic_txrx_napi() 602 return rx_work_done; in ionic_txrx_napi()
|
/drivers/net/ethernet/ |
D | ethoc.c | 611 int rx_work_done = 0; in ethoc_poll() local 614 rx_work_done = ethoc_rx(priv->netdev, budget); in ethoc_poll() 617 if (rx_work_done < budget && tx_work_done < budget) { in ethoc_poll() 618 napi_complete_done(napi, rx_work_done); in ethoc_poll() 622 return rx_work_done; in ethoc_poll()
|
/drivers/net/ethernet/qlogic/qede/ |
D | qede_fp.c | 1422 int rx_work_done = 0; in qede_poll() local 1439 rx_work_done = (likely(fp->type & QEDE_FASTPATH_RX) && in qede_poll() 1447 if (rx_work_done < budget || !budget) { in qede_poll() 1449 napi_complete_done(napi, rx_work_done); in qede_poll() 1454 rx_work_done = budget; in qede_poll() 1465 return rx_work_done; in qede_poll()
|
/drivers/net/ethernet/broadcom/ |
D | bcm63xx_enet.c | 490 int rx_work_done; in bcm_enet_poll() local 505 rx_work_done = bcm_enet_receive_queue(dev, budget); in bcm_enet_poll() 508 if (rx_work_done >= budget) { in bcm_enet_poll() 510 return rx_work_done; in bcm_enet_poll() 515 napi_complete_done(napi, rx_work_done); in bcm_enet_poll() 523 return rx_work_done; in bcm_enet_poll()
|
/drivers/staging/unisys/visornic/ |
D | visornic_main.c | 1643 int *rx_work_done, int budget) in service_resp_queue() argument 1648 while (*rx_work_done < budget) { in service_resp_queue() 1662 *rx_work_done += visornic_rx(cmdrsp); in service_resp_queue()
|
/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_cmn.c | 3225 int rx_work_done; in bnx2x_poll() local 3238 rx_work_done = (bnx2x_has_rx_work(fp)) ? bnx2x_rx_int(fp, budget) : 0; in bnx2x_poll() 3240 if (rx_work_done < budget) { in bnx2x_poll() 3246 napi_complete_done(napi, rx_work_done); in bnx2x_poll() 3265 if (napi_complete_done(napi, rx_work_done)) { in bnx2x_poll() 3274 rx_work_done = budget; in bnx2x_poll() 3279 return rx_work_done; in bnx2x_poll()
|
/drivers/net/ethernet/amazon/ena/ |
D | ena_netdev.c | 1981 int rx_work_done = 0; in ena_io_poll() local 2002 rx_work_done = ena_clean_rx_irq(rx_ring, napi, budget); in ena_io_poll() 2012 } else if ((budget > rx_work_done) && (tx_budget > tx_work_done)) { in ena_io_poll() 2018 if (napi_complete_done(napi, rx_work_done) && in ena_io_poll() 2032 ret = rx_work_done; in ena_io_poll()
|