|
@@ -904,12 +904,12 @@ static int netcp_rx_poll(struct napi_struct *napi, int budget)
|
|
|
|
|
|
packets = netcp_process_rx_packets(netcp, budget);
|
|
packets = netcp_process_rx_packets(netcp, budget);
|
|
|
|
|
|
|
|
+ netcp_rxpool_refill(netcp);
|
|
if (packets < budget) {
|
|
if (packets < budget) {
|
|
napi_complete(&netcp->rx_napi);
|
|
napi_complete(&netcp->rx_napi);
|
|
knav_queue_enable_notify(netcp->rx_queue);
|
|
knav_queue_enable_notify(netcp->rx_queue);
|
|
}
|
|
}
|
|
|
|
|
|
- netcp_rxpool_refill(netcp);
|
|
|
|
return packets;
|
|
return packets;
|
|
}
|
|
}
|
|
|
|
|