Searched refs:rx_work_done (Results 1 – 6 of 6) sorted by relevance
/linux-6.1.9/drivers/net/ethernet/pensando/ionic/ |
D | ionic_txrx.c | 554 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-6.1.9/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()
|
/linux-6.1.9/drivers/net/ethernet/qlogic/qede/ |
D | qede_fp.c | 1421 int rx_work_done = 0; in qede_poll() local 1438 rx_work_done = (likely(fp->type & QEDE_FASTPATH_RX) && in qede_poll() 1442 if (rx_work_done < budget || !budget) { in qede_poll() 1444 napi_complete_done(napi, rx_work_done); in qede_poll() 1449 rx_work_done = budget; in qede_poll() 1463 return rx_work_done; in qede_poll()
|
/linux-6.1.9/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()
|
/linux-6.1.9/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()
|
/linux-6.1.9/drivers/net/ethernet/amazon/ena/ |
D | ena_netdev.c | 1963 int rx_work_done = 0; in ena_io_poll() local 1984 rx_work_done = ena_clean_rx_irq(rx_ring, napi, budget); in ena_io_poll() 1994 } else if ((budget > rx_work_done) && (tx_budget > tx_work_done)) { in ena_io_poll() 2000 if (napi_complete_done(napi, rx_work_done) && in ena_io_poll() 2014 ret = rx_work_done; in ena_io_poll()
|