Home
last modified time | relevance | path

Searched refs:rx_work_done (Results 1 – 6 of 6) sorted by relevance

/linux-5.19.10/drivers/net/ethernet/pensando/ionic/
Dionic_txrx.c554 u32 rx_work_done = 0; in ionic_txrx_napi() local
565 rx_work_done = ionic_cq_service(rxcq, budget, in ionic_txrx_napi()
570 if (rx_work_done && ionic_q_space_avail(rxcq->bound_q) >= rx_fill_threshold) in ionic_txrx_napi()
573 if (rx_work_done < budget && napi_complete_done(napi, rx_work_done)) { in ionic_txrx_napi()
579 if (rx_work_done || flags) { in ionic_txrx_napi()
582 tx_work_done + rx_work_done, flags); in ionic_txrx_napi()
585 return rx_work_done; in ionic_txrx_napi()
/linux-5.19.10/drivers/net/ethernet/
Dethoc.c611 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()
/linux-5.19.10/drivers/net/ethernet/qlogic/qede/
Dqede_fp.c1423 int rx_work_done = 0; in qede_poll() local
1440 rx_work_done = (likely(fp->type & QEDE_FASTPATH_RX) && in qede_poll()
1444 if (rx_work_done < budget || !budget) { in qede_poll()
1446 napi_complete_done(napi, rx_work_done); in qede_poll()
1451 rx_work_done = budget; in qede_poll()
1465 return rx_work_done; in qede_poll()
/linux-5.19.10/drivers/net/ethernet/broadcom/
Dbcm63xx_enet.c490 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()
/linux-5.19.10/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_cmn.c3226 int rx_work_done; in bnx2x_poll() local
3239 rx_work_done = (bnx2x_has_rx_work(fp)) ? bnx2x_rx_int(fp, budget) : 0; in bnx2x_poll()
3241 if (rx_work_done < budget) { in bnx2x_poll()
3247 napi_complete_done(napi, rx_work_done); in bnx2x_poll()
3266 if (napi_complete_done(napi, rx_work_done)) { in bnx2x_poll()
3275 rx_work_done = budget; in bnx2x_poll()
3280 return rx_work_done; in bnx2x_poll()
/linux-5.19.10/drivers/net/ethernet/amazon/ena/
Dena_netdev.c1943 int rx_work_done = 0; in ena_io_poll() local
1964 rx_work_done = ena_clean_rx_irq(rx_ring, napi, budget); in ena_io_poll()
1974 } else if ((budget > rx_work_done) && (tx_budget > tx_work_done)) { in ena_io_poll()
1980 if (napi_complete_done(napi, rx_work_done) && in ena_io_poll()
1995 ret = rx_work_done; in ena_io_poll()