From d00a92ac19a66f0ed32c9b26686ac8d279691a46 Mon Sep 17 00:00:00 2001 From: "Hongzhi.Song" Date: Thu, 28 Dec 2017 20:34:45 -0500 Subject: enable kernel CONFIG_NET_ACT_POLICE for openvswitch 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 Signed-off-by: Bruce Ashfield --- 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 00675042..b1fefc0c 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 -- cgit v1.2.3-54-g00ecf