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
897 897
898#define BPF_TAG_SIZE 8898#define BPF_TAG_SIZE 8
899 899
900enum bpf_prog_status {
901 BPF_PROG_STATUS_DEV_BOUND = (1 << 0),
902};
903
904struct bpf_prog_info {900struct bpf_prog_info {
905 __u32 type;901 __u32 type;
906 __u32 id;902 __u32 id;
@@ -914,8 +910,6 @@ struct bpf_prog_info { · 7 unmodified lines
914 __u32 nr_map_ids;910 __u32 nr_map_ids;
915 __aligned_u64 map_ids;911 __aligned_u64 map_ids;
916 char name[BPF_OBJ_NAME_LEN];912 char name[BPF_OBJ_NAME_LEN];
917 __u32 ifindex;
918 __u32 status;
919} __attribute__((aligned(8)));913} __attribute__((aligned(8)));
920 914
921struct bpf_map_info {915struct bpf_map_info {