|
@@ -1016,6 +1016,8 @@ static int ixgbevf_poll(struct napi_struct *napi, int budget)
|
|
ixgbevf_for_each_ring(ring, q_vector->tx)
|
|
ixgbevf_for_each_ring(ring, q_vector->tx)
|
|
clean_complete &= ixgbevf_clean_tx_irq(q_vector, ring);
|
|
clean_complete &= ixgbevf_clean_tx_irq(q_vector, ring);
|
|
|
|
|
|
|
|
+ if (budget <= 0)
|
|
|
|
+ return budget;
|
|
#ifdef CONFIG_NET_RX_BUSY_POLL
|
|
#ifdef CONFIG_NET_RX_BUSY_POLL
|
|
if (!ixgbevf_qv_lock_napi(q_vector))
|
|
if (!ixgbevf_qv_lock_napi(q_vector))
|
|
return budget;
|
|
return budget;
|