Searched refs:budget (Results 76 - 100 of 161) sorted by relevance

1234567

/drivers/net/ethernet/chelsio/cxgb3/
H A Dsge.c1822 * @budget: polling budget
1830 static int ofld_poll(struct napi_struct *napi, int budget) argument
1837 while (work_done < budget) {
1854 if (work_done >= budget)
2244 * @budget: how many responses can be processed in this round
2246 * Process responses from an SGE response queue up to the supplied budget.
2249 * A negative budget is effectively unlimited.
2256 int budget)
2260 int budget_left = budget;
2255 process_responses(struct adapter *adap, struct sge_qset *qs, int budget) argument
2410 napi_rx_handler(struct napi_struct *napi, int budget) argument
[all...]
/drivers/net/ethernet/broadcom/
H A Db44.c779 static int b44_rx(struct b44 *bp, int budget) argument
789 while (cons != prod && budget > 0) {
853 budget--;
866 static int b44_poll(struct napi_struct *napi, int budget) argument
892 work_done += b44_rx(bp, budget);
904 if (work_done < budget) {
H A Dsb1250-mac.c315 static int sbmac_poll(struct napi_struct *napi, int budget);
2558 static int sbmac_poll(struct napi_struct *napi, int budget) argument
2563 work_done = sbdma_rx_process(sc, &(sc->sbm_rxdma), budget, 1);
2566 if (work_done < budget) {
H A Dtg3.c6793 static int tg3_rx(struct tg3_napi *tnapi, int budget) argument
6813 while (sw_idx != hw_idx && budget > 0) {
6935 budget--;
7149 static int tg3_poll_work(struct tg3_napi *tnapi, int work_done, int budget) argument
7168 work_done += tg3_rx(tnapi, budget - work_done);
7213 static int tg3_poll_msix(struct napi_struct *napi, int budget) argument
7221 work_done = tg3_poll_work(tnapi, work_done, budget);
7226 if (unlikely(work_done >= budget))
7267 /* work_done is guaranteed to be less than budget. */
7307 static int tg3_poll(struct napi_struct *napi, int budget) argument
7676 tg3_tx_frag_set(struct tg3_napi *tnapi, u32 *entry, u32 *budget, dma_addr_t map, u32 len, u32 flags, u32 mss, u32 vlan) argument
7778 tigon3_dma_hwbug_workaround(struct tg3_napi *tnapi, struct sk_buff **pskb, u32 *entry, u32 *budget, u32 base_flags, u32 mss, u32 vlan) argument
7882 u32 budget; local
13342 u32 budget; local
[all...]
/drivers/net/ethernet/oki-semi/pch_gbe/
H A Dpch_gbe_main.c2375 * @budget: The maximum number of a packet
2380 static int pch_gbe_napi_poll(struct napi_struct *napi, int budget) argument
2388 netdev_dbg(adapter->netdev, "budget : %d\n", budget);
2390 pch_gbe_clean_rx(adapter, adapter->rx_ring, &work_done, budget);
2394 work_done = budget;
2398 if (work_done < budget)
2412 "poll_end_flag : %d work_done : %d budget : %d\n",
2413 poll_end_flag, work_done, budget);
/drivers/net/ethernet/tehuti/
H A Dtehuti.c81 static int bdx_rx_receive(struct bdx_priv *priv, struct rxd_fifo *f, int budget);
290 static int bdx_poll(struct napi_struct *napi, int budget) argument
297 work_done = bdx_rx_receive(priv, &priv->rxd_fifo0, budget);
298 if ((work_done < budget) ||
1201 * @budget: maximum number of packets to receive
1206 static int bdx_rx_receive(struct bdx_priv *priv, struct rxd_fifo *f, int budget) argument
1223 max_done = budget;
/drivers/net/ethernet/toshiba/
H A Dtc35815.c481 static int tc35815_poll(struct napi_struct *napi, int budget);
1639 static int tc35815_poll(struct napi_struct *napi, int budget) argument
1648 if (budget <= 0)
1658 handled = tc35815_do_interrupt(dev, status, budget - received);
1664 if (received >= budget)
1671 if (received < budget) {
H A Dps3_gelic_net.c1094 * @budget: number of packets we can pass to the stack at most
1099 static int gelic_net_poll(struct napi_struct *napi, int budget) argument
1104 while (packets_done < budget) {
1111 if (packets_done < budget) {
H A Dspider_net.c1239 * @budget: number of packets we can pass to the stack at most
1248 static int spider_net_poll(struct napi_struct *napi, int budget) argument
1253 while (packets_done < budget) {
1262 packets_done = budget;
1274 if (packets_done < budget) {
/drivers/net/ethernet/
H A Dkorina.c458 static int korina_poll(struct napi_struct *napi, int budget) argument
465 work_done = korina_rx(dev, budget);
466 if (work_done < budget) {
/drivers/net/ethernet/rdc/
H A Dr6040.c636 static int r6040_poll(struct napi_struct *napi, int budget) argument
644 work_done = r6040_rx(dev, budget);
646 if (work_done < budget) {
/drivers/net/ethernet/tile/
H A Dtilepro.c69 * to "netif_receive_skb()". If our budget is exhausted, we will
822 static int tile_net_poll(struct napi_struct *napi, int budget) argument
834 if (budget <= 0)
843 if (++work >= budget)
1533 * call "tile_net_poll()", or which exhausted their budget inside
/drivers/net/ethernet/aeroflex/
H A Dgreth.c972 static int greth_poll(struct napi_struct *napi, int budget) argument
983 work_done += greth_rx_gbit(greth->netdev, budget - work_done);
987 work_done += greth_rx(greth->netdev, budget - work_done);
990 if (work_done < budget) {
/drivers/net/ethernet/cadence/
H A Dmacb.h592 int (*mog_rx)(struct macb *bp, int budget);
/drivers/net/xen-netback/
H A Dnetback.c1367 int budget,
1375 while (skb_queue_len(&queue->tx_queue) < budget) {
1813 int xenvif_tx_action(struct xenvif_queue *queue, int budget) argument
1821 xenvif_tx_build_gops(queue, budget, &nr_cops, &nr_mops);
1366 xenvif_tx_build_gops(struct xenvif_queue *queue, int budget, unsigned *copy_ops, unsigned *map_ops) argument
/drivers/net/vmxnet3/
H A Dvmxnet3_drv.c1585 vmxnet3_do_poll(struct vmxnet3_adapter *adapter, int budget) argument
1595 adapter, budget);
1601 vmxnet3_poll(struct napi_struct *napi, int budget) argument
1607 rxd_done = vmxnet3_do_poll(rx_queue->adapter, budget);
1609 if (rxd_done < budget) {
1622 vmxnet3_poll_rx_only(struct napi_struct *napi, int budget) argument
1638 rxd_done = vmxnet3_rq_rx_complete(rq, adapter, budget);
1640 if (rxd_done < budget) {
/drivers/net/wireless/ath/ath9k/
H A Drecv.c1012 unsigned int budget = 512; local
1165 if (!budget--)
/drivers/s390/net/
H A Dqeth_l3_main.c1942 int budget, int *done)
1953 WARN_ON_ONCE(!budget);
1954 while (budget) {
2000 budget--;
2007 static int qeth_l3_poll(struct napi_struct *napi, int budget) argument
2013 int new_budget = budget;
2065 if (work_done >= budget)
2068 new_budget = budget - work_done;
1941 qeth_l3_process_inbound_buffer(struct qeth_card *card, int budget, int *done) argument
/drivers/net/ethernet/adaptec/
H A Dstarfire.c585 static int netdev_poll(struct napi_struct *napi, int budget);
1526 static int netdev_poll(struct napi_struct *napi, int budget) argument
1532 int quota = budget;
1551 budget - quota);
1554 return budget - quota;
/drivers/net/ethernet/amd/
H A Dpcnet32.c1220 static int pcnet32_rx(struct net_device *dev, int budget) argument
1228 while (npackets < budget && (short)le16_to_cpu(rxp->status) >= 0) {
1332 static int pcnet32_poll(struct napi_struct *napi, int budget) argument
1341 work_done = pcnet32_rx(dev, budget);
1353 if (work_done < budget) {
/drivers/net/ethernet/broadcom/genet/
H A Dbcmgenet.c1259 unsigned int budget)
1284 (rxpktprocessed < budget)) {
1868 static int bcmgenet_poll(struct napi_struct *napi, int budget) argument
1877 work_done = bcmgenet_desc_rx(priv, budget);
1884 if (work_done < budget) {
1258 bcmgenet_desc_rx(struct bcmgenet_priv *priv, unsigned int budget) argument
/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_cmn.c37 static int bnx2x_poll(struct napi_struct *napi, int budget);
866 static int bnx2x_rx_int(struct bnx2x_fastpath *fp, int budget) argument
879 if (budget <= 0)
1097 if (rx_pkt == budget)
3162 static int bnx2x_poll(struct napi_struct *napi, int budget) argument
3185 work_done += bnx2x_rx_int(fp, budget - work_done);
3187 /* must not complete if we consumed full budget */
3188 if (work_done >= budget) {
/drivers/net/ethernet/freescale/
H A Dfec_main.c1350 fec_enet_rx_queue(struct net_device *ndev, int budget, u16 queue_id) argument
1383 if (pkt_received >= budget)
1536 fec_enet_rx(struct net_device *ndev, int budget) argument
1545 budget - pkt_received, queue_id);
1605 static int fec_enet_rx_napi(struct napi_struct *napi, int budget) argument
1617 pkts = fec_enet_rx(ndev, budget);
1621 if (pkts < budget) {
/drivers/net/can/
H A Djanz-ican3.c1303 static int ican3_napi(struct napi_struct *napi, int budget) argument
1321 while (received < budget) {
1330 * was less than our budget, stop polling */
1331 if (received < budget)
/drivers/net/ethernet/adi/
H A Dbfin_mac.c1306 static int bfin_mac_poll(struct napi_struct *napi, int budget) argument
1313 while (current_rx_ptr->status.status_word != 0 && i < budget) {
1318 if (i < budget) {

Completed in 795 milliseconds

1234567