This reverts commit bd601b6ada11 ("bpf: report offload info to user space"). The ifindex by itself is not sufficient, we should provide information on which network namespace this ifindex belongs to. After considering some options we concluded that it's best to just remove this API for now, and rework it in -next.
Showing the changes to include/uapi/linux (1 of 4 files). Show all
Unified · Split
| @@ -897,10 +897,6 @@ enum sk_action { · 896 unmodified lines | ||
| 897 | 897 | |
| 898 | 898 | #define BPF_TAG_SIZE 8 |
| 899 | 899 | |
| 900 | −enum bpf_prog_status { | |
| 901 | − BPF_PROG_STATUS_DEV_BOUND = (1 << 0), | |
| 902 | −}; | |
| 903 | − | |
| 904 | 900 | struct bpf_prog_info { |
| 905 | 901 | __u32 type; |
| 906 | 902 | __u32 id; |
| @@ -914,8 +910,6 @@ struct bpf_prog_info { · 7 unmodified lines | ||
| 914 | 910 | __u32 nr_map_ids; |
| 915 | 911 | __aligned_u64 map_ids; |
| 916 | 912 | char name[BPF_OBJ_NAME_LEN]; |
| 917 | − __u32 ifindex; | |
| 918 | − __u32 status; | |
| 919 | 913 | } __attribute__((aligned(8))); |
| 920 | 914 | |
| 921 | 915 | struct bpf_map_info { |