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>
This commit is contained in:
Hongzhi.Song 2017-12-28 20:34:45 -05:00 committed by Bruce Ashfield
parent dc3e72a8f4
commit d00a92ac19

View File

@ -1,2 +1,3 @@
CONFIG_OPENVSWITCH=m
CONFIG_NET_SCH_INGRESS=m
CONFIG_NET_ACT_POLICE=m