瀏覽代碼

tools include uapi: Synchronize bpf.h with the kernel

To pick the rename in:

  bd3a08aaa9a3 ("bpf: flowlabel in bpf_fib_lookup should be flowinfo")

Silencing this build warning:

  Warning: Kernel ABI header at 'tools/include/uapi/linux/bpf.h' differs from latest version at 'include/uapi/linux/bpf.h'

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Alexei Starovoitov <ast@kernel.org>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: https://lkml.kernel.org/n/tip-zd1sgtbybtjrrt7bqdybu0s0@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Arnaldo Carvalho de Melo 7 年之前
父節點
當前提交
f568b47281
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tools/include/uapi/linux/bpf.h

+ 1 - 1
tools/include/uapi/linux/bpf.h

@@ -2630,7 +2630,7 @@ struct bpf_fib_lookup {
 	union {
 	union {
 		/* inputs to lookup */
 		/* inputs to lookup */
 		__u8	tos;		/* AF_INET  */
 		__u8	tos;		/* AF_INET  */
-		__be32	flowlabel;	/* AF_INET6 */
+		__be32	flowinfo;	/* AF_INET6, flow_label + priority */
 
 
 		/* output: metric of fib result (IPv4/IPv6 only) */
 		/* output: metric of fib result (IPv4/IPv6 only) */
 		__u32	rt_metric;
 		__u32	rt_metric;