Several use cases (e.g. the UNDI API and the EFI SNP API) require access to the raw network device receive queue, and so currently use manual calls to netdev_poll() on a specific network device in order to prevent received packets from being processed by the network stack. As an alternative, provide a flag that allows receive queue processing to be frozen on a per-device basis. When receive queue processing is frozen, packets will be enqueued as normal, but will not be automatically dequeued and passed up the network stack. Signed-off-by: Michael Brown <mcb30@ipxe.org>tags/v1.20.1
|
|
||
343 |
|
343 |
|
344 |
|
344 |
|
345 |
|
345 |
|
|
346 |
|
|
|
347 |
|
|
|
348 |
|
|
346 |
|
349 |
|
347 |
|
350 |
|
348 |
|
351 |
|
|
|
||
505 |
|
508 |
|
506 |
|
509 |
|
507 |
|
510 |
|
508 |
|
|
|
|
511 |
|
|
509 |
|
512 |
|
510 |
|
513 |
|
511 |
|
514 |
|
|
|
||
516 |
|
519 |
|
517 |
|
520 |
|
518 |
|
521 |
|
519 |
|
|
|
|
522 |
|
|
520 |
|
523 |
|
521 |
|
524 |
|
522 |
|
525 |
|
523 |
|
526 |
|
524 |
|
527 |
|
525 |
|
528 |
|
|
529 |
|
|
|
530 |
|
|
|
531 |
|
|
|
532 |
|
|
|
533 |
|
|
|
534 |
|
|
|
535 |
|
|
|
536 |
|
|
|
537 |
|
|
|
538 |
|
|
|
539 |
|
|
526 |
|
540 |
|
527 |
|
541 |
|
528 |
|
542 |
|
|
|
||
550 |
|
564 |
|
551 |
|
565 |
|
552 |
|
566 |
|
|
567 |
|
|
553 |
|
568 |
|
554 |
|
569 |
|
555 |
|
570 |
|
|
|
||
585 |
|
600 |
|
586 |
|
601 |
|
587 |
|
602 |
|
|
603 |
|
|
|
604 |
|
|
|
605 |
|
|
|
606 |
|
|
|
607 |
|
|
|
608 |
|
|
|
609 |
|
|
|
610 |
|
|
|
611 |
|
|
|
612 |
|
|
|
613 |
|
|
|
614 |
|
|
|
615 |
|
|
|
616 |
|
|
|
617 |
|
|
|
618 |
|
|
|
619 |
|
|
|
620 |
|
|
|
621 |
|
|
|
622 |
|
|
588 |
|
623 |
|
|
|
||
669 |
|
669 |
|
670 |
|
670 |
|
671 |
|
671 |
|
672 |
|
|
|
673 |
|
|
|
674 |
|
|
|
|
672 |
|
|
675 |
|
673 |
|
676 |
|
674 |
|
677 |
|
675 |
|
678 |
|
676 |
|
679 |
|
|
|
|
677 |
|
|
680 |
|
678 |
|
681 |
|
679 |
|
682 |
|
680 |
|
|
|
||
691 |
|
689 |
|
692 |
|
690 |
|
693 |
|
691 |
|
|
692 |
|
|
|
693 |
|
|
|
694 |
|
|
|
695 |
|
|
|
696 |
|
|
|
697 |
|
|
|
698 |
|
|
|
699 |
|
|
|
700 |
|
|
694 |
|
701 |
|
695 |
|
702 |
|
696 |
|
703 |
|
|
|
||
723 |
|
730 |
|
724 |
|
731 |
|
725 |
|
732 |
|
|
733 |
|
|
|
734 |
|
|
|
735 |
|
|
|
736 |
|
|
|
737 |
|
|
|
738 |
|
|
|
739 |
|
|
|
740 |
|
|
|
741 |
|
|
726 |
|
742 |
|
727 |
|
743 |
|
728 |
|
744 |
|