[dpdk-dev] [PATCH] net/tap: fix build issue with ARM32

Thomas Monjalon thomas at monjalon.net
Wed Jan 31 12:19:06 CET 2018


31/01/2018 11:38, Ophir Munk:
> From: Jerin Jacob [mailto:jerin.jacob at caviumnetworks.com]
> > > arm architecture is missing is file drivers/tap/tap_bpf.h I suggest
> > > adding it, for example
> > >
> > > # elif defined(__arm__)
> > > #  define __NR_bpf 386
[...]
> > I am not sure, Is eBPF support available for arm32 support?
> 
> TAP 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. 
> Thus, there is no harm even if there is no eBPF support available for arm32.
> 
> You should enable TAP compilation for cases where you only need TAP without eBPF.

Ophir, please send a patch.


More information about the dev mailing list