diff options
Diffstat (limited to 'src/plugins/nat/nat44-ed')
-rw-r--r-- | src/plugins/nat/nat44-ed/nat44_ed.h | 9 | ||||
-rw-r--r-- | src/plugins/nat/nat44-ed/nat44_ed_cli.c | 2 |
2 files changed, 1 insertions, 10 deletions
diff --git a/src/plugins/nat/nat44-ed/nat44_ed.h b/src/plugins/nat/nat44-ed/nat44_ed.h index 91b3645254e..bbd5a148ed2 100644 --- a/src/plugins/nat/nat44-ed/nat44_ed.h +++ b/src/plugins/nat/nat44-ed/nat44_ed.h @@ -954,15 +954,6 @@ clib_error_t *nat44_api_hookup (vlib_main_t * vm); int snat_set_workers (uword * bitmap); /** - * @brief Set NAT plugin number of frame queue elements - * - * @param frame_queue_nelts number of worker handoff frame queue elements - * - * @return 0 on success, non-zero value otherwise - */ -int snat_set_frame_queue_nelts (u32 frame_queue_nelts); - -/** * @brief Enable/disable NAT44 feature on the interface * * @param sw_if_index software index of the interface diff --git a/src/plugins/nat/nat44-ed/nat44_ed_cli.c b/src/plugins/nat/nat44-ed/nat44_ed_cli.c index 8ded7eebe7f..1d54f99d113 100644 --- a/src/plugins/nat/nat44-ed/nat44_ed_cli.c +++ b/src/plugins/nat/nat44-ed/nat44_ed_cli.c @@ -1545,7 +1545,7 @@ set_frame_queue_nelts_command_fn (vlib_main_t *vm, unformat_input_t *input, error = clib_error_return (0, "frame_queue_nelts cannot be zero"); goto done; } - if (snat_set_frame_queue_nelts (frame_queue_nelts) != 0) + if (nat44_ed_set_frame_queue_nelts (frame_queue_nelts) != 0) { error = clib_error_return (0, "snat_set_frame_queue_nelts failed"); goto done; |