Searched refs:budget (Results 126 - 150 of 161) sorted by relevance

1234567

/drivers/net/ethernet/atheros/atl1c/
H A Datl1c_main.c1871 static int atl1c_clean(struct napi_struct *napi, int budget) argument
1881 atl1c_clean_rx_irq(adapter, &work_done, budget);
1883 if (work_done < budget) {
/drivers/net/ethernet/atheros/atl1e/
H A Datl1e_main.c1520 static int atl1e_clean(struct napi_struct *napi, int budget) argument
1531 atl1e_clean_rx_irq(adapter, 0, &work_done, budget);
1534 if (work_done < budget) {
/drivers/net/ethernet/intel/ixgb/
H A Dixgb_main.c1817 ixgb_clean(struct napi_struct *napi, int budget) argument
1823 ixgb_clean_rx_irq(adapter, &work_done, budget);
1825 /* If budget not fully consumed, exit the polling mode */
1826 if (work_done < budget) {
/drivers/net/ethernet/realtek/
H A D8139cp.c461 static int cp_rx_poll(struct napi_struct *napi, int budget) argument
472 while (rx < budget) {
557 if (rx < budget) {
/drivers/net/ethernet/renesas/
H A Dsh_eth.c1685 static int sh_eth_poll(struct napi_struct *napi, int budget) argument
1690 int quota = budget;
1709 return budget - quota;
/drivers/net/ethernet/stmicro/stmmac/
H A Dstmmac_main.c2240 * @budget : maximum number of packets that the current CPU can receive from
2245 static int stmmac_poll(struct napi_struct *napi, int budget) argument
2253 work_done = stmmac_rx(priv, budget);
2254 if (work_done < budget) {
/drivers/net/ethernet/sun/
H A Dsungem.c882 static int gem_poll(struct napi_struct *napi, int budget) argument
918 work_done += gem_rx(gp, budget - work_done);
920 if (work_done >= budget)
H A Dcassini.c2290 static int cas_rx_ringN(struct cas *cp, int ring, int budget) argument
2393 if (budget && (npackets >= budget))
2583 static int cas_poll(struct napi_struct *napi, int budget) argument
2600 * budget / N_RX_COMP_RINGS
2607 credits += cas_rx_ringN(cp, j, budget / N_RX_COMP_RINGS);
2608 if (credits >= budget) {
H A Dniu.c3698 struct rx_ring_info *rp, int budget)
3719 qlen = min(qlen, budget);
3746 static int niu_poll_core(struct niu *np, struct niu_ldg *lp, int budget) argument
3770 budget);
3772 budget -= this_work_done;
3781 static int niu_poll(struct napi_struct *napi, int budget) argument
3787 work_done = niu_poll_core(np, lp, budget);
3789 if (work_done < budget) {
3697 niu_rx_work(struct napi_struct *napi, struct niu *np, struct rx_ring_info *rp, int budget) argument
/drivers/net/ethernet/ti/
H A Dcpsw.c783 static int cpsw_poll(struct napi_struct *napi, int budget) argument
792 num_rx = cpdma_chan_process(priv->rxch, budget);
793 if (num_rx < budget) {
/drivers/net/ethernet/via/
H A Dvia-rhine.c823 static int rhine_napipoll(struct napi_struct *napi, int budget) argument
836 work_done += rhine_rx(dev, budget);
863 if (work_done < budget) {
/drivers/net/
H A Dxen-netfront.c987 static int xennet_poll(struct napi_struct *napi, int budget) argument
1014 while ((i != rp) && (work_done < budget)) {
1077 if (work_done < budget) {
/drivers/net/ethernet/emulex/benet/
H A Dbe_main.c2381 int budget, int polling)
2389 for (work_done = 0; work_done < budget; work_done++) {
2516 int be_poll(struct napi_struct *napi, int budget) argument
2535 work = be_process_rx(rxo, napi, budget, NAPI_POLLING);
2540 max_work = budget;
2546 if (max_work < budget) {
2380 be_process_rx(struct be_rx_obj *rxo, struct napi_struct *napi, int budget, int polling) argument
H A Dbe.h911 int be_poll(struct napi_struct *napi, int budget);
/drivers/net/ethernet/marvell/
H A Dmvpp2.c5310 static int mvpp2_poll(struct napi_struct *napi, int budget) argument
5324 while (cause_rx && budget > 0) {
5332 count = mvpp2_rx(port, budget, rxq);
5334 budget -= count;
5335 if (budget > 0) {
5344 if (budget > 0) {
/drivers/net/ethernet/amd/
H A Damd8111e.c690 static int amd8111e_rx_poll(struct napi_struct *napi, int budget) argument
704 int rx_pkt_limit = budget;
/drivers/net/ethernet/xscale/
H A Dixp4xx_eth.c682 static int eth_poll(struct napi_struct *napi, int budget) argument
693 while (received < budget) {
/drivers/infiniband/hw/nes/
H A Dnes_hw.h1241 int budget; member in struct:nes_vnic
/drivers/infiniband/hw/ocrdma/
H A Docrdma_hw.c911 int budget = eq->cq_cnt; local
931 * destroyed. EQE valid and budget == 0 implies this.
933 if (budget)
934 budget--;
936 } while (budget);
/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe.h852 int ixgbe_poll(struct napi_struct *napi, int budget);
/drivers/net/ethernet/
H A Djme.c1385 jme_poll(JME_NAPI_HOLDER(holder), JME_NAPI_WEIGHT(budget))
1390 rest = jme_process_receive(jme, JME_NAPI_WEIGHT_VAL(budget));
1404 JME_NAPI_WEIGHT_SET(budget, rest);
1405 return JME_NAPI_WEIGHT_VAL(budget) - rest;
/drivers/net/ethernet/natsemi/
H A Dnatsemi.c627 static int natsemi_poll(struct napi_struct *napi, int budget);
2213 static int natsemi_poll(struct napi_struct *napi, int budget) argument
2232 netdev_rx(dev, &work_done, budget);
2246 if (work_done >= budget)
/drivers/net/ethernet/qlogic/netxen/
H A Dnetxen_nic_main.c74 static int netxen_nic_poll(struct napi_struct *napi, int budget);
2377 static int netxen_nic_poll(struct napi_struct *napi, int budget) argument
2389 work_done = netxen_process_rcv_ring(sds_ring, budget);
2391 if ((work_done < budget) && tx_complete) {
/drivers/net/ethernet/smsc/
H A Dsmsc911x.c1217 static int smsc911x_poll(struct napi_struct *napi, int budget) argument
1224 while (npackets < budget) {
/drivers/net/ethernet/freescale/
H A Ducc_geth.c3281 static int ucc_geth_poll(struct napi_struct *napi, int budget) argument
3297 howmany += ucc_geth_rx(ugeth, i, budget - howmany);
3299 if (howmany < budget) {

Completed in 5012 milliseconds

1234567