summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHongzhi.Song <hongzhi.song@windriver.com>2017-12-28 20:34:45 -0500
committerBruce Ashfield <bruce.ashfield@windriver.com>2018-01-12 10:37:48 -0500
commitd00a92ac19a66f0ed32c9b26686ac8d279691a46 (patch)
treecad408716cf602cacfe7eb0c8f7f352d7affb8e5
parentdc3e72a8f487f917aaec853228f42dcd2b0a4e5b (diff)
downloadmeta-virtualization-d00a92ac19a66f0ed32c9b26686ac8d279691a46.tar.gz
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 <hongzhi.song@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
-rw-r--r--recipes-kernel/linux/linux-yocto/vswitch.cfg1
1 files changed, 1 insertions, 0 deletions
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 @@
1CONFIG_OPENVSWITCH=m 1CONFIG_OPENVSWITCH=m
2CONFIG_NET_SCH_INGRESS=m 2CONFIG_NET_SCH_INGRESS=m
3CONFIG_NET_ACT_POLICE=m