[<prev] [next>] [day] [month] [year] [list]
Message-ID: <CAADnVQLSK6384Ljx0DtUgYmVBUwz1DC5Kwt=x_uGgHM31_YS4Q@mail.gmail.com>
Date: Thu, 5 Feb 2015 12:34:07 -0800
From: Alexei Starovoitov <alexei.starovoitov@...il.com>
To: Andy Zhou <azhou@...ira.com>
Cc: Thomas Graf <tgraf@...ronetworks.com>,
"dev@...nvswitch.com" <dev@...nvswitch.com>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>
Subject: Re: [ovs-dev] [RFC: add openvswitch actions using BPF 5/9] bpf: add
the first BPF program.
On Thu, Feb 5, 2015 at 11:16 AM, Andy Zhou <azhou@...ira.com> wrote:
>>> +bpf/ovs-actions.bpf: $(srcdir)/bpf/ovs-actions.c $(DEP_FILES)
>>> + $(AM_V_GEN)clang -DHAVE_CONFIG_H $(BPF_INCLUDES) $(NOSTDINC_FLAGS) \
>>> + $(AM_CFLAGS) $(EXTRA_CFLAGS) -Wno-unused-value -Wno-pointer-sign \
>>> + -O2 -emit-llvm -c $< -o -| $(LLC) -filetype=obj -o $@
>>
>> I assume you will convert this to a Makefile template
> Yes. It needs to be addressed. Not sure if additional changes are
> required now that
> BPF backend is merged into LLVM upstream,
Once llvm 3.7 is released the command line will be shorter,
since single command 'clang --target=bpf file.c' will do the job.
but that's minor.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists