/drivers/net/ethernet/calxeda/ |
H A D | xgmac.c | 1234 * @budget : maximum number of packets that the current CPU can receive from 1240 static int xgmac_poll(struct napi_struct *napi, int budget) argument 1247 work_done = xgmac_rx(priv, budget); 1249 if (work_done < budget) {
|
/drivers/net/ethernet/ibm/ |
H A D | ibmveth.c | 1076 static int ibmveth_poll(struct napi_struct *napi, int budget) argument 1085 while (frames_processed < budget) { 1138 if (frames_processed < budget) {
|
/drivers/net/ethernet/neterion/ |
H A D | s2io.c | 2758 * @budget : The number of packets that were budgeted to be processed 2768 static int s2io_poll_msix(struct napi_struct *napi, int budget) argument 2777 int budget_org = budget; 2782 pkts_processed = rx_intr_handler(ring, budget); 2797 static int s2io_poll_inta(struct napi_struct *napi, int budget) argument 2803 int budget_org = budget; 2812 ring_pkts_processed = rx_intr_handler(ring, budget); 2815 budget -= ring_pkts_processed; 2816 if (budget <= 0) 2887 * @budget 2897 rx_intr_handler(struct ring_info *ring_data, int budget) argument [all...] |
/drivers/net/ethernet/pasemi/ |
H A D | pasemi_mac.c | 1611 static int pasemi_mac_poll(struct napi_struct *napi, int budget) argument 1617 pkts = pasemi_mac_clean_rx(rx_ring(mac), budget); 1618 if (pkts < budget) {
|
/drivers/net/ethernet/samsung/sxgbe/ |
H A D | sxgbe_main.c | 1538 * @budget : maximum number of packets that the current CPU can receive from 1543 static int sxgbe_poll(struct napi_struct *napi, int budget) argument 1554 work_done = sxgbe_rx(priv, budget); 1555 if (work_done < budget) {
|
/drivers/net/ethernet/smsc/ |
H A D | smsc9420.c | 871 static int smsc9420_rx_poll(struct napi_struct *napi, int budget) argument 879 for (work_done = 0; work_done < budget; work_done++) { 901 if (work_done < budget) {
|
/drivers/net/ethernet/ti/ |
H A D | davinci_emac.c | 1354 * @budget: Number of receive packets to process (as told by NAPI layer) 1356 * NAPI Poll function implemented to process packets as per budget. We check 1358 * packet processing functions. We follow the budget for RX processing and 1364 static int emac_poll(struct napi_struct *napi, int budget) argument 1392 num_rx_pkts = cpdma_chan_process(priv->rxchan, budget); 1425 } else if (num_rx_pkts < budget) {
|
H A D | cpmac.c | 414 static int cpmac_poll(struct napi_struct *napi, int budget) argument 433 while (((desc->dataflags & CPMAC_OWN) == 0) && (received < budget)) {
|
/drivers/net/ethernet/tile/ |
H A D | tilegx.c | 652 static int tile_net_poll(struct napi_struct *napi, int budget) argument 662 if (budget <= 0) 674 if (++work >= budget)
|
/drivers/infiniband/ulp/ipoib/ |
H A D | ipoib.h | 450 int ipoib_poll(struct napi_struct *napi, int budget);
|
/drivers/net/ethernet/intel/igbvf/ |
H A D | netdev.c | 63 static int igbvf_poll(struct napi_struct *napi, int budget); 1193 * @budget: amount of packets driver is allowed to process this poll 1195 static int igbvf_poll(struct napi_struct *napi, int budget) argument 1202 igbvf_clean_rx_irq(adapter, &work_done, budget); 1205 if (work_done < budget) {
|
/drivers/net/ethernet/sfc/ |
H A D | farch.c | 1264 int efx_farch_ev_process(struct efx_channel *channel, int budget) argument 1273 if (budget <= 0) 1300 if (++spent == budget) 1307 spent = budget;
|
/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_main.c | 1065 unsigned int budget = q_vector->tx.work_limit; local 1143 /* update budget accounting */ 1144 budget--; 1145 } while (likely(budget)); 1205 return !!budget; 1973 * @budget: Total limit on number of packets to process 1984 const int budget) 1994 while (likely(total_rx_packets < budget)) { 2067 /* update budget accounting */ 2652 * @budget 1982 ixgbe_clean_rx_irq(struct ixgbe_q_vector *q_vector, struct ixgbe_ring *rx_ring, const int budget) argument 2656 ixgbe_poll(struct napi_struct *napi, int budget) argument [all...] |
/drivers/net/wan/ |
H A D | ixp4xx_hss.c | 654 static int hss_hdlc_poll(struct napi_struct *napi, int budget) argument 666 while (received < budget) {
|
/drivers/net/ethernet/agere/ |
H A D | et131x.c | 2295 static int et131x_handle_recv_pkts(struct et131x_adapter *adapter, int budget) argument 2299 int limit = budget; 2303 if (budget > MAX_PACKETS_HANDLED) 3591 static int et131x_poll(struct napi_struct *napi, int budget) argument 3595 int work_done = et131x_handle_recv_pkts(adapter, budget); 3599 if (work_done < budget) {
|
/drivers/net/ethernet/atheros/atlx/ |
H A D | atl1.c | 1920 static int atl1_intr_rx(struct atl1_adapter *adapter, int budget) argument 1936 while (count < budget) { 2448 static int atl1_rings_clean(struct napi_struct *napi, int budget) argument 2451 int work_done = atl1_intr_rx(adapter, budget); 2454 work_done = budget; 2457 if (work_done >= budget)
|
/drivers/net/ethernet/ibm/ehea/ |
H A D | ehea_main.c | 666 int budget) 686 while ((processed < budget) && cqe) { 889 static int ehea_poll(struct napi_struct *napi, int budget) argument 900 rx += ehea_proc_rwqes(dev, pr, budget - rx); 902 while (rx != budget) { 919 rx += ehea_proc_rwqes(dev, pr, budget - rx); 664 ehea_proc_rwqes(struct net_device *dev, struct ehea_port_res *pr, int budget) argument
|
/drivers/net/ethernet/myricom/myri10ge/ |
H A D | myri10ge.c | 1593 myri10ge_clean_rx_done(struct myri10ge_slice_state *ss, int budget) argument 1606 while (rx_done->entry[idx].length != 0 && work_done < budget) { 1667 static int myri10ge_poll(struct napi_struct *napi, int budget) argument 1679 return budget; 1682 work_done = myri10ge_clean_rx_done(ss, budget); 1685 if (work_done < budget) {
|
/drivers/net/ethernet/intel/igb/ |
H A D | igb_main.c | 6309 * @budget: count of how many packets we should handle 6311 static int igb_poll(struct napi_struct *napi, int budget) argument 6326 clean_complete &= igb_clean_rx_irq(q_vector, budget); 6328 /* If all work not completed, return budget and keep polling */ 6330 return budget; 6352 unsigned int budget = q_vector->tx.work_limit; local 6430 /* update budget accounting */ 6431 budget--; 6432 } while (likely(budget)); 6507 return !!budget; 6910 igb_clean_rx_irq(struct igb_q_vector *q_vector, const int budget) argument [all...] |
/drivers/net/ethernet/qlogic/qlge/ |
H A D | qlge_main.c | 2243 static int ql_clean_inbound_rx_ring(struct rx_ring *rx_ring, int budget) argument 2279 if (count == budget) 2287 static int ql_napi_poll_msix(struct napi_struct *napi, int budget) argument 2323 work_done = ql_clean_inbound_rx_ring(rx_ring, budget); 2326 if (work_done < budget) { 4804 int ql_clean_lb_rx_ring(struct rx_ring *rx_ring, int budget) argument 4806 return ql_clean_inbound_rx_ring(rx_ring, budget);
|
/drivers/net/ethernet/broadcom/ |
H A D | bnx2.c | 2828 bnx2_tx_int(struct bnx2 *bp, struct bnx2_napi *bnapi, int budget) argument 2892 if (tx_pkt == budget) 3130 bnx2_rx_int(struct bnx2 *bp, struct bnx2_napi *bnapi, int budget) argument 3137 if (budget <= 0) 3271 if ((rx_pkt == budget)) 3470 int work_done, int budget) 3479 work_done += bnx2_rx_int(bp, bnapi, budget - work_done); 3484 static int bnx2_poll_msix(struct napi_struct *napi, int budget) argument 3492 work_done = bnx2_poll_work(bp, bnapi, work_done, budget); 3493 if (unlikely(work_done >= budget)) 3469 bnx2_poll_work(struct bnx2 *bp, struct bnx2_napi *bnapi, int work_done, int budget) argument 3511 bnx2_poll(struct napi_struct *napi, int budget) argument [all...] |
/drivers/net/ethernet/brocade/bna/ |
H A D | bnad.c | 587 bnad_cq_process(struct bnad *bnad, struct bna_ccb *ccb, int budget) argument 604 while (packets < budget) { 1871 bnad_napi_poll_rx(struct napi_struct *napi, int budget) argument 1883 rcvd = bnad_cq_process(bnad, rx_ctrl->ccb, budget); 1884 if (rcvd >= budget)
|
/drivers/net/ethernet/ibm/emac/ |
H A D | core.c | 1688 static int emac_poll_rx(void *param, int budget) argument 1693 DBG2(dev, "poll_rx(%d)" NL, budget); 1696 while (budget > 0) { 1752 --budget; 1795 if (unlikely(budget && test_bit(MAL_COMMAC_RX_STOPPED, &dev->commac.flags))) {
|
/drivers/net/ethernet/intel/e1000/ |
H A D | e1000_main.c | 140 static int e1000_clean(struct napi_struct *napi, int budget); 3803 static int e1000_clean(struct napi_struct *napi, int budget) argument 3811 adapter->clean_rx(adapter, &adapter->rx_ring[0], &work_done, budget); 3814 work_done = budget; 3816 /* If budget not fully consumed, exit the polling mode */ 3817 if (work_done < budget) {
|
/drivers/infiniband/hw/nes/ |
H A D | nes_nic.c | 100 static int nes_netdev_poll(struct napi_struct *napi, int budget) argument 106 nesvnic->budget = budget;
|