> From: dev [mailto:[email protected]] On Behalf Of Ophir Munk > Sent: Tuesday, January 23, 2018 9:54 PM > To: [email protected]; Pascal Mazon <[email protected]> > Cc: Thomas Monjalon <[email protected]>; Olga Shern <[email protected]>; > Ophir Munk <[email protected]> > Subject: [dpdk-dev] [PATCH v1] net/tap: use local eBPF definitions > > eBPF has a graceful approach: it must successfully compile on all Linux > distributions. If a specific kernel cannot support eBPF it will gracefully > refuse the eBPF netlink message sent to it. > The kernel header file linux/bpf.h (if present) on different Linux > distributions may not include all definitions required for TAP > compilation. > In order to guarantee a successful eBPF compilation everywhere all the > required definitions for TAP have been locally added instead of including > file <linux/bpf.h> > > Signed-off-by: Ophir Munk <[email protected]>
Tested on a Fedora 20 vm, uname -r = 3.15.6-200.fc20.x86_64 Confirmed before patch was failing, with patch build is fixed. Tested-by: Harry van Haaren <[email protected]>

