From f1bd293ff209740e36aedf835ede3882eeac5a29 Mon Sep 17 00:00:00 2001 From: Ruslan Babayev Date: Mon, 31 May 2021 20:23:57 -0700 Subject: nat: fix broken nat44-ed cli snat_set_frame_queue_nelts has been replaced with nat44_ed_set_frame_queue_nelts. Type: fix Signed-off-by: Ruslan Babayev Change-Id: I8d970be71376fdbb2bfd383d4d5824a8def93bb3 --- src/plugins/nat/nat44-ed/nat44_ed.h | 9 --------- src/plugins/nat/nat44-ed/nat44_ed_cli.c | 2 +- 2 files changed, 1 insertion(+), 10 deletions(-) (limited to 'src/plugins/nat/nat44-ed') 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 @@ -953,15 +953,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 * 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; -- cgit 1.2.3-korg