diff options
Diffstat (limited to 'include/uapi/linux/bpf.h')
-rw-r--r-- | include/uapi/linux/bpf.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/uapi/linux/bpf.h b/include/uapi/linux/bpf.h index 405317f9c064..7c2259e8bc54 100644 --- a/include/uapi/linux/bpf.h +++ b/include/uapi/linux/bpf.h | |||
@@ -245,6 +245,7 @@ union bpf_attr { | |||
245 | * BPF_F_NUMA_NODE is set). | 245 | * BPF_F_NUMA_NODE is set). |
246 | */ | 246 | */ |
247 | char map_name[BPF_OBJ_NAME_LEN]; | 247 | char map_name[BPF_OBJ_NAME_LEN]; |
248 | __u32 map_ifindex; /* ifindex of netdev to create on */ | ||
248 | }; | 249 | }; |
249 | 250 | ||
250 | struct { /* anonymous struct used by BPF_MAP_*_ELEM commands */ | 251 | struct { /* anonymous struct used by BPF_MAP_*_ELEM commands */ |
@@ -899,7 +900,7 @@ struct xdp_md { | |||
899 | __u32 data; | 900 | __u32 data; |
900 | __u32 data_end; | 901 | __u32 data_end; |
901 | __u32 data_meta; | 902 | __u32 data_meta; |
902 | /* Below access go though struct xdp_rxq_info */ | 903 | /* Below access go through struct xdp_rxq_info */ |
903 | __u32 ingress_ifindex; /* rxq->dev->ifindex */ | 904 | __u32 ingress_ifindex; /* rxq->dev->ifindex */ |
904 | __u32 rx_queue_index; /* rxq->queue_index */ | 905 | __u32 rx_queue_index; /* rxq->queue_index */ |
905 | }; | 906 | }; |