Skip to contentSkip to conversation

enable kernel CONFIG_NET_ACT_POLICE for openvswitch

PATCH New Hongzhi.Song 1 participant 1 message Dec 29, 2017

lore
Share & tools
lore
#0 lore raw

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.

---
 recipes-kernel/linux/linux-yocto/vswitch.cfg | 1 +
 1 file changed, 1 insertion(+)
recipes-kernel/linux/linux-yocto/vswitch.cfg +1 -0
index 0067504..b1fefc0 100644
@@ -1,2 +1,3 @@
 CONFIG_OPENVSWITCH=m
 CONFIG_NET_SCH_INGRESS=m
+CONFIG_NET_ACT_POLICE=m
Signature · 1 line
2.13.3