History

bpf: revert report offload info to user space

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.

Jakub Kicinski committed 8 years ago

Commit 1ee64001 parent 51aa4234 files · +0 −24Browse files

Showing the changes to include/uapi/linux (1 of 4 files). Show all

Unified · Split

include/uapi/linux/bpf.h+0−6
@@ -897,10 +897,6 @@ enum sk_action { · 896 unmodified lines
897897
898898 #define BPF_TAG_SIZE 8
899899
900−enum bpf_prog_status {
901− BPF_PROG_STATUS_DEV_BOUND = (1 << 0),
902−};
903−
904900 struct bpf_prog_info {
905901 __u32 type;
906902 __u32 id;
@@ -914,8 +910,6 @@ struct bpf_prog_info { · 7 unmodified lines
914910 __u32 nr_map_ids;
915911 __aligned_u64 map_ids;
916912 char name[BPF_OBJ_NAME_LEN];
917− __u32 ifindex;
918− __u32 status;
919913 } __attribute__((aligned(8)));
920914
921915 struct bpf_map_info {