[PATCH 2/2] powerpc/powernv: Add more BPF in defconfig

Michael Ellerman mpe at ellerman.id.au
Tue Feb 7 11:10:16 AEDT 2017


Michael Neuling <mikey at neuling.org> writes:

> This enables BCC (https://github.com/iovisor/bcc) on powernv.
>
> This adds 225KB to the vmlinux size.
>
> Signed-off-by: Michael Neuling <mikey at neuling.org>
> ---
>  arch/powerpc/configs/powernv_defconfig | 5 +++++
>  1 file changed, 5 insertions(+)
>
> diff --git a/arch/powerpc/configs/powernv_defconfig b/arch/powerpc/configs/powernv_defconfig
> index 7028dbc753..911b43e2c7 100644
> --- a/arch/powerpc/configs/powernv_defconfig
> +++ b/arch/powerpc/configs/powernv_defconfig
> @@ -29,6 +29,7 @@ CONFIG_CGROUP_CPUACCT=y
>  CONFIG_CGROUP_PERF=y
>  CONFIG_USER_NS=y
>  CONFIG_BLK_DEV_INITRD=y
> +CONFIG_BPF_SYSCALL=y
>  # CONFIG_COMPAT_BRK is not set
>  CONFIG_PROFILING=y
>  CONFIG_OPROFILE=y
> @@ -79,6 +80,10 @@ CONFIG_NETFILTER=y
>  # CONFIG_NETFILTER_ADVANCED is not set
>  CONFIG_BRIDGE=m
>  CONFIG_VLAN_8021Q=m
> +CONFIG_NET_SCHED=y
> +CONFIG_NET_CLS_BPF=y
> +CONFIG_NET_CLS_ACT=y
> +CONFIG_NET_ACT_BPF=y

I'm inclined to make these =m.

I assume that would still work for bcc?

cheers


More information about the Linuxppc-dev mailing list