Repository navigation
Commit a4e76f1
samples/bpf: xdp_redirect_cpu_user: Do not update bpf maps in option loop
Do not update xdp_redirect_cpu maps running while option loop but
defer it after all available options have been parsed. This is a
preliminary patch to pass the program name we want to attach to the
map entries as a user option
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Jesper Dangaard Brouer <brouer@redhat.com>
Link: https://lore.kernel.org/bpf/95dc46286fd2c609042948e04bb7ae1f5b425538.1594734381.git.lorenzo@kernel.org1 parent daa5cdc commit a4e76f1
1 file changed
Lines changed: 27 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
681 | 681 | | |
682 | 682 | | |
683 | 683 | | |
| 684 | + | |
684 | 685 | | |
685 | 686 | | |
686 | 687 | | |
| |||
716 | 717 | | |
717 | 718 | | |
718 | 719 | | |
| 720 | + | |
| 721 | + | |
| 722 | + | |
| 723 | + | |
| 724 | + | |
| 725 | + | |
| 726 | + | |
719 | 727 | | |
720 | 728 | | |
721 | 729 | | |
| |||
760 | 768 | | |
761 | 769 | | |
762 | 770 | | |
763 | | - | |
764 | | - | |
| 771 | + | |
765 | 772 | | |
766 | 773 | | |
767 | 774 | | |
| |||
772 | 779 | | |
773 | 780 | | |
774 | 781 | | |
| 782 | + | |
775 | 783 | | |
776 | 784 | | |
777 | 785 | | |
| |||
784 | 792 | | |
785 | 793 | | |
786 | 794 | | |
787 | | - | |
| 795 | + | |
| 796 | + | |
788 | 797 | | |
789 | 798 | | |
790 | 799 | | |
791 | 800 | | |
792 | 801 | | |
793 | 802 | | |
794 | | - | |
| 803 | + | |
| 804 | + | |
795 | 805 | | |
796 | 806 | | |
| 807 | + | |
| 808 | + | |
| 809 | + | |
797 | 810 | | |
798 | 811 | | |
799 | 812 | | |
800 | 813 | | |
801 | 814 | | |
802 | 815 | | |
803 | 816 | | |
804 | | - | |
| 817 | + | |
| 818 | + | |
805 | 819 | | |
806 | 820 | | |
807 | 821 | | |
808 | 822 | | |
809 | 823 | | |
810 | | - | |
| 824 | + | |
| 825 | + | |
811 | 826 | | |
812 | 827 | | |
813 | 828 | | |
814 | 829 | | |
815 | | - | |
| 830 | + | |
| 831 | + | |
816 | 832 | | |
817 | 833 | | |
818 | 834 | | |
819 | 835 | | |
820 | 836 | | |
821 | | - | |
| 837 | + | |
822 | 838 | | |
823 | 839 | | |
824 | 840 | | |
825 | 841 | | |
826 | | - | |
| 842 | + | |
| 843 | + | |
| 844 | + | |
827 | 845 | | |
0 commit comments