We currently use a single data buffer shared between all admin queue descriptors. This works for the physical function driver since we have at most one command in progress and only a single event (which does not use a data buffer). The communication path between the physical and virtual function drivers uses the event data buffer, and there is no way to prevent a solicited event (i.e. a response to a request) from being overwritten by an unsolicited event (e.g. a link status change). Provide individual data buffers for each admin event queue descriptor (and for each admin command queue descriptor, for the sake of consistency). Signed-off-by: Michael Brown <mcb30@ipxe.org>tags/v1.20.1
|
|
||
141 |
|
141 |
|
142 |
|
142 |
|
143 |
|
143 |
|
|
144 |
|
|
144 |
|
145 |
|
145 |
|
146 |
|
146 |
|
147 |
|
147 |
|
148 |
|
148 |
|
149 |
|
149 |
|
150 |
|
150 |
|
|
|
151 |
|
|
|
152 |
|
|
|
|
151 |
|
|
|
152 |
|
|
153 |
|
153 |
|
154 |
|
|
|
|
154 |
|
|
155 |
|
155 |
|
156 |
|
156 |
|
157 |
|
157 |
|
|
|
||
183 |
|
183 |
|
184 |
|
184 |
|
185 |
|
185 |
|
186 |
|
|
|
187 |
|
|
|
188 |
|
|
|
|
186 |
|
|
|
187 |
|
|
|
188 |
|
|
189 |
|
189 |
|
190 |
|
190 |
|
191 |
|
191 |
|
|
|
||
197 |
|
197 |
|
198 |
|
198 |
|
199 |
|
199 |
|
|
200 |
|
|
200 |
|
201 |
|
201 |
|
202 |
|
202 |
|
203 |
|
|
|
||
205 |
|
206 |
|
206 |
|
207 |
|
207 |
|
208 |
|
208 |
|
|
|
|
209 |
|
|
|
210 |
|
|
|
211 |
|
|
|
212 |
|
|
|
213 |
|
|
|
214 |
|
|
|
215 |
|
|
|
216 |
|
|
|
217 |
|
|
|
218 |
|
|
|
219 |
|
|
|
220 |
|
|
|
221 |
|
|
|
222 |
|
|
|
223 |
|
|
|
224 |
|
|
|
225 |
|
|
|
226 |
|
|
|
227 |
|
|
|
228 |
|
|
|
229 |
|
|
|
230 |
|
|
|
231 |
|
|
|
232 |
|
|
|
233 |
|
|
|
234 |
|
|
|
235 |
|
|
|
236 |
|
|
|
237 |
|
|
|
238 |
|
|
|
239 |
|
|
|
240 |
|
|
|
241 |
|
|
|
242 |
|
|
|
243 |
|
|
|
244 |
|
|
|
245 |
|
|
|
246 |
|
|
|
247 |
|
|
|
248 |
|
|
|
249 |
|
|
|
250 |
|
|
|
251 |
|
|
|
252 |
|
|
|
253 |
|
|
|
254 |
|
|
|
255 |
|
|
|
256 |
|
|
|
257 |
|
|
|
258 |
|
|
|
259 |
|
|
|
260 |
|
|
|
261 |
|
|
|
262 |
|
|
|
263 |
|
|
|
264 |
|
|
|
265 |
|
|
|
266 |
|
|
209 |
|
267 |
|
210 |
|
268 |
|
211 |
|
269 |
|
212 |
|
270 |
|
213 |
|
271 |
|
214 |
|
272 |
|
215 |
|
|
|
216 |
|
273 |
|
217 |
|
274 |
|
218 |
|
|
|
219 |
|
|
|
|
275 |
|
|
220 |
|
276 |
|
221 |
|
277 |
|
222 |
|
278 |
|
223 |
|
|
|
224 |
|
|
|
|
279 |
|
|
|
280 |
|
|
|
281 |
|
|
|
282 |
|
|
225 |
|
283 |
|
226 |
|
284 |
|
227 |
|
285 |
|
|
|
||
230 |
|
288 |
|
231 |
|
289 |
|
232 |
|
290 |
|
233 |
|
|
|
234 |
|
|
|
235 |
|
|
|
236 |
|
|
|
237 |
|
|
|
238 |
|
|
|
239 |
|
|
|
240 |
|
|
|
241 |
|
|
|
|
291 |
|
|
|
292 |
|
|
|
293 |
|
|
|
294 |
|
|
242 |
|
295 |
|
243 |
|
|
|
244 |
|
|
|
|
296 |
|
|
|
297 |
|
|
|
298 |
|
|
|
299 |
|
|
|
300 |
|
|
245 |
|
301 |
|
246 |
|
302 |
|
247 |
|
303 |
|
248 |
|
|
|
249 |
|
|
|
250 |
|
|
|
|
304 |
|
|
|
305 |
|
|
|
306 |
|
|
251 |
|
307 |
|
252 |
|
308 |
|
253 |
|
|
|
254 |
|
|
|
255 |
|
|
|
256 |
|
|
|
|
309 |
|
|
|
310 |
|
|
|
311 |
|
|
|
312 |
|
|
|
313 |
|
|
257 |
|
314 |
|
258 |
|
315 |
|
|
316 |
|
|
|
317 |
|
|
|
318 |
|
|
|
319 |
|
|
|
320 |
|
|
259 |
|
321 |
|
260 |
|
322 |
|
261 |
|
323 |
|
|
|
||
263 |
|
325 |
|
264 |
|
326 |
|
265 |
|
327 |
|
266 |
|
|
|
|
328 |
|
|
267 |
|
329 |
|
268 |
|
330 |
|
269 |
|
331 |
|
270 |
|
332 |
|
271 |
|
333 |
|
272 |
|
|
|
273 |
|
|
|
|
334 |
|
|
|
335 |
|
|
274 |
|
336 |
|
275 |
|
337 |
|
276 |
|
|
|
|
338 |
|
|
277 |
|
339 |
|
278 |
|
340 |
|
279 |
|
|
|
|
341 |
|
|
280 |
|
342 |
|
281 |
|
343 |
|
282 |
|
344 |
|
283 |
|
345 |
|
284 |
|
346 |
|
285 |
|
|
|
|
347 |
|
|
286 |
|
348 |
|
287 |
|
349 |
|
288 |
|
|
|
|
350 |
|
|
289 |
|
351 |
|
290 |
|
352 |
|
291 |
|
353 |
|
292 |
|
354 |
|
293 |
|
|
|
294 |
|
|
|
295 |
|
|
|
296 |
|
355 |
|
297 |
|
356 |
|
298 |
|
357 |
|
|
|
||
301 |
|
360 |
|
302 |
|
361 |
|
303 |
|
362 |
|
304 |
|
|
|
305 |
|
|
|
|
363 |
|
|
306 |
|
364 |
|
307 |
|
365 |
|
308 |
|
366 |
|
|
|
||
313 |
|
371 |
|
314 |
|
372 |
|
315 |
|
373 |
|
316 |
|
|
|
317 |
|
|
|
|
374 |
|
|
|
375 |
|
|
318 |
|
376 |
|
319 |
|
377 |
|
320 |
|
378 |
|
321 |
|
379 |
|
322 |
|
|
|
323 |
|
|
|
|
380 |
|
|
|
381 |
|
|
|
382 |
|
|
324 |
|
383 |
|
325 |
|
384 |
|
326 |
|
|
|
|
385 |
|
|
327 |
|
386 |
|
328 |
|
387 |
|
329 |
|
388 |
|
|
|
||
348 |
|
407 |
|
349 |
|
408 |
|
350 |
|
409 |
|
351 |
|
|
|
352 |
|
|
|
353 |
|
|
|
354 |
|
|
|
|
410 |
|
|
|
411 |
|
|
|
412 |
|
|
355 |
|
413 |
|
356 |
|
414 |
|
357 |
|
415 |
|
358 |
|
|
|
359 |
|
|
|
360 |
|
|
|
361 |
|
|
|
|
416 |
|
|
|
417 |
|
|
|
418 |
|
|
|
419 |
|
|
|
420 |
|
|
362 |
|
421 |
|
363 |
|
422 |
|
364 |
|
|
|
|
423 |
|
|
|
424 |
|
|
365 |
|
425 |
|
366 |
|
426 |
|
367 |
|
427 |
|
368 |
|
|
|
|
428 |
|
|
369 |
|
429 |
|
370 |
|
430 |
|
371 |
|
431 |
|
|
|
||
378 |
|
438 |
|
379 |
|
439 |
|
380 |
|
440 |
|
381 |
|
|
|
382 |
|
|
|
|
441 |
|
|
|
442 |
|
|
383 |
|
443 |
|
384 |
|
444 |
|
385 |
|
445 |
|
386 |
|
|
|
387 |
|
|
|
|
446 |
|
|
|
447 |
|
|
|
448 |
|
|
388 |
|
449 |
|
389 |
|
450 |
|
390 |
|
451 |
|
391 |
|
|
|
|
452 |
|
|
392 |
|
453 |
|
393 |
|
454 |
|
394 |
|
455 |
|
|
|
||
401 |
|
462 |
|
402 |
|
463 |
|
403 |
|
464 |
|
404 |
|
|
|
405 |
|
|
|
406 |
|
|
|
407 |
|
|
|
|
465 |
|
|
|
466 |
|
|
|
467 |
|
|
408 |
|
468 |
|
409 |
|
469 |
|
410 |
|
470 |
|
411 |
|
|
|
412 |
|
|
|
413 |
|
|
|
414 |
|
|
|
|
471 |
|
|
|
472 |
|
|
|
473 |
|
|
|
474 |
|
|
|
475 |
|
|
|
476 |
|
|
415 |
|
477 |
|
416 |
|
478 |
|
417 |
|
479 |
|
418 |
|
480 |
|
419 |
|
|
|
|
481 |
|
|
420 |
|
482 |
|
421 |
|
483 |
|
422 |
|
484 |
|
423 |
|
485 |
|
424 |
|
|
|
425 |
|
|
|
|
486 |
|
|
|
487 |
|
|
426 |
|
488 |
|
427 |
|
489 |
|
428 |
|
|
|
429 |
|
|
|
|
490 |
|
|
|
491 |
|
|
430 |
|
492 |
|
431 |
|
493 |
|
432 |
|
|
|
433 |
|
|
|
|
494 |
|
|
|
495 |
|
|
|
496 |
|
|
434 |
|
497 |
|
435 |
|
498 |
|
436 |
|
499 |
|
|
|
||
451 |
|
514 |
|
452 |
|
515 |
|
453 |
|
516 |
|
454 |
|
|
|
455 |
|
|
|
456 |
|
|
|
|
517 |
|
|
|
518 |
|
|
|
519 |
|
|
457 |
|
520 |
|
458 |
|
521 |
|
459 |
|
522 |
|
460 |
|
|
|
461 |
|
|
|
462 |
|
|
|
463 |
|
|
|
|
523 |
|
|
|
524 |
|
|
|
525 |
|
|
|
526 |
|
|
|
527 |
|
|
464 |
|
528 |
|
|
529 |
|
|
465 |
|
530 |
|
466 |
|
531 |
|
467 |
|
|
|
|
532 |
|
|
468 |
|
533 |
|
469 |
|
534 |
|
470 |
|
535 |
|
471 |
|
|
|
472 |
|
|
|
|
536 |
|
|
|
537 |
|
|
473 |
|
538 |
|
474 |
|
539 |
|
475 |
|
540 |
|
|
|
||
483 |
|
548 |
|
484 |
|
549 |
|
485 |
|
550 |
|
486 |
|
|
|
487 |
|
|
|
|
551 |
|
|
|
552 |
|
|
488 |
|
553 |
|
489 |
|
554 |
|
490 |
|
555 |
|
491 |
|
556 |
|
492 |
|
|
|
493 |
|
|
|
|
557 |
|
|
|
558 |
|
|
494 |
|
559 |
|
495 |
|
560 |
|
496 |
|
561 |
|
497 |
|
562 |
|
|
563 |
|
|
498 |
|
564 |
|
499 |
|
565 |
|
500 |
|
566 |
|
501 |
|
567 |
|
502 |
|
568 |
|
503 |
|
|
|
|
569 |
|
|
504 |
|
570 |
|
505 |
|
571 |
|
506 |
|
572 |
|
|
|
||
513 |
|
579 |
|
514 |
|
580 |
|
515 |
|
581 |
|
516 |
|
|
|
517 |
|
|
|
|
582 |
|
|
|
583 |
|
|
518 |
|
584 |
|
519 |
|
585 |
|
520 |
|
586 |
|
521 |
|
|
|
522 |
|
|
|
|
587 |
|
|
|
588 |
|
|
|
589 |
|
|
523 |
|
590 |
|
524 |
|
591 |
|
525 |
|
592 |
|
526 |
|
593 |
|
527 |
|
|
|
|
594 |
|
|
528 |
|
595 |
|
529 |
|
596 |
|
530 |
|
597 |
|
|
|
||
538 |
|
605 |
|
539 |
|
606 |
|
540 |
|
607 |
|
541 |
|
|
|
542 |
|
|
|
|
608 |
|
|
|
609 |
|
|
543 |
|
610 |
|
544 |
|
611 |
|
545 |
|
612 |
|
546 |
|
|
|
547 |
|
|
|
|
613 |
|
|
|
614 |
|
|
|
615 |
|
|
548 |
|
616 |
|
549 |
|
617 |
|
550 |
|
618 |
|
551 |
|
|
|
|
619 |
|
|
552 |
|
620 |
|
553 |
|
621 |
|
554 |
|
622 |
|
|
|
||
577 |
|
645 |
|
578 |
|
646 |
|
579 |
|
647 |
|
|
648 |
|
|
580 |
|
649 |
|
581 |
|
650 |
|
582 |
|
651 |
|
|
|
||
588 |
|
657 |
|
589 |
|
658 |
|
590 |
|
659 |
|
591 |
|
|
|
|
660 |
|
|
|
661 |
|
|
592 |
|
662 |
|
593 |
|
663 |
|
594 |
|
664 |
|
595 |
|
665 |
|
596 |
|
|
|
597 |
|
|
|
|
666 |
|
|
|
667 |
|
|
|
668 |
|
|
598 |
|
669 |
|
599 |
|
670 |
|
600 |
|
|
|
|
671 |
|
|
601 |
|
672 |
|
602 |
|
673 |
|
603 |
|
674 |
|
604 |
|
|
|
605 |
|
|
|
|
675 |
|
|
|
676 |
|
|
|
677 |
|
|
|
678 |
|
|
|
679 |
|
|
|
680 |
|
|
606 |
|
681 |
|
607 |
|
682 |
|
608 |
|
|
|
|
683 |
|
|
609 |
|
684 |
|
610 |
|
685 |
|
611 |
|
686 |
|
612 |
|
687 |
|
613 |
|
688 |
|
614 |
|
689 |
|
615 |
|
|
|
|
690 |
|
|
616 |
|
691 |
|
617 |
|
692 |
|
618 |
|
693 |
|
619 |
|
|
|
620 |
|
|
|
621 |
|
|
|
622 |
|
|
|
623 |
|
|
|
|
694 |
|
|
|
695 |
|
|
624 |
|
696 |
|
625 |
|
697 |
|
626 |
|
698 |
|
|
|
||
633 |
|
705 |
|
634 |
|
706 |
|
635 |
|
707 |
|
|
708 |
|
|
636 |
|
709 |
|
637 |
|
710 |
|
638 |
|
711 |
|
|
|
||
643 |
|
716 |
|
644 |
|
717 |
|
645 |
|
718 |
|
|
719 |
|
|
|
720 |
|
|
|
721 |
|
|
|
722 |
|
|
646 |
|
723 |
|
647 |
|
724 |
|
648 |
|
725 |
|
|
|
||
319 |
|
319 |
|
320 |
|
320 |
|
321 |
|
321 |
|
|
322 |
|
|
|
323 |
|
|
322 |
|
324 |
|
323 |
|
325 |
|
324 |
|
326 |
|
|
|
||
358 |
|
360 |
|
359 |
|
361 |
|
360 |
|
362 |
|
|
363 |
|
|
|
364 |
|
|
361 |
|
365 |
|
362 |
|
366 |
|
363 |
|
367 |
|
|
|
||
365 |
|
369 |
|
366 |
|
370 |
|
367 |
|
371 |
|
368 |
|
|
|
369 |
|
|
|
370 |
|
372 |
|
371 |
|
373 |
|
372 |
|
374 |
|