diff options
author | Brian Russell <brian@graphiant.com> | 2021-02-17 15:45:56 +0000 |
---|---|---|
committer | Neale Ranns <neale@graphiant.com> | 2021-02-19 10:45:13 +0000 |
commit | 15c18e3e40d3bf754e5b6969c7478ad9f1d5e95b (patch) | |
tree | 4debf697900a23661adc7668203b579063acf523 /src/vnet/policer/policer.c | |
parent | 428a442a5c00892795f24c6634c0b00d3eaa26d1 (diff) |
policer: add policing as device-input feature
Add input per-interface policing as an input feature, repurposing
vnet_policer_inline which formermly allowed input policing to be
configured via a CLI.
Type: improvement
Signed-off-by: Brian Russell <brian@graphiant.com>
Change-Id: I2fd00e964ae358a05e507c844f5476372124fae1
Diffstat (limited to 'src/vnet/policer/policer.c')
-rw-r--r-- | src/vnet/policer/policer.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/vnet/policer/policer.c b/src/vnet/policer/policer.c index f6a19f40020..fb2ce7598fa 100644 --- a/src/vnet/policer/policer.c +++ b/src/vnet/policer/policer.c @@ -592,9 +592,6 @@ clib_error_t * policer_init (vlib_main_t * vm) { vnet_policer_main_t *pm = &vnet_policer_main; - void vnet_policer_node_funcs_reference (void); - - vnet_policer_node_funcs_reference (); pm->vlib_main = vm; pm->vnet_main = vnet_get_main (); |