Searched refs:packets_done (Results 1 – 2 of 2) sorted by relevance
1249 int packets_done = 0; in spider_net_poll() local1251 while (packets_done < budget) { in spider_net_poll()1255 packets_done++; in spider_net_poll()1258 if ((packets_done == 0) && (card->num_rx_ints != 0)) { in spider_net_poll()1260 packets_done = budget; in spider_net_poll()1272 if (packets_done < budget) { in spider_net_poll()1273 napi_complete_done(napi, packets_done); in spider_net_poll()1278 return packets_done; in spider_net_poll()
1087 int packets_done = 0; in gelic_net_poll() local1089 while (packets_done < budget) { in gelic_net_poll()1093 packets_done++; in gelic_net_poll()1096 if (packets_done < budget) { in gelic_net_poll()1097 napi_complete_done(napi, packets_done); in gelic_net_poll()1100 return packets_done; in gelic_net_poll()