[meta-virtualization] [PATCH] enable kernel CONFIG_NET_ACT_POLICE for openvswitch

Bruce Ashfield bruce.ashfield at gmail.com
Fri Jan 12 07:38:34 PST 2018


merged.

Bruce

On Thu, Dec 28, 2017 at 8:21 PM, Hongzhi.Song
<hongzhi.song at windriver.com> wrote:
> Setting 'CONFIG_NET_ACT_POLICE=m' meets demands of Qos,one of features of openswitch.
> This is a new police-mechanism called action-extension.
> It can build act_police.c into kernel as type of module.
> If you want to do traffic policing, a kind of action-extension, i.e. strict bandwidth limiting.
> This action replaces the existing policing module.
> User can set action-extension at userspace by tool of openvswitch
>
> If user set action-extension, exts->actions[i] will be called, and finally tcf_police()
> defined at act_police.c will be called.
>
> Signed-off-by: Hongzhi.Song <hongzhi.song at windriver.com>
> ---
>  recipes-kernel/linux/linux-yocto/vswitch.cfg | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/recipes-kernel/linux/linux-yocto/vswitch.cfg b/recipes-kernel/linux/linux-yocto/vswitch.cfg
> index 0067504..b1fefc0 100644
> --- a/recipes-kernel/linux/linux-yocto/vswitch.cfg
> +++ b/recipes-kernel/linux/linux-yocto/vswitch.cfg
> @@ -1,2 +1,3 @@
>  CONFIG_OPENVSWITCH=m
>  CONFIG_NET_SCH_INGRESS=m
> +CONFIG_NET_ACT_POLICE=m
> --
> 2.13.3
>
> --
> _______________________________________________
> meta-virtualization mailing list
> meta-virtualization at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-virtualization



-- 
"Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end"


More information about the meta-virtualization mailing list