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

Hongzhi.Song hongzhi.song at windriver.com
Thu Dec 28 17:34:45 PST 2017


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



More information about the meta-virtualization mailing list