enable kernel CONFIG_NET_ACT_POLICE for openvswitch
PATCH 1/1 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 <[email protected]>
--- recipes-kernel/linux/linux-yocto/vswitch.cfg | 1 + 1 file changed, 1 insertion(+)
recipes-kernel/linux/linux-yocto/vswitch.cfg +1 -0
@@ -1,2 +1,3 @@ CONFIG_OPENVSWITCH=m CONFIG_NET_SCH_INGRESS=m +CONFIG_NET_ACT_POLICE=m
Signature · 1 line
2.13.3