Some UEFI builds will set up a timer to continuously poll any SNP devices. This can drain packets from the network device's receive queue before iPXE gets a chance to process them. Use netdev_rx_[un]freeze() to explicitly indicate when we expect our network devices to be driven via the external SNP API (as we do with the UNDI API on the standard BIOS build), and disable the SNP API except when receive queue processing is frozen. Signed-off-by: Michael Brown <mcb30@ipxe.org>tags/v1.20.1
|
|
||
22 |
|
22 |
|
23 |
|
23 |
|
24 |
|
24 |
|
|
25 |
|
|
25 |
|
26 |
|
26 |
|
27 |
|
27 |
|
28 |
|
|
|
||
42 |
|
43 |
|
43 |
|
44 |
|
44 |
|
45 |
|
|
46 |
|
|
|
47 |
|
|
|
48 |
|
|
45 |
|
49 |
|
46 |
|
50 |
|
47 |
|
|
|
48 |
|
|
|
|
||
219 |
|
219 |
|
220 |
|
220 |
|
221 |
|
221 |
|
|
222 |
|
|
|
223 |
|
|
|
224 |
|
|
222 |
|
225 |
|
223 |
|
226 |
|
224 |
|
227 |
|
|
|
||
231 |
|
234 |
|
232 |
|
235 |
|
233 |
|
236 |
|
|
237 |
|
|
234 |
|
238 |
|
235 |
|
239 |
|
236 |
|
240 |
|
|
|
||
32 |
|
32 |
|
33 |
|
33 |
|
34 |
|
34 |
|
|
35 |
|
|
|
36 |
|
|
35 |
|
37 |
|
36 |
|
38 |
|
37 |
|
39 |
|
|
|
||
75 |
|
77 |
|
76 |
|
78 |
|
77 |
|
79 |
|
|
80 |
|
|
|
81 |
|
|
78 |
|
82 |
|
79 |
|
83 |
|
|
|
||
69 |
|
69 |
|
70 |
|
70 |
|
71 |
|
71 |
|
|
72 |
|
|
|
73 |
|
|
|
74 |
|
|
|
75 |
|
|
|
76 |
|
|
|
77 |
|
|
|
78 |
|
|
|
79 |
|
|
|
80 |
|
|
|
81 |
|
|
|
82 |
|
|
|
83 |
|
|
|
84 |
|
|
|
85 |
|
|
|
86 |
|
|
|
87 |
|
|
|
88 |
|
|
|
89 |
|
|
|
90 |
|
|
|
91 |
|
|
|
92 |
|
|
|
93 |
|
|
|
94 |
|
|
|
95 |
|
|
|
96 |
|
|
|
97 |
|
|
|
98 |
|
|
|
99 |
|
|
|
100 |
|
|
72 |
|
101 |
|
73 |
|
102 |
|
74 |
|
103 |
|
|
|
||
134 |
|
163 |
|
135 |
|
164 |
|
136 |
|
165 |
|
137 |
|
|
|
|
166 |
|
|
|
167 |
|
|
|
168 |
|
|
|
169 |
|
|
|
170 |
|
|
|
171 |
|
|
138 |
|
172 |
|
139 |
|
173 |
|
140 |
|
174 |
|
|
|
||
151 |
|
185 |
|
152 |
|
186 |
|
153 |
|
187 |
|
154 |
|
|
|
|
188 |
|
|
|
189 |
|
|
|
190 |
|
|
|
191 |
|
|
|
192 |
|
|
|
193 |
|
|
155 |
|
194 |
|
156 |
|
195 |
|
157 |
|
196 |
|
|
|
||
174 |
|
213 |
|
175 |
|
214 |
|
176 |
|
215 |
|
|
216 |
|
|
|
217 |
|
|
|
218 |
|
|
|
219 |
|
|
177 |
|
220 |
|
178 |
|
221 |
|
179 |
|
222 |
|
180 |
|
223 |
|
181 |
|
224 |
|
|
225 |
|
|
182 |
|
226 |
|
183 |
|
|
|
184 |
|
227 |
|
185 |
|
228 |
|
186 |
|
229 |
|
|
|
||
200 |
|
243 |
|
201 |
|
244 |
|
202 |
|
245 |
|
|
246 |
|
|
|
247 |
|
|
|
248 |
|
|
|
249 |
|
|
203 |
|
250 |
|
204 |
|
|
|
|
251 |
|
|
205 |
|
252 |
|
206 |
|
253 |
|
207 |
|
254 |
|
208 |
|
255 |
|
209 |
|
256 |
|
210 |
|
257 |
|
|
258 |
|
|
211 |
|
259 |
|
212 |
|
|
|
213 |
|
260 |
|
214 |
|
261 |
|
215 |
|
262 |
|
|
|
||
226 |
|
273 |
|
227 |
|
274 |
|
228 |
|
275 |
|
|
276 |
|
|
|
277 |
|
|
|
278 |
|
|
|
279 |
|
|
229 |
|
280 |
|
230 |
|
|
|
|
281 |
|
|
|
282 |
|
|
231 |
|
283 |
|
232 |
|
284 |
|
233 |
|
285 |
|
|
|
||
258 |
|
310 |
|
259 |
|
311 |
|
260 |
|
312 |
|
|
313 |
|
|
|
314 |
|
|
|
315 |
|
|
|
316 |
|
|
261 |
|
317 |
|
262 |
|
318 |
|
263 |
|
319 |
|
|
|
||
280 |
|
336 |
|
281 |
|
337 |
|
282 |
|
338 |
|
|
339 |
|
|
|
340 |
|
|
|
341 |
|
|
|
342 |
|
|
283 |
|
343 |
|
284 |
|
344 |
|
285 |
|
345 |
|
|
|
||
313 |
|
373 |
|
314 |
|
374 |
|
315 |
|
375 |
|
|
376 |
|
|
|
377 |
|
|
|
378 |
|
|
|
379 |
|
|
316 |
|
380 |
|
317 |
|
381 |
|
318 |
|
382 |
|
|
|
||
361 |
|
425 |
|
362 |
|
426 |
|
363 |
|
427 |
|
|
428 |
|
|
|
429 |
|
|
|
430 |
|
|
|
431 |
|
|
364 |
|
432 |
|
365 |
|
433 |
|
366 |
|
434 |
|
|
|
||
394 |
|
462 |
|
395 |
|
463 |
|
396 |
|
464 |
|
|
465 |
|
|
|
466 |
|
|
|
467 |
|
|
|
468 |
|
|
397 |
|
469 |
|
398 |
|
470 |
|
399 |
|
471 |
|
|
|
||
413 |
|
485 |
|
414 |
|
486 |
|
415 |
|
487 |
|
|
488 |
|
|
|
489 |
|
|
|
490 |
|
|
|
491 |
|
|
416 |
|
492 |
|
417 |
|
493 |
|
418 |
|
494 |
|
|
|
||
508 |
|
584 |
|
509 |
|
585 |
|
510 |
|
586 |
|
|
587 |
|
|
|
588 |
|
|
|
589 |
|
|
|
590 |
|
|
511 |
|
591 |
|
512 |
|
592 |
|
513 |
|
593 |
|
|
|
||
616 |
|
696 |
|
617 |
|
697 |
|
618 |
|
698 |
|
|
699 |
|
|
|
700 |
|
|
|
701 |
|
|
|
702 |
|
|
619 |
|
703 |
|
620 |
|
704 |
|
621 |
|
705 |
|
|
|
||
655 |
|
739 |
|
656 |
|
740 |
|
657 |
|
741 |
|
658 |
|
|
|
|
742 |
|
|
659 |
|
743 |
|
660 |
|
744 |
|
661 |
|
745 |
|
|
|
||
676 |
|
760 |
|
677 |
|
761 |
|
678 |
|
762 |
|
|
763 |
|
|
|
764 |
|
|
|
765 |
|
|
|
766 |
|
|
679 |
|
767 |
|
680 |
|
768 |
|
681 |
|
769 |
|
|
|
||
785 |
|
873 |
|
786 |
|
874 |
|
787 |
|
875 |
|
|
876 |
|
|
|
877 |
|
|
|
878 |
|
|
788 |
|
879 |
|
789 |
|
880 |
|
790 |
|
881 |
|
|
882 |
|
|
|
883 |
|
|
|
884 |
|
|
791 |
|
885 |
|
792 |
|
886 |
|
793 |
|
887 |
|
|
|
||
1011 |
|
1105 |
|
1012 |
|
1106 |
|
1013 |
|
1107 |
|
|
1108 |
|
|
|
1109 |
|
|
|
1110 |
|
|
1014 |
|
1111 |
|
1015 |
|
1112 |
|
1016 |
|
1113 |
|
|
|
||
1069 |
|
1166 |
|
1070 |
|
1167 |
|
1071 |
|
1168 |
|
|
1169 |
|
|
|
1170 |
|
|
|
1171 |
|
|
|
1172 |
|
|
|
1173 |
|
|
|
1174 |
|
|
|
1175 |
|
|
|
1176 |
|
|
|
1177 |
|
|
|
1178 |
|
|
|
1179 |
|
|
|
1180 |
|
|
|
1181 |
|
|
|
1182 |
|
|
|
1183 |
|
|
|
1184 |
|
|
|
1185 |
|
|
|
1186 |
|
|
|
1187 |
|
|
|
1188 |
|
|
|
1189 |
|
|
|
1190 |
|