Lines Matching refs:budget
91 static int wil6210_netdev_poll_rx(struct napi_struct *napi, int budget)
95 int quota = budget;
99 done = budget - quota;
101 if (done < budget) {
107 wil_dbg_txrx(wil, "NAPI RX poll(%d) done %d\n", budget, done);
112 static int wil6210_netdev_poll_rx_edma(struct napi_struct *napi, int budget)
116 int quota = budget;
120 done = budget - quota;
122 if (done < budget) {
128 wil_dbg_txrx(wil, "NAPI RX poll(%d) done %d\n", budget, done);
133 static int wil6210_netdev_poll_tx(struct napi_struct *napi, int budget)
140 /* always process ALL Tx complete, regardless budget - it is fast */
159 if (tx_done < budget) {
165 wil_dbg_txrx(wil, "NAPI TX poll(%d) done %d\n", budget, tx_done);
167 return min(tx_done, budget);
170 static int wil6210_netdev_poll_tx_edma(struct napi_struct *napi, int budget)
183 if (tx_done < budget) {
189 wil_dbg_txrx(wil, "NAPI TX poll(%d) done %d\n", budget, tx_done);
191 return min(tx_done, budget);