/drivers/net/ethernet/oki-semi/pch_gbe/ |
H A D | pch_gbe_main.c | 2365 * @budget: The maximum number of a packet 2370 static int pch_gbe_napi_poll(struct napi_struct *napi, int budget) argument 2379 pr_debug("budget : %d\n", budget); 2381 pch_gbe_clean_rx(adapter, adapter->rx_ring, &work_done, budget); 2385 work_done = budget; 2389 if (work_done < budget) 2408 pr_debug("poll_end_flag : %d work_done : %d budget : %d\n", 2409 poll_end_flag, work_done, budget);
|
/drivers/net/ethernet/tehuti/ |
H A D | tehuti.c | 81 static int bdx_rx_receive(struct bdx_priv *priv, struct rxd_fifo *f, int budget); 288 static int bdx_poll(struct napi_struct *napi, int budget) argument 295 work_done = bdx_rx_receive(priv, &priv->rxd_fifo0, budget); 296 if ((work_done < budget) || 1193 static int bdx_rx_receive(struct bdx_priv *priv, struct rxd_fifo *f, int budget) argument 1210 max_done = budget;
|
/drivers/net/ethernet/ |
H A D | korina.c | 459 static int korina_poll(struct napi_struct *napi, int budget) argument 466 work_done = korina_rx(dev, budget); 467 if (work_done < budget) {
|
/drivers/net/ethernet/rdc/ |
H A D | r6040.c | 626 static int r6040_poll(struct napi_struct *napi, int budget) argument 634 work_done = r6040_rx(dev, budget); 636 if (work_done < budget) {
|
/drivers/net/ethernet/toshiba/ |
H A D | ps3_gelic_net.c | 1101 * @budget: number of packets we can pass to the stack at most 1106 static int gelic_net_poll(struct napi_struct *napi, int budget) argument 1111 while (packets_done < budget) { 1118 if (packets_done < budget) {
|
H A D | spider_net.c | 1266 * @budget: number of packets we can pass to the stack at most 1275 static int spider_net_poll(struct napi_struct *napi, int budget) argument 1280 while (packets_done < budget) { 1289 packets_done = budget; 1301 if (packets_done < budget) {
|
H A D | tc35815.c | 482 static int tc35815_poll(struct napi_struct *napi, int budget); 1650 static int tc35815_poll(struct napi_struct *napi, int budget) argument 1666 handled = tc35815_do_interrupt(dev, status, budget - received); 1672 if (received >= budget) 1679 if (received < budget) {
|
/drivers/net/ |
H A D | virtio_net.c | 517 static int virtnet_poll(struct napi_struct *napi, int budget) argument 524 while (received < budget && 537 if (received < budget) {
|
/drivers/net/ethernet/aeroflex/ |
H A D | greth.c | 960 static int greth_poll(struct napi_struct *napi, int budget) argument 977 work_done += greth_rx_gbit(greth->netdev, budget - work_done); 979 work_done += greth_rx(greth->netdev, budget - work_done); 982 if (work_done < budget) {
|
/drivers/net/ethernet/broadcom/ |
H A D | sb1250-mac.c | 317 static int sbmac_poll(struct napi_struct *napi, int budget); 2564 static int sbmac_poll(struct napi_struct *napi, int budget) argument 2569 work_done = sbdma_rx_process(sc, &(sc->sbm_rxdma), budget, 1); 2572 if (work_done < budget) {
|
H A D | tg3.c | 5779 static int tg3_rx(struct tg3_napi *tnapi, int budget) argument 5799 while (sw_idx != hw_idx && budget > 0) { 5907 budget--; 6121 static int tg3_poll_work(struct tg3_napi *tnapi, int work_done, int budget) argument 6140 work_done += tg3_rx(tnapi, budget - work_done); 6185 static int tg3_poll_msix(struct napi_struct *napi, int budget) argument 6193 work_done = tg3_poll_work(tnapi, work_done, budget); 6198 if (unlikely(work_done >= budget)) 6239 /* work_done is guaranteed to be less than budget. */ 6279 static int tg3_poll(struct napi_struct *napi, int budget) argument 6624 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 6723 tigon3_dma_hwbug_workaround(struct tg3_napi *tnapi, struct sk_buff **pskb, u32 *entry, u32 *budget, u32 base_flags, u32 mss, u32 vlan) argument 6827 u32 budget; local 11691 u32 budget; local [all...] |
/drivers/net/ethernet/emulex/benet/ |
H A D | be_main.c | 1903 int budget) 1910 for (work_done = 0; work_done < budget; work_done++) { 1953 int budget, int idx) 1958 for (work_done = 0; work_done < budget; work_done++) { 1982 return (work_done < budget); /* Done */ 1985 int be_poll(struct napi_struct *napi, int budget) argument 1997 max_work = budget; 2005 work = be_process_rx(&adapter->rx_obj[i], napi, budget); 2012 if (max_work < budget) { 1902 be_process_rx(struct be_rx_obj *rxo, struct napi_struct *napi, int budget) argument 1952 be_process_tx(struct be_adapter *adapter, struct be_tx_obj *txo, int budget, int idx) argument
|
/drivers/net/ethernet/intel/ixgbevf/ |
H A D | ixgbevf_main.c | 614 * @budget: amount of work driver is allowed to do this pass, in packets 619 static int ixgbevf_clean_rxonly(struct napi_struct *napi, int budget) argument 631 ixgbevf_clean_rx_irq(q_vector, rx_ring, &work_done, budget); 634 if (work_done < budget) { 648 * @budget: amount of work driver is allowed to do this pass, in packets 653 static int ixgbevf_clean_rxonly_many(struct napi_struct *napi, int budget) argument 663 /* attempt to distribute budget to each queue fairly, but don't allow 664 * the budget to go below 1 because we'll exit polling */ 665 budget /= (q_vector->rxr_count ?: 1); 666 budget [all...] |
/drivers/net/ethernet/qlogic/qlcnic/ |
H A D | qlcnic_main.c | 69 static int qlcnic_poll(struct napi_struct *napi, int budget); 70 static int qlcnic_rx_poll(struct napi_struct *napi, int budget); 2556 static int qlcnic_poll(struct napi_struct *napi, int budget) argument 2568 work_done = qlcnic_process_rcv_ring(sds_ring, budget); 2570 if ((work_done < budget) && tx_complete) { 2579 static int qlcnic_rx_poll(struct napi_struct *napi, int budget) argument 2587 work_done = qlcnic_process_rcv_ring(sds_ring, budget); 2589 if (work_done < budget) {
|
/drivers/net/vmxnet3/ |
H A D | vmxnet3_drv.c | 1552 vmxnet3_do_poll(struct vmxnet3_adapter *adapter, int budget) argument 1562 adapter, budget); 1568 vmxnet3_poll(struct napi_struct *napi, int budget) argument 1574 rxd_done = vmxnet3_do_poll(rx_queue->adapter, budget); 1576 if (rxd_done < budget) { 1589 vmxnet3_poll_rx_only(struct napi_struct *napi, int budget) argument 1605 rxd_done = vmxnet3_rq_rx_complete(rq, adapter, budget); 1607 if (rxd_done < budget) {
|
/drivers/s390/net/ |
H A D | qeth_l3_main.c | 1992 int budget, int *done) 2003 BUG_ON(!budget); 2004 while (budget) { 2049 budget--; 2056 static int qeth_l3_poll(struct napi_struct *napi, int budget) argument 2062 int new_budget = budget; 2114 if (work_done >= budget) 2117 new_budget = budget - work_done; 1991 qeth_l3_process_inbound_buffer(struct qeth_card *card, int budget, int *done) argument
|
/drivers/net/ethernet/adaptec/ |
H A D | starfire.c | 598 static int netdev_poll(struct napi_struct *napi, int budget); 1557 static int netdev_poll(struct napi_struct *napi, int budget) argument 1563 int quota = budget; 1582 budget - quota); 1585 return budget - quota;
|
/drivers/net/ethernet/amd/ |
H A D | pcnet32.c | 1203 static int pcnet32_rx(struct net_device *dev, int budget) argument 1211 while (npackets < budget && (short)le16_to_cpu(rxp->status) >= 0) { 1315 static int pcnet32_poll(struct napi_struct *napi, int budget) argument 1324 work_done = pcnet32_rx(dev, budget); 1336 if (work_done < budget) {
|
/drivers/net/ethernet/sfc/ |
H A D | efx.c | 223 static int efx_process_channel(struct efx_channel *channel, int budget) argument 230 spent = efx_nic_process_eventq(channel, budget); 271 static int efx_poll(struct napi_struct *napi, int budget) argument 282 spent = efx_process_channel(channel, budget); 284 if (spent < budget) {
|
H A D | nic.c | 1185 int efx_nic_process_eventq(struct efx_channel *channel, int budget) argument 1218 if (++spent == budget) 1224 spent = budget;
|
/drivers/net/can/ |
H A D | janz-ican3.c | 1176 static int ican3_napi(struct napi_struct *napi, int budget) argument 1194 while (received < budget) { 1203 * was less than our budget, stop polling */ 1204 if (received < budget)
|
/drivers/net/ethernet/calxeda/ |
H A D | xgmac.c | 1207 * @budget : maximum number of packets that the current CPU can receive from 1213 static int xgmac_poll(struct napi_struct *napi, int budget) argument 1220 work_done = xgmac_rx(priv, budget); 1222 if (work_done < budget) {
|
/drivers/net/ethernet/ibm/ |
H A D | ibmveth.c | 1069 static int ibmveth_poll(struct napi_struct *napi, int budget) argument 1127 } while (frames_processed < budget); 1131 if (frames_processed < budget) {
|
/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_main.c | 746 unsigned int budget = q_vector->tx.work_limit; local 824 /* update budget accounting */ 825 budget--; 826 } while (likely(budget)); 886 return !!budget; 1618 * @budget: Total limit on number of packets to process 1625 * Returns true if all work is completed without reaching budget 1629 int budget) 1765 /* update budget accounting */ 1766 budget 1627 ixgbe_clean_rx_irq(struct ixgbe_q_vector *q_vector, struct ixgbe_ring *rx_ring, int budget) argument 2331 ixgbe_poll(struct napi_struct *napi, int budget) argument [all...] |
/drivers/net/ethernet/pasemi/ |
H A D | pasemi_mac.c | 1612 static int pasemi_mac_poll(struct napi_struct *napi, int budget) argument 1618 pkts = pasemi_mac_clean_rx(rx_ring(mac), budget); 1619 if (pkts < budget) {
|