[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20190118231831.t6mgd5qxmt4vdlbx@ast-mbp.dhcp.thefacebook.com>
Date: Fri, 18 Jan 2019 15:18:34 -0800
From: Alexei Starovoitov <alexei.starovoitov@...il.com>
To: Martin Lau <kafai@...com>
Cc: Daniel Borkmann <daniel@...earbox.net>,
"ast@...nel.org" <ast@...nel.org>,
"gilson@...oo.com" <gilson@...oo.com>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>
Subject: Re: [PATCH bpf] bpf: pull in pkt_sched.h header for tooling to fix
bpftool build
On Thu, Jan 17, 2019 at 07:20:51PM +0000, Martin Lau wrote:
> On Thu, Jan 17, 2019 at 04:15:09PM +0100, Daniel Borkmann wrote:
> > Dan reported that bpftool does not compile for him:
> >
> > $ make tools/bpf
> > DESCEND bpf
> >
> > Auto-detecting system features:
> > .. libbfd: [ on ]
> > .. disassembler-four-args: [ OFF ]
> >
> > DESCEND bpftool
> >
> > Auto-detecting system features:
> > .. libbfd: [ on ]
> > .. disassembler-four-args: [ OFF ]
> >
> > CC /opt/linux.git/tools/bpf/bpftool/net.o
> > In file included from /opt/linux.git/tools/include/uapi/linux/pkt_cls.h:6:0,
> > from /opt/linux.git/tools/include/uapi/linux/tc_act/tc_bpf.h:14,
> > from net.c:13:
> > net.c: In function 'show_dev_tc_bpf':
> > net.c:164:21: error: 'TC_H_CLSACT' undeclared (first use in this function)
> > handle = TC_H_MAKE(TC_H_CLSACT, TC_H_MIN_INGRESS);
> > [...]
> >
> > Fix it by importing pkt_sched.h header copy into tooling
> > infrastructure.
> Acked-by: Martin KaFai Lau <kafai@...com>
Applied, Thanks
Powered by blists - more mailing lists