summaryrefslogtreecommitdiffstats
path: root/src/plugins/gbp/gbp_fwd.c
diff options
context:
space:
mode:
authorNeale Ranns <nranns@cisco.com>2019-03-04 01:37:43 -0800
committerNeale Ranns <nranns@cisco.com>2019-03-04 01:37:43 -0800
commitf90bcee0944064fbe99571b772eef4baba32152e (patch)
treefc8e3f7b1c46745ff3915aa827ad564ae6648f56 /src/plugins/gbp/gbp_fwd.c
parent6fa5dac5fe9699c5eeed383c5bcb3f08507e1548 (diff)
GBP: fix UT after multi-arch change
Change-Id: I09c400d71b3c973341fd79fe9b6709592d96822c Signed-off-by: Neale Ranns <nranns@cisco.com>
Diffstat (limited to 'src/plugins/gbp/gbp_fwd.c')
-rw-r--r--src/plugins/gbp/gbp_fwd.c34
1 files changed, 0 insertions, 34 deletions
diff --git a/src/plugins/gbp/gbp_fwd.c b/src/plugins/gbp/gbp_fwd.c
index 8d98f1cd365..dd393980038 100644
--- a/src/plugins/gbp/gbp_fwd.c
+++ b/src/plugins/gbp/gbp_fwd.c
@@ -29,40 +29,6 @@ typedef struct gbp_fwd_main_t_
static gbp_fwd_main_t gbp_fwd_main;
-gbp_policy_main_t gbp_policy_main;
-
-void
-gbp_learn_enable (u32 sw_if_index, gbb_learn_mode_t mode)
-{
- if (GBP_LEARN_MODE_L2 == mode)
- {
- l2input_intf_bitmap_enable (sw_if_index, L2INPUT_FEAT_GBP_LEARN, 1);
- }
- else
- {
- vnet_feature_enable_disable ("ip4-unicast",
- "gbp-learn-ip4", sw_if_index, 1, 0, 0);
- vnet_feature_enable_disable ("ip6-unicast",
- "gbp-learn-ip6", sw_if_index, 1, 0, 0);
- }
-}
-
-void
-gbp_learn_disable (u32 sw_if_index, gbb_learn_mode_t mode)
-{
- if (GBP_LEARN_MODE_L2 == mode)
- {
- l2input_intf_bitmap_enable (sw_if_index, L2INPUT_FEAT_GBP_LEARN, 0);
- }
- else
- {
- vnet_feature_enable_disable ("ip4-unicast",
- "gbp-learn-ip4", sw_if_index, 0, 0, 0);
- vnet_feature_enable_disable ("ip6-unicast",
- "gbp-learn-ip6", sw_if_index, 0, 0, 0);
- }
-}
-
static clib_error_t *
gbp_fwd_init (vlib_main_t * vm)
{