Intel virtual function NICs almost work with the use of "legacy" transmit and receive descriptors (which are backwards compatible right back to the original Intel Gigabit NICs). Unfortunately the "TX switching" feature (which allows for VM<->VM traffic to be looped back within the NIC itself) does not work when a legacy TX descriptor is used: the packet is instead sent onto the wire. Fix by allowing for the use of an "advanced" TX descriptor (containing exactly the same information as is found in the "legacy" descriptor). Signed-off-by: Michael Brown <mcb30@ipxe.org>tags/v1.20.1
|
|
||
347 |
|
347 |
|
348 |
|
348 |
|
349 |
|
349 |
|
|
350 |
|
|
|
351 |
|
|
|
352 |
|
|
|
353 |
|
|
|
354 |
|
|
|
355 |
|
|
|
356 |
|
|
|
357 |
|
|
|
358 |
|
|
|
359 |
|
|
|
360 |
|
|
|
361 |
|
|
|
362 |
|
|
|
363 |
|
|
|
364 |
|
|
|
365 |
|
|
|
366 |
|
|
|
367 |
|
|
|
368 |
|
|
|
369 |
|
|
|
370 |
|
|
|
371 |
|
|
|
372 |
|
|
|
373 |
|
|
|
374 |
|
|
|
375 |
|
|
|
376 |
|
|
|
377 |
|
|
|
378 |
|
|
|
379 |
|
|
|
380 |
|
|
|
381 |
|
|
|
382 |
|
|
|
383 |
|
|
|
384 |
|
|
|
385 |
|
|
|
386 |
|
|
|
387 |
|
|
|
388 |
|
|
|
389 |
|
|
|
390 |
|
|
|
391 |
|
|
|
392 |
|
|
|
393 |
|
|
|
394 |
|
|
|
395 |
|
|
|
396 |
|
|
|
397 |
|
|
|
398 |
|
|
|
399 |
|
|
|
400 |
|
|
|
401 |
|
|
|
402 |
|
|
|
403 |
|
|
|
404 |
|
|
|
405 |
|
|
|
406 |
|
|
|
407 |
|
|
|
408 |
|
|
|
409 |
|
|
|
410 |
|
|
350 |
|
411 |
|
351 |
|
412 |
|
352 |
|
413 |
|
|
|
||
457 |
|
518 |
|
458 |
|
519 |
|
459 |
|
520 |
|
460 |
|
|
|
461 |
|
|
|
462 |
|
|
|
463 |
|
|
|
|
521 |
|
|
464 |
|
522 |
|
465 |
|
523 |
|
466 |
|
524 |
|
|
|
||
602 |
|
660 |
|
603 |
|
661 |
|
604 |
|
662 |
|
|
663 |
|
|
605 |
|
664 |
|
606 |
|
665 |
|
607 |
|
666 |
|
|
|
||
614 |
|
673 |
|
615 |
|
674 |
|
616 |
|
675 |
|
617 |
|
|
|
618 |
|
|
|
619 |
|
|
|
620 |
|
|
|
621 |
|
|
|
|
676 |
|
|
|
677 |
|
|
622 |
|
678 |
|
623 |
|
679 |
|
624 |
|
680 |
|
|
|
||
629 |
|
685 |
|
630 |
|
686 |
|
631 |
|
687 |
|
632 |
|
|
|
|
688 |
|
|
633 |
|
689 |
|
634 |
|
690 |
|
635 |
|
691 |
|
|
|
||
652 |
|
708 |
|
653 |
|
709 |
|
654 |
|
710 |
|
655 |
|
|
|
|
711 |
|
|
656 |
|
712 |
|
657 |
|
713 |
|
658 |
|
714 |
|
|
|
||
683 |
|
739 |
|
684 |
|
740 |
|
685 |
|
741 |
|
686 |
|
|
|
|
742 |
|
|
687 |
|
743 |
|
688 |
|
744 |
|
689 |
|
745 |
|
|
|
||
693 |
|
749 |
|
694 |
|
750 |
|
695 |
|
751 |
|
696 |
|
|
|
|
752 |
|
|
697 |
|
753 |
|
698 |
|
|
|
699 |
|
|
|
|
754 |
|
|
|
755 |
|
|
700 |
|
756 |
|
701 |
|
757 |
|
702 |
|
758 |
|
|
|
||
811 |
|
867 |
|
812 |
|
868 |
|
813 |
|
869 |
|
814 |
|
|
|
815 |
|
|
|
|
870 |
|
|
|
871 |
|
|
|
872 |
|
|
|
873 |
|
|
816 |
|
874 |
|
817 |
|
875 |
|
818 |
|
876 |
|
|
|
||
22 |
|
22 |
|
23 |
|
23 |
|
24 |
|
24 |
|
25 |
|
|
|
26 |
|
|
|
|
25 |
|
|
|
26 |
|
|
27 |
|
27 |
|
28 |
|
28 |
|
29 |
|
29 |
|
30 |
|
|
|
31 |
|
|
|
32 |
|
|
|
33 |
|
|
|
34 |
|
|
|
|
30 |
|
|
35 |
|
31 |
|
36 |
|
32 |
|
37 |
|
|
|
38 |
|
|
|
39 |
|
|
|
40 |
|
|
|
41 |
|
|
|
42 |
|
|
|
43 |
|
|
|
44 |
|
|
|
45 |
|
|
|
|
33 |
|
|
|
34 |
|
|
|
35 |
|
|
46 |
|
36 |
|
47 |
|
|
|
48 |
|
|
|
49 |
|
|
|
50 |
|
|
|
51 |
|
|
|
|
37 |
|
|
|
38 |
|
|
|
39 |
|
|
|
40 |
|
|
|
41 |
|
|
|
42 |
|
|
|
43 |
|
|
|
44 |
|
|
|
45 |
|
|
|
46 |
|
|
|
47 |
|
|
|
48 |
|
|
|
49 |
|
|
|
50 |
|
|
|
51 |
|
|
|
52 |
|
|
|
53 |
|
|
|
54 |
|
|
|
55 |
|
|
|
56 |
|
|
52 |
|
57 |
|
53 |
|
58 |
|
54 |
|
59 |
|
|
|
||
209 |
|
214 |
|
210 |
|
215 |
|
211 |
|
216 |
|
|
217 |
|
|
|
218 |
|
|
|
219 |
|
|
|
220 |
|
|
|
221 |
|
|
|
222 |
|
|
|
223 |
|
|
|
224 |
|
|
|
225 |
|
|
212 |
|
226 |
|
213 |
|
227 |
|
214 |
|
228 |
|
|
|
||
217 |
|
231 |
|
218 |
|
232 |
|
219 |
|
233 |
|
|
234 |
|
|
220 |
|
235 |
|
221 |
|
236 |
|
222 |
|
|
|
223 |
|
|
|
|
237 |
|
|
|
238 |
|
|
|
239 |
|
|
|
240 |
|
|
224 |
|
241 |
|
225 |
|
242 |
|
|
243 |
|
|
226 |
|
244 |
|
227 |
|
245 |
|
228 |
|
246 |
|
|
|
||
278 |
|
296 |
|
279 |
|
297 |
|
280 |
|
298 |
|
|
299 |
|
|
|
300 |
|
|
|
301 |
|
|
|
302 |
|
|
|
303 |
|
|
|
304 |
|
|
281 |
|
305 |
|
282 |
|
306 |
|
283 |
|
307 |
|
|
|
||
396 |
|
396 |
|
397 |
|
397 |
|
398 |
|
398 |
|
399 |
|
|
|
400 |
|
|
|
|
399 |
|
|
|
400 |
|
|
|
401 |
|
|
|
402 |
|
|
401 |
|
403 |
|
402 |
|
404 |
|
403 |
|
405 |
|